[Trilinos-Users] more on replace global values

Williams, Alan B william at sandia.gov
Mon Feb 7 13:30:49 MST 2011


Riccardo,
Yes, in a future trilinos release we can add an optional argument to the GlobalAssemble method where the user can specify Insert instead of Add, which would accomplish your desired change on line 552.

Alan


From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of rrossi at cimne.upc.edu
Sent: Monday, February 07, 2011 1:22 PM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] more on replace global values


dear alan, michael,

    writing again as the time difference makes comm slow, and i would like to optimize time.

having a look at the source here

http://trilinos.sandia.gov/packages/docs/r7.0/packages/epetra/browser/doc/html/Epetra__FECrsMatrix_8cpp-source.html



am i correct saying that the only change is to replace add with insert (or the option chosen) on line 552?



 will try it at work tomorrow, but assuming this is true, how shuld i proceed? patch my version and expect a future trilinos release or derive a new class?

have to check if it is possible to do this outside of the epetra lib, and inside our code.



in any case thx

Riccardo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110207/69070629/attachment.html 


More information about the Trilinos-Users mailing list