So, in using this fine feature I believe I have found a bug.

When calling variable_first and variable_last they both return a value
stored in a vector _var_first_local_df. In looking at these routines, it
appears that _var_first_local_df should be a vector of length # of vars,
containing only the first dof for each. However, if you view the vector it
has length 2*(# of vars) and a form

a
b
b
c
c
d
d...

In looking where it gets defined in dof_map.C, in
DofMap::distribute_local_dofs_var_major, there is a push back at the
beginning of the loop and at the end, which appears to account for the extra
values.

Andrea
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to