On Mon, Oct 13, 2008 at 08:10:35AM -0600, Ostien, Jakob T wrote: > Hi, > > Is it currently possible to set the boundary condition search specification > in PyDOLFIN? > > in cpp > DirichletBC bc(function, mesh, subdomain, geometric); > > in PyDOLFIN > bc = DirichletBC(function, mesh, subdomain, geometric) > > this gives > NameError: name 'geometric' is not defined > > (same for pointwise) > > Jake
Does it work if you instead write dolfin.geometric? In that case, it's a simple fix to include it in the __init__.py file for DOLFIN (site-packages/dolfin/__init__.py). -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
