I am using dolfin version 1.6.0 on a ubuntu 14.04. FEniCs is install from ppa-repository.
I am trying to create a spherical mesh. But somehow this does not work out
import dolfin
import mshr
center = dolfin.Point()
sphere = mshr.Sphere(center, 1.0)
mesh = dolfin.mesh(sphere, 20)
I am getting the following error: TypeError: 'module' object is not callable
.
Is the mshr
not supported in my current version?