On Mon, Jan 18, 2010 at 09:47:38PM +0100, Andre Massing wrote:
Hi,
I am looking for suitable container in C++ (list, vector, array,
something ordered, not a set) which is suitable to contain (shared)
pointer or references to meshes *and* is willing to nicely interplay
with the swig built python interface. I just want to pass a list of
meshes to a constructor of a class. Is there any suitable classes
around DOLFIN? Or it is now easy to wrap a say
std::vector<boost::shared_ptr<Mesh> > or something similiar?
Regards,
Andre
I think the dolfin::Array class is the best option.