On Tue, Sep 29, 2009 at 06:44:49PM +0100, Garth N. Wells wrote: > Is it safe to insert MeshEntities into STL containers, e.g. > > std::vector<Cell*> > std::vector<Cell*>
Yes, but it doesn't make much sense. A Cell is just a reference to a Mesh, the dimension of the mesh and an index, so you would be storing a lot of extra data. -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev