← Back to team overview

dolfin team mailing list archive

Re: [HG] PyDOLFIN:

 


DOLFIN wrote:
> One or more new changesets pushed to the primary DOLFIN repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   2194:e09a35a5a15dbfe5023c8c9ebfe7fd58b592854b
> tag:         tip
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Wed Aug 30 18:13:05 2006 +0200
> files:       src/demo/scripting/pydolfin/solvers/stokes/stokessolver.py src/pydolfin/dolfin.py src/pydolfin/dolfin_la.i src/pydolfin/dolfin_wrap.cpp src/pydolfin/dolfin_wrap.h
> description:
> PyDOLFIN:
> 
> Small fixes for uBlas, verified as working. The PyDOLFIN elasticity
> demo requires some extra linear algebra operations which don't exist
> yet in the uBlas interface. The PyDOLFIN Stokes demo doesn't converge
> with the Krylov/ILU solver (zero pivot in ILU).
> 
>

You need to apply a diagonal shift. Try

  set("Krylov shift nonzero", 1e-10)

Garth



> changeset:   2193:690db87710419ef24ec7af4b3a4c1ac9fe00cc84
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Wed Aug 30 17:19:05 2006 +0200
> files:       src/demo/scripting/pydolfin/solvers/elasticity/Elasticity.form src/demo/scripting/pydolfin/solvers/elasticity/elasticitysolver.py src/demo/scripting/pydolfin/solvers/stokes/stokessolver.py src/kernel/io/VTKFile.cpp src/pydolfin/dolfin.i src/pydolfin/dolfin.py src/pydolfin/dolfin_wrap.cpp
> description:
> PyDOLFIN:
> 
> Verified to work with PETSc. Added plotting to demos and made small
> fixes. Still need to introduce Constant concept in FFC and DOLFIN to
> make constant coefficients work in PyDOLFIN.
> 
> IO:
> 
> Bug fix in VTK format, write as Float64 (double precision) instead of
> Float32.
> 
> 
> changeset:   2192:237226eaeb76a28a5a3ecb5660ca544e75c6db20
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Wed Aug 30 16:06:33 2006 +0200
> files:       Makefile.in configure configure.ac src/Makefile.in src/bench/Makefile.in src/bench/fem/Makefile.in src/bench/la/Makefile.in src/bench/ode/Makefile.in src/config/Makefile.in src/demo/Makefile.in src/demo/fem/Makefile.in src/demo/nls/Makefile.in src/demo/ode/Makefile.in src/demo/ode/homotopy/Makefile.in src/demo/pde/Makefile.in src/demo/pde/nonlinear/Makefile.in src/demo/pde/stokes/Makefile.in src/demo/scripting/Makefile.in src/demo/scripting/pydolfin/solvers/poisson/poissonsolver.py src/demo/solvers/Makefile.in src/demo/solvers/navierstokes/Makefile.in src/greeting/Makefile.in src/kernel/Makefile.in src/kernel/common/Makefile.in src/kernel/common/dolfin/Makefile.in src/kernel/fem/Makefile.in src/kernel/fem/dolfin/Makefile.in src/kernel/form/Makefile.in src/kernel/form/dolfin/Makefile.in src/kernel/function/Makefile.in src/kernel/function/dolfin/Makefile.in src/kernel/io/Makefile.in src/kernel/io/dolfin/Makefile.in src/kernel/la/Makefile.in src/kernel/la/dolfin/M
ak
>  efile.in src/kernel/log/Makefile.in src/kernel/log/dolfin/Makefile.in src/kernel/main/Makefile.in src/kernel/main/dolfin/Makefile.in src/kernel/math/Makefile.in src/kernel/math/dolfin/Makefile.in src/kernel/mesh/Makefile.in src/kernel/mesh/dolfin/Makefile.in src/kernel/mf/dolfin/Makefile.in src/kernel/nls/Makefile.in src/kernel/nls/dolfin/Makefile.in src/kernel/ode/Makefile.in src/kernel/ode/dolfin/Makefile.in src/kernel/parameter/Makefile.in src/kernel/parameter/dolfin/Makefile.in src/kernel/pde/Makefile.in src/kernel/pde/dolfin/Makefile.in src/kernel/quadrature/Makefile.in src/kernel/quadrature/dolfin/Makefile.in src/lib/Makefile.in src/modules/Makefile.in src/modules/convdiff/Makefile.in src/modules/convdiff/dolfin/Makefile.in src/modules/dolfin/Makefile.in src/modules/elasticity-updated/Makefile.in src/modules/elasticity-updated/dolfin/Makefile.in src/modules/elasticity/Makefile.in src/modules/elasticity/dolfin/Makefile.in src/modules/heat/Makefile.in src/modules/heat/
do
>  lfin/Makefile.in src/modules/navierstokes/Makefile.in src/modules/navierstokes/dolfin/Makefile.in src/modules/poisson/Makefile.in src/modules/poisson/dolfin/Makefile.in src/modules/stokes/Makefile.in src/modules/stokes/dolfin/Makefile.in src/post/Makefile.in src/pre/Makefile.in src/pydolfin/Makefile.am src/pydolfin/Makefile.in src/pydolfin/dolfin.i src/pydolfin/dolfin.py src/pydolfin/dolfin_wrap.cpp src/pydolfin/dolfin_wrap.h src/utils/Makefile.in src/utils/convert/Makefile.in src/utils/inp2dx/Makefile.in
> description:
> Build/PyDOLFIN:
> 
> Extract compiler definitions, needed for PyDOLFIN for example. Added
> plotting to PyDOLFIN Poisson demo.
> 
> 
> -------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 




References