dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #06949
Re: further demo problems
Ilmar Wilbers skrev den 31/03-2008 følgende:
> demo/mesh/meshfunction/python
> demo/mesh/partitioning/python
> demo/mesh/refinement/python
> demo/pde/dg/python
> demo/pde/mixed-poisson/python
> The plot is only displayed a few milliseconds (Viper problem).
>
> demo/mesh/subdomains/cpp
> demo/mesh/subdomains/python
> Maybe give some output from running the program? Like: 'generated file
> subdomains.xml'?
>
> demo/ode
> Demos are not compiled, do not follow the directory structure of the
> other demos, and don't work.
>
> demo/pde/convection-diffusion/python
> ...
> Applying boundary conditions to linear system.
> Traceback (most recent call last):
> File "demo.py", line 65, in <module>
> solve(A, u1.vector(), b)
> File "/usr/local/lib/python2.5/site-packages/dolfin/dolfin.py", line
> 3683, in solve
> return _dolfin.solve(*args)
> TypeError: in method 'solve', argument 2 of type 'dolfin::Vector &'
>
> demo/pde/elasticity/cpp
> The plot looks completely weird! Python version gives the correct plot.
This looks fine here. Sure you have latest versions (and installed)?
Ola
> demo/pde/mixed-poisson/python
> demo/pde/stokes/stabilized/python
> ...
> Ordering mesh entities...
> swig/python detected a memory leak of type 'SubFunction *', no
> destructor found.
>
> demo/pde/periodic/python
> ...
> Applying boundary conditions to linear system.
> Traceback (most recent call last):
> File "demo.py", line 68, in <module>
> u = pde.solve()
> File "/usr/local/lib/python2.5/site-packages/dolfin/assemble.py",
> line 193, 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)
>
> demo/pde/stokes/stabilized/python
> demo/pde/stokes/taylor-hood/python
> Only the second of two plot is displayed.
>
> demo/quadrature/python
> ilmarw@*****:python$ python demo.py lobatto 10
> Traceback (most recent call last):
> File "demo.py", line 43, in <module>
> sys.exit(main(sys.argv[1:]))
> File "demo.py", line 33, in main
> q = LobattoQuadrature(n);
> NameError: global name 'LobattoQuadrature' is not defined
>
> In addition, there are a few 'fix me' demos.
>
> ilmar
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References