[Trilinos-Users] Proposal concerning the ReplaceLocalValues

Williams, Alan B william at sandia.gov
Mon Feb 7 08:10:22 MST 2011


Riccardo,

The ReplaceGlobalValues method doesn't do the summation. The summation is done by the GlobalAssemble method when values are imported from other processors.

Perhaps the name of the ReplaceGlobalValues method is confusing. The 'Global' in the name refers to whether global vs local identifiers are used to specify rows/columns. The ReplaceGlobalValues method doesn't operate in parallel, it is a serial operation.

One thing we could do is add an option to the GlobalAssemble method to specify how the imported data is treated.

Alan


> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
> users-bounces at software.sandia.gov] On Behalf Of Riccardo Rossi
> Sent: Monday, February 07, 2011 4:49 AM
> To: trilinos-users at software.sandia.gov
> Subject: [Trilinos-Users] Proposal concerning the ReplaceLocalValues
> 
> Dear List,
> 
>     as pointed out last week, the ReplaceGlobalValues right now
> performs
> a sum of the non_local values to be replaced.
> 
>  Would it be possible to customize such behaviour so that for exampel
> one could prescribe the "maximum" or "minimum" value to be preserved?
> 
> in this way the result would be deterministic, and still an operation
> closer to the replace would be performed.
> 
> aside of this, i had a look to the code inside, and honestly i don't
> understand the current behaviour since a REPLACE is used inside the
> implementation. Can anyone point me to where the actual sum is
> performed?
> 
> thank you
> 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.
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list