← Back to team overview

dolfin team mailing list archive

Mesh refine

 

I haven't looked at the new mesh refine code, but I'm not too keen on
the interface. It was neat to do

  Mesh mesh("lshape.xml.gz");
  mesh = refine(mesh);

Doing the above, there is no compile time error, but there is a runtime
error. Now we have to do

  Mesh mesh0("lshape.xml.gz");
  Mesh& mesh = refine(mesh0);

which I think is a bit clumsy. How can I refine a mesh easily if I'm not
interested in keeping a hierarchy?

Garth



Follow ups