dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10803
[HG DOLFIN] The _ufc_form is now stored as a shared_ptr.
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 5200:fd6d25e161b2c4aa37104211219fc12fa1b3e31a
tag: tip
user: "Johan Hake <hake@xxxxxxxxx>"
date: Tue Nov 25 09:53:54 2008 +0100
files: bench/fem/assembly/cpp/forms/Elasticity3D.h bench/fem/assembly/cpp/forms/NSEMomentum3D.h bench/fem/assembly/cpp/forms/Poisson2DP1.h bench/fem/assembly/cpp/forms/Poisson2DP2.h bench/fem/assembly/cpp/forms/Poisson2DP3.h bench/fem/assembly/cpp/forms/StabStokes2D.h bench/fem/assembly/cpp/forms/THStokes2D.h bench/fem/convergence/Poisson2D_1.h bench/fem/convergence/Poisson2D_2.h bench/fem/convergence/Poisson2D_3.h bench/fem/convergence/Poisson2D_4.h bench/fem/convergence/Poisson2D_5.h bench/fem/convergence/Poisson3D_1.h bench/fem/convergence/Poisson3D_2.h bench/fem/convergence/Poisson3D_3.h bench/fem/convergence/Poisson3D_4.h bench/fem/convergence/Poisson3D_5.h bench/fem/passembly/Nonlinear2D.h bench/fem/passembly/Poisson.h bench/fem/passembly/Poisson3D_1.h bench/la/sparse-matrix/Poisson.h bench/la/sparse-matrix/VectorPoisson.h demo/fem/assembly/cpp/ReactionDiffusion.h demo/function/eval/cpp/Projection.h demo/nls/cahn-hilliard/cpp/CahnHilliard2D.cpp demo/nls/cahn-hilliard/cpp/CahnHilliard2D.h demo/nls/cahn-hilliard/cpp/CahnHilliard3D.cpp demo/nls/cahn-hilliard/cpp/CahnHilliard3D.h demo/nls/nonlinearpoisson/cpp/NonlinearPoisson.h demo/pde/bcs/cpp/Poisson.h demo/pde/convection-diffusion/cpp/ConvectionDiffusion.h demo/pde/dg/advection_diffusion/cpp/AdvectionDiffusion.h demo/pde/dg/advection_diffusion/cpp/OutflowFacet.h demo/pde/dg/advection_diffusion/cpp/Projection.h demo/pde/dg/poisson/cpp/P1Projection.h demo/pde/dg/poisson/cpp/Poisson.h demo/pde/elasticity/cpp/Elasticity.h demo/pde/functional/cpp/EnergyNorm.h demo/pde/lift-drag/cpp/Drag.h demo/pde/lift-drag/cpp/Lift.h demo/pde/mixed-poisson/cpp/MixedPoisson.h demo/pde/mixed-poisson/cpp/P1Projection.h demo/pde/nonlinear-poisson/cpp/NonlinearPoisson.h demo/pde/nonlinear-poisson/cpp/NonlinearPoisson.py demo/pde/periodic/cpp/Poisson.h demo/pde/poisson/cpp/Poisson.h demo/pde/poisson1D/cpp/Poisson.h demo/pde/stokes/stabilized/cpp/Stokes.h demo/pde/stokes/taylor-hood/cpp/Stokes.h demo/pde/sym-dirichlet-bc/cpp/Poisson.h demo/pde/waveguide/cpp/Forms.h demo/pde/waveguide/cpp/Forms.py dolfin/ale/Poisson1D.h dolfin/ale/Poisson2D.h dolfin/ale/Poisson3D.h dolfin/elements/ffc_L2proj_00.h dolfin/elements/ffc_L2proj_01.h dolfin/elements/ffc_L2proj_02.h dolfin/elements/ffc_L2proj_03.h dolfin/elements/ffc_L2proj_04.h dolfin/elements/ffc_L2proj_05.h dolfin/elements/ffc_L2proj_06.h dolfin/elements/ffc_L2proj_07.h dolfin/elements/ffc_L2proj_08.h dolfin/elements/ffc_L2proj_09.h dolfin/elements/ffc_L2proj_10.h dolfin/elements/ffc_L2proj_11.h dolfin/elements/ffc_L2proj_12.h dolfin/elements/ffc_L2proj_13.h dolfin/elements/ffc_L2proj_14.h dolfin/elements/ffc_L2proj_15.h dolfin/elements/ffc_L2proj_16.h dolfin/elements/ffc_L2proj_17.h dolfin/elements/ffc_L2proj_18.h dolfin/elements/ffc_L2proj_19.h dolfin/elements/ffc_L2proj_20.h dolfin/elements/ffc_L2proj_21.h dolfin/elements/ffc_L2proj_22.h dolfin/elements/ffc_L2proj_23.h dolfin/elements/ffc_L2proj_24.h dolfin/fem/Form.cpp dolfin/fem/Form.h dolfin/mf/ffc-forms/ConvectionMatrix2D.h dolfin/mf/ffc-forms/ConvectionMatrix3D.h dolfin/mf/ffc-forms/LoadVector2D.h dolfin/mf/ffc-forms/LoadVector3D.h dolfin/mf/ffc-forms/MassMatrix2D.h dolfin/mf/ffc-forms/MassMatrix3D.h dolfin/mf/ffc-forms/StiffnessMatrix2D.h dolfin/mf/ffc-forms/StiffnessMatrix3D.h dolfin/swig/dolfin_common_post.i sandbox/ilmarw/assembler_bench/Elasticity_3D/Elasticity.h sandbox/ilmarw/assembler_bench/Elasticity_3D/Elasticity.py sandbox/ilmarw/assembler_bench/ICNS_3D_Momentum/NSEMomentum3D.h sandbox/ilmarw/assembler_bench/ICNS_3D_Momentum/NSEMomentum3D.py sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP1.h sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP1.py sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP2.h sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP2.py sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP3.h sandbox/ilmarw/assembler_bench/Laplace_2D/PoissonP3.py sandbox/ilmarw/assembler_bench/Stokes_2D_Stab/Stokes.h sandbox/ilmarw/assembler_bench/Stokes_2D_Stab/Stokes.py sandbox/ilmarw/assembler_bench/Stokes_2D_TH/Stokes.h sandbox/ilmarw/assembler_bench/Stokes_2D_TH/Stokes.py sandbox/ilmarw/test/Poisson.h sandbox/ilmarw/test/Poisson.py sandbox/la/hypre/Poisson.h sandbox/la/solve/Poisson.h sandbox/mtl4/mat_vec_mult_bench/NSEMomentum3D.h sandbox/mtl4/nse_bench/NSEMomentum3D.h sandbox/mtl4/op/Poisson.h sandbox/mtl4/poisson_bench/Poisson.h sandbox/mtl4/poisson_solve/Poisson.h sandbox/nonmatching/Simple.h sandbox/passembly-old/Poisson2D.h test/unit/function/cpp/Projection.h
description:
The _ufc_form is now stored as a shared_ptr.
Updated the constructor and recompiled forms to comply with this.
changeset: 5199:7883bf3fe4e0c2cf11e4c40030e2cbddd9b75186
user: "Johan Hake <hake@xxxxxxxxx>"
date: Tue Nov 25 00:30:49 2008 +0100
files: demo/pde/poisson/python/demo.py dolfin/swig/dolfin_common_post.i dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i site-packages/dolfin/__init__.py site-packages/dolfin/assemble.py site-packages/dolfin/compile_function.py site-packages/dolfin/function.py
description:
Heavy work on the python interface. Base line: we can now assemble a tensor.
Extended the compile function capabilities, and added thorough (I think ;))
documentation in Function docstring.
Assemble.py is up to date with the new FunctionSpace interface. A tensor is now
assembled using:
A = assemble(a)
An interface for precompiled ufc::forms is provided but not tested, a la suggestion
from Martin previously.
Poisson demo is a bit messy but it shows some of the new functionality.
changeset: 5198:ef8ca0398c5c800facff789762273add6a998c3a
user: "Johan Hake <hake@xxxxxxxxx>"
date: Tue Nov 25 00:25:14 2008 +0100
files: dolfin/swig/dolfin_function_pre.i dolfin/swig/dolfin_mesh_pre.i dolfin/swig/typemaps.i
description:
Python callback functions now works.
We are not using simple_array, but rather a specific director typemap that
depends on that it only kicks in for Function::eval(double* values, const double *x).
Therefore I had %ignore the SubDomain::inside(const double* x, bool on_boundary)
functions which is not used in the python interface.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin