[Trilinos-Users] info on SumIntoGlobalValues for CsrFEMatrix

Riccardo Rossi rrossi at cimne.upc.edu
Thu Feb 19 03:14:07 MST 2009


Dear all,
    i have been trying, without much success, to find more info on how
to perform a "standard FE assembly".

suppose i have the matrix

1 2 3
3 4 5
6 7 8

i would like to sum this to a global matrix say at the indices
100
-1
1000

with this i mean that i would like to assemble the first and third
column as
A(100,100) += 1
A(100,1000)+= 3
A(1000,100)+= 6
A(1000,1000)+=8
(i suppose those entries exist)
while i would like the second row and column NOT to be assembles (i
marked it as -1 for this reason)

I know of course that i could create a 
temp = 1 3
       6 8

and assemble it at the enries 100 1000 ... but this does not look as the
optimal solution


does it exist any way of doing this efficiently using
"SumIntoGlobalValues"? (something like marking with -1 as i did ... ) 


thanks in advance
Riccardo




-  
________________________________________________________________
Riccardo Rossi, Ph.D, Civil Engineer
member of the Kratos Group: kratos.cimne.upc.es
Centro Internacional de Métodos Numéricos en Ingeniería (CIMNE)
Universidad Politécnica de Cataluña (UPC)
Edificio C-1, campus Norte UPC
Gran Capitan, s/n
08034 Barcelona, España
Tel. (+34) 93 401 73 99
________________________________________________________________

AVISO IMPORTANTE

Los datos de carácter personal contenidos en el mensaje, se registrarán
en un fichero para facilitar la gestión de las comunicaciones de CIMNE.
Se pueden ejercitar los derechos de acceso, rectificación, cancelación y
oposición por escrito, dirigiéndose a nuestras oficinas de CIMNE, Gran
Capitán s/n,  Edificio C1 - Campus Norte UPC, 08034 Barcelona, España.

AVÍS IMPORTANT

Les dades de caràcter personal contingudes en aquest missatge es
registraran en un fitxer per facilitar la gestió de les comunicacions
del CIMNE. Es poden exercir els drets d'accés, rectificació,
cancel·lació i oposició, per escrit a les nostres oficines del CIMNE,
Gran Capità s/n, Edifici C1, Campus Nord UPC, 08034 Barcelona, Espanya.

IMPORTANT NOTICE

All personal data contained in this mail will be processed
confidentially and stored in a file property of CIMNE in order to manage
corporate communications. You may exercise the right of access,
rectification, deletion and objection by letter sent to CIMNE, Gran
Capitán, Edificio C1 - Campus Norte UPC, 08034 Barcelona, Spain.



On Sun, 2009-02-15 at 12:00 -0700,
trilinos-users-request at software.sandia.gov wrote:
> Send Trilinos-Users mailing list submissions to
> 	trilinos-users at software.sandia.gov
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://software.sandia.gov/mailman/listinfo/trilinos-users
> or, via email, send a message with subject or body 'help' to
> 	trilinos-users-request at software.sandia.gov
> 
> You can reach the person managing the list at
> 	trilinos-users-owner at software.sandia.gov
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Trilinos-Users digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Trilinos-Users Digest, Vol 42, Issue 5 (rrossi at cimne.upc.edu)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 14 Feb 2009 21:00:39 +0100 (CET)
> From: rrossi at cimne.upc.edu
> Subject: Re: [Trilinos-Users] Trilinos-Users Digest, Vol 42, Issue 5
> To: trilinos-users at software.sandia.gov
> Message-ID:
> 	<34958.79.150.49.217.1234641639.squirrel at webmail.cimne.upc.es>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hi,
>       PyTrilinos also needs swig and numeric/numpy so you also need to add
> those packages for Ubuntu
> 
> greetings
> Riccardo
> 
>  Send Trilinos-Users mailing list submissions to
> > 	trilinos-users at software.sandia.gov
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 	http://software.sandia.gov/mailman/listinfo/trilinos-users
> > or, via email, send a message with subject or body 'help' to
> > 	trilinos-users-request at software.sandia.gov
> >
> > You can reach the person managing the list at
> > 	trilinos-users-owner at software.sandia.gov
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Trilinos-Users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Trilinos prerequesites on Ubuntu 8.10/AMD 64 (Scott Askey)
> >    2. Re: Trilinos prerequesites on Ubuntu 8.10/AMD 64 (Kurtis Nusbaum)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Fri, 13 Feb 2009 03:29:08 -0800 (PST)
> > From: "Scott Askey" <scotta_2002 at yahoo.com>
> > Subject: [Trilinos-Users] Trilinos prerequesites on Ubuntu 8.10/AMD 64
> > To: trilinos-users at software.sandia.gov
> > Message-ID: <534287.63163.qm at web36506.mail.mud.yahoo.com>
> > Content-Type: text/plain; charset=us-ascii
> >
> > I just had to reinstall my os and lost my package list.  Can anyone
> > suggest the list of pacakges I need to install on an AMD_64/Ubuntu_8.10
> > box to expedite building Nox and Pytrilinos.  In the past I have had
> > trouble selecting the correct BLAS/LAPACK/ATLAS Fortran varieties.
> >
> > apt-get .... ?
> >
> > V/R
> >
> > Scott
> >
> >
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Fri, 13 Feb 2009 12:48:39 -0600
> > From: "Kurtis Nusbaum" <klnusbaum at gmail.com>
> > Subject: Re: [Trilinos-Users] Trilinos prerequesites on Ubuntu
> > 	8.10/AMD 64
> > To: scotta_2002 at yahoo.com
> > Cc: trilinos-users at software.sandia.gov
> > Message-ID:
> > 	<7b4ecb930902131048s77cb3b14x8113e8ffa680f892 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I'm also running trilinos on AMD64/Ubuntu 8.10. Most of the stuff you need
> > is just in the packages gcc, g++, and gfortran. But I'm pretty sure you
> > also
> > need the libblas-dev and liblapack-dev. So I think:
> >
> > sudo apt-get install gcc g++ gfortran libblas-dev liblapack-dev
> >
> > should take care of everything. IYou should have most of these installed
> > already any way. I think inorder to get Trilinos to compile for me, the
> > only
> > packages I had to explicitly install was gfortran. The rest were already
> > installed for me. If you plan on using MPI you should also install those
> > packages.
> >
> > -Kurtis
> >
> > On Fri, Feb 13, 2009 at 5:29 AM, Scott Askey <scotta_2002 at yahoo.com>
> > wrote:
> >
> >> I just had to reinstall my os and lost my package list.  Can anyone
> >> suggest
> >> the list of pacakges I need to install on an AMD_64/Ubuntu_8.10 box to
> >> expedite building Nox and Pytrilinos.  In the past I have had trouble
> >> selecting the correct BLAS/LAPACK/ATLAS Fortran varieties.
> >>
> >> apt-get .... ?
> >>
> >> V/R
> >>
> >> Scott
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Trilinos-Users mailing list
> >> Trilinos-Users at software.sandia.gov
> >> http://software.sandia.gov/mailman/listinfo/trilinos-users
> >>
> >>
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://software.sandia.gov/mailman/private/trilinos-users/attachments/20090213/09a9c860/attachment-0001.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > Trilinos-Users mailing list
> > Trilinos-Users at software.sandia.gov
> > http://software.sandia.gov/mailman/listinfo/trilinos-users
> >
> >
> > End of Trilinos-Users Digest, Vol 42, Issue 5
> > *********************************************
> >
> >
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
> 
> 
> End of Trilinos-Users Digest, Vol 42, Issue 6
> *********************************************
> 





More information about the Trilinos-Users mailing list