Yes, you can. You should not assume any particular order (as that might change in the library over time), but you can safely assume that the order is the same for repeated loops.
Best, Tobias -----Ursprüngliche Nachricht----- Von: [email protected] im Auftrag von Andrew McBride Gesendet: Mo 02.08.2010 18:34 An: [email protected] Betreff: [deal.II] order of cell traversal Hi all Can one assume that the order that the (active) cells are traversed over in a loop such as: for (Triangulation<deal_II_dimension>::active_cell_iterator cell = tri.begin_active() ; cell != tri.end(); ++cell) is the always the same if the mesh has not been altered? I'm guessing not but hoping so. Many thanks Andrew _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
