dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10073
Re: BC specification in PyDOLFIN
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
Attachment:
signature.asc
Description: Digital signature
Follow ups
References