FunctionSpace on BoundaryMesh does not work in parallel

Issue #14 resolved
Øyvind Evju created an issue
from dolfin import *

mesh = UnitCubeMesh(3,3,3)

bdry = BoundaryMesh(mesh, "exterior")

V = FunctionSpace(bdry, "DG", 0)
print V.dim()

When running this code in parallel (mpirun -n 2 python foo.py) this has V.dim() == 0.

It works fine on a single process, and it also works when writing the BoundaryMesh to file in serial, and then reading it in parallel.

Comments (5)

  1. Øyvind Evju reporter

    I have found that the global indices are the same as the local indices for the boundary mesh, so the BoundaryMesh doesn't seem to recognize that it is distributed?

    Any ideas on this? Any workarounds maybe?

  2. Jan Blechta

    With master this even fails with Signal code: Integer divide-by-zero somewhere in DofMapBuilder::compute_node_ownership.

  3. Log in to comment