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!