dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07242
demos
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
Follow ups