While trying to add mesh to MeshDomains I get an error because the method: MeshDomains::mesh_function
is static preventing me to access member data. Why is this method static? Johan On 02/11/2013 09:00 AM, Johan Hake wrote: > I am adding some functionality to MeshDomains, (actually to SubMesh, > which soon also propagates MeshDomains to the new mesh), and wonder if > there where any good reasons why a MeshDomain does not have a pointer to > the parent mesh? > > If such was provided during construction we could skip the annoying mesh > argument in: > > facets_domains = mesh.domains().facet_domains(mesh) > > Johan > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp