On Tue, Mar 12, 2013 at 11:31 AM, Roy Stogner <[email protected]>wrote:
> > On Tue, 12 Mar 2013, John Peterson wrote: > > On Tue, Mar 12, 2013 at 11:13 AM, Manav Bhatia <[email protected] >> >wrote: >> >> Should I be iterating over the pid_nodes or the active_nodes if my >>> intention is to set the values of dof on each node for output. >>> >> >> Neither. You should be checking to see if a given dof lies between the >> first_local_dof and last_local_dof on a processor before trying to set it >> directly. >> > > For problems with lots of variables it should be a tiny bit more > efficient to just test the DofObject::processor_id(); we never put > dofs on a processor other than the one where their DofObject lives. > OK, good, wasn't totally sure about this. -- John ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
