← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Move code to form.py and jit.py and add new Form class.

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   5237:41d8c4cbb41f51bc1b8c09c9cbb24604873d262f
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Thu Dec 04 20:39:39 2008 +0100
files:       demo/pde/poisson/python/demo.py dolfin/fem/Form.h site-packages/dolfin/assemble.py site-packages/dolfin/form.py site-packages/dolfin/jit.py
description:
Move code to form.py and jit.py and add new Form class.
Does not work yet.


changeset:   5236:e2fbfd6edb90b86e65ed0b3548aae4bfd6f2cc15
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu Dec 04 16:43:25 2008 +0000
files:       demo/pde/convection-diffusion/cpp/main.cpp
description:
Simplify convection-diffusion demo.


changeset:   5235:bc88eef9d6083ca46de6f836d1cf9e464715eade
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Thu Dec 04 14:07:28 2008 +0100
files:       dolfin/common/NoDeleter.h dolfin/fem/BoundaryCondition.cpp dolfin/fem/Form.cpp dolfin/fem/Form.h dolfin/function/Coefficient.cpp dolfin/function/Function.cpp dolfin/function/FunctionSpace.cpp dolfin/nls/NewtonSolver.cpp
description:
Added constructor Form(rank, num_coefficients) which initializes
the vector<>s with these sizes. Removes the need for pushbacks
in initialization of vectors, can just do _coefficients[i] = ...

Added template helper function reference_to_no_delete_pointer
in NoDeleter.h and applied it to all places where a shared_ptr
is created with a NoDeleter. Simplifies the syntax for this
operation (feel free to rename it to something shorter).

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin