dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05852
[HG DOLFIN] Implement assignment of Functions in Python:
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 3508:09b6e91d57e5fef1eb0eec1d3a70c05b06cec0b5
tag: tip
user: "Anders Logg <logg@xxxxxxxxx>"
date: Fri Jan 04 00:19:37 2008 +0100
files: src/pydolfin/assemble.py src/pydolfin/dolfin_docstrings.i src/pydolfin/dolfin_function_pre.i
description:
Implement assignment of Functions in Python:
u0.assign(u1)
does "u0 = u1" (assigning the dofs).
changeset: 3507:263167712fb4f28d0fc83986b2892da22b0676ba
user: "Anders Logg <logg@xxxxxxxxx>"
date: Thu Jan 03 22:26:18 2008 +0100
files: src/pydolfin/assemble.py
description:
Improve handling of discrete functions in Python.
Now, the following works:
u = Function(element, mesh, Vector())
The vector can then be accessed when needed by u.vector().
For example
solve(A, u.vector(), b)
changeset: 3506:145c5e827bda60676a47a681cb6906dfc33e991c
user: "Anders Logg <logg@xxxxxxxxx>"
date: Thu Jan 03 22:03:50 2008 +0100
files: src/kernel/fem/dolfin/DofMap.h src/pydolfin/assemble.py
description:
Bug fix for creating Function from element + mesh + vector in Python
(need to remember dof_maps or it will be deleted).
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin