← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Cleanup use of dof maps in Python interface (assembly.py) and

 

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

changeset:   3505:b9e1a248a7e0fb462d909f8b2b3f6bf232d92782
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Thu Jan 03 14:17:55 2008 +0100
files:       src/kernel/fem/DirichletBC.cpp src/kernel/fem/dolfin/DirichletBC.h src/kernel/function/DiscreteFunction.cpp src/kernel/function/Function.cpp src/kernel/function/dolfin/DiscreteFunction.h src/kernel/function/dolfin/Function.h src/pydolfin/assemble.py
description:
Cleanup use of dof maps in Python interface (assembly.py) and
remove newly added constructors in Function, DiscreteFunction
and DirichletBC (not needed when using DofMapSet).


changeset:   3504:ea10f8c61f044c2a98d701f199be958e2d83e524
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Thu Jan 03 01:00:33 2008 +0100
files:       src/kernel/fem/DirichletBC.cpp src/kernel/fem/DofMap.cpp src/kernel/fem/dolfin/DirichletBC.h src/kernel/fem/dolfin/Form.h src/pydolfin/assemble.py src/pydolfin/dolfin_fem_pre.i src/pydolfin/dolfin_function_pre.i
description:
Improve handling of BCs in Python interface. Now, bc.apply(A, x, form)
work (not needing to call JIT compiler on form and provide dof map).


changeset:   3503:be2f31d6423e8e92d9ecdb0c89c50f6b8ab7e09b
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Wed Jan 02 23:00:32 2008 +0100
files:       src/kernel/function/DiscreteFunction.cpp src/kernel/function/Function.cpp src/kernel/function/dolfin/DiscreteFunction.h src/kernel/function/dolfin/Function.h src/pydolfin/assemble.py src/pydolfin/directors.i src/pydolfin/dolfin_docstrings.i src/pydolfin/dolfin_headers.h
description:
Improve support for creating Functions from Python.
Now the following works:

  x = Vector()
  u = Function(element, mesh, x)

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