On Tue, 8 Feb 2011, Derek Gaston wrote:

> Is there a logic error on line 216 of system.C?  It is checking to
> see if AMR is enabled... and only then is the send_list prepared....
> but later in that function the send_list is used if ghosting is
> enabled.  Does that mean there is a problem if AMR is disabled but
> ghosting is turned on?

That #endif on 230 ought to be moved up 4 lines... but while it looks
like a logic error, I think it's just an efficiency error.
DofMap::distribute_dofs actually does the add_neighbors_to_send_list
call itself; prepare_send_list just sorts and removes duplicates.
---
Roy

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to