This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Is it possible to create a mesh using mshr in parallel in fenics 2017.1.0?

0 votes

I am attempting to create a rectangular mesh with holes using mshr using the method discussed here : https://fenicsproject.org/qa/8450/mpi4py-how-to-disable-automatic-distribution-of-mesh
but doing so throws an error:

mshr._generate(mesh, domain, 30)
NameError: name 'mshr' is not defined

How has the approach changed for Fenics 2017.1.0?

Thanks!

asked Jun 27, 2017 by vivekkr1809 FEniCS Novice (510 points)
...