dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18116
[Question #107991]: Mesh format to indicate material indicators
New question #107991 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/107991
Hello,
I just shifted from dolfin 0.9.4 to the latest version. I am having problem getting material indicators from the mesh xml file. materialFunc is 0 after the following line:
MeshFunction<dolfin::uint> *materialFunc = mesh.data().mesh_function("material indicators");
My mesh xml file defines the vertices, cells, and then tries to define the material indicators by:
<data>
<data_entry name="material indicators">
<meshfunction name="material indicators" type="uint" dim="3" size="...">
Did the format change again, or am I missing something?
Thanks,
-Jehanzeb
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.