Indeed, you can now store a vector of cell accessors, such that the iterators of this vector can be used instead of the regular cell iterators in function templates.

Guido

On 8/20/2010 3:28 PM, Wolfgang Bangerth wrote:
On a related matter, can one assume that there is a one-to-one relationship
between a cell_iterator and a cell that persists even during mesh
refinement? That is, if I store a std::vector of cell_iterators prior to
refinement (say containing the cell_iterators of those inactive cells that
have all children marked for coarsening) will the contents still be valid
after refinement?
Yes, they should.

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to