dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08545
[HG DOLFIN] Changed zero vector function syntax from (..., 3, zeros(3)) to (..., 3, 0.0)
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 4377:1f5a6c3eba204a732184ca54c1db14db0c7cda02
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Fri Jul 04 11:22:35 2008 +0200
files: demo/pde/elasticity/python/demo.py demo/pde/stokes/stabilized/python/demo.py demo/pde/stokes/taylor-hood/python/demo.py
description:
Changed zero vector function syntax from (..., 3, zeros(3)) to (..., 3, 0.0)
changeset: 4376:5355d8bde990fe5965105cbb42b4edb2b2117768
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Thu Jul 03 23:32:50 2008 +0200
files: demo/pde/elasticity/python/demo.py demo/pde/stokes/stabilized/python/demo.py demo/pde/stokes/taylor-hood/python/demo.py dolfin/function/Function.cpp dolfin/function/Function.h dolfin/swig/dolfin_function_pre.i
description:
Made python interface functional for constant vector functions, and updated python demos.
ALL CODE USING Function(mesh, 0.0) TO MEAN A VECTOR FUNCTION WILL BREAK!
I couldn't get the array->(size,values) typemap working, so the syntax is currently:
f = [cpp_]Function([element,] mesh, size, array)
e.g.
f = cpp_Function(mesh, 3, zeros(3))
changeset: 4375:f9e920160f763bdd1f08ae94dcfe86b12811a9de
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Thu Jul 03 16:40:13 2008 +0200
files: demo/pde/elasticity/cpp/main.cpp demo/pde/elasticity/python/demo.py demo/pde/stokes/stabilized/cpp/main.cpp demo/pde/stokes/stabilized/python/demo.py demo/pde/stokes/taylor-hood/cpp/main.cpp demo/pde/stokes/taylor-hood/python/demo.py dolfin/function/ConstantFunction.cpp dolfin/function/ConstantFunction.h dolfin/function/Function.cpp dolfin/function/Function.h site-packages/dolfin/assemble.py
description:
ConstantFunction improvements.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin