dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07256
Re: demos
On Tue, Apr 08, 2008 at 02:26:55PM +0200, Ilmar Wilbers wrote:
> Hi,
>
> I am working on including the demos for testing. I get this error for
> pde/periodic/python:
> ilmarw@multiboot:~/dolfin/demo/pde/periodic/python$ p demo.py
> Creating sub domain markers for boundary condition.
> Initializing PETSc (ignoring command-line arguments).
> Solving linear PDE.
> Found form in cache, reusing previously built module (checksum
> 91ffc990761af924b08fc502278060d6)
> Ordering mesh entities...
> Assembling over cells (finished)
> Found form in cache, reusing previously built module (checksum
> 00edfededc9fce1468865785d9deeff6)
> Ordering mesh entities...
> Assembling over cells (finished)
> Found form in cache, reusing previously built module (checksum
> 91ffc990761af924b08fc502278060d6)
> Computing Dirichlet boundary values (finished)
> Applying boundary conditions to linear system.
> Traceback (most recent call last):
> File "demo.py", line 68, in <module>
> u = pde.solve()
> File "/tmp/lib/python2.5/site-packages/dolfin/assemble.py", line 191,
> in solve
> cpp_DirichletBC.apply(bc, A, b, self.dof_maps.sub(1), compiled_form)
> TypeError: unbound method apply() must be called with cpp_DirichletBC
> instance as first argument (got PeriodicBC instance instead)
>
> ilmar
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Should be fixed now.
Periodic boundary conditions were not fixed in Python before.
--
Anders
References
-
demos
From: Ilmar Wilbers, 2008-04-08