dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15543
[Bug 430040] Re: Use File objects to read meshes from file fails in parallel
Yes, that would be ok. In that case, we could make >> for Mesh private in the File class, and make Mesh a friend so
that it can be used from the Mesh constructor.
--
Use File objects to read meshes from file fails in parallel
https://bugs.launchpad.net/bugs/430040
You received this bug notification because you are subscribed to DOLFIN.
Status in DOLFIN: Confirmed
Bug description:
The following code does not create a distributed mesh in parallel:
File f("somemeshfile.xml");
Mesh mesh;
f >> mesh;
The following code works as expected, i.e. a distributed mesh in constructed:
Mesh mesh("somemeshfile.xml");
References