← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Cleanup and fix convection-diffusion Python demo, seems to work now

 

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

changeset:   3509:be63f68e81c7443a65db80364d20628135ba6cb1
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Fri Jan 04 00:32:48 2008 +0100
files:       src/demo/pde/convection-diffusion/python/demo.py
description:
Cleanup and fix convection-diffusion Python demo, seems to work now


changeset:   3508:09b6e91d57e5fef1eb0eec1d3a70c05b06cec0b5
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)

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