← Back to team overview

dolfin team mailing list archive

[Bug 430040] Re: Use File objects to read meshes from file fails in parallel

 

One option would be to keep operator>> as it is (reading the entire mesh on each processor).
It might be desirable to do so in some applications. So it could be a feature and not a bug. If we
issue a suitable warning that should be enough.

** Changed in: dolfin
       Status: New => Confirmed

-- 
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