UnitIntervalMesh.create does not make use of the communicator

Issue #1014 resolved
Marco Morandini created an issue

This code

from dolfin import *
#mesh = UnitIntervalMesh.create(1) # rightly not working in parallel
mesh = UnitIntervalMesh.create(MPI.comm_self, 1) # this should work

should work, also in parallel.

The fix requires to pass the communicator in dolfin/generation/IntervalMesh.h:65 and add a python wrapper.

Comments (3)

  1. Log in to comment