dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21243
Mesh refine
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Thu, 03 Feb 2011 20:26:14 +0000
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
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