On Wed, Oct 8, 2008 at 1:15 PM, David Fuentes <[EMAIL PROTECTED]> wrote: > > Hello, > > > Could you please point me in the direction of the routines > that will take a processor's local solution vector > > > System::current_local_solution (proper syntax to refer to a class data > member?) > > and scatter the local solution to the parallel global solution vector > > System::solution
Hmm... It seems that we don't usually have values flowing that direction. Would it be possible for you to set values in the global vector directly, and then call close()? I normally have a loop on every processor that only sets a value if the index is local and ignores the rest. This requires O(N) rather than O(N/P) loop iterations, but it's easier to code IMO. Also, glancing through the NumericVector interface, it doesn't appear that we currently support such an operation. There's plenty of localize functions but not what you're looking for, which I guess would be called globalize()? -- John ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
