On Tue, 1 Jun 2010, Boyce Griffith wrote:

> Is there a mechanism to access the data stored in _dof_constraints, i.e., to 
> loop over the list of constrained rows?

   for (DofConstraints::const_iterator it=_dof_constraints.begin();
        it != _dof_constraints.end(); ++it)
     {
       unsigned int index = it->first;
       DofConstraintRow& row = it->second;

Basically DofConstraints is just a std::map, and even if we ever
change that we'll still support the STL-map-style iterators.
---
Roy

------------------------------------------------------------------------------

_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to