← Back to team overview

dolfin team mailing list archive

[HG] Start sketch of just-in-time assembly (not needing import_formfile).

 

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

changeset:   2392:3e4be84481b2181482cc2dfe05580e1e669d4a6a
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Mon Oct 30 23:33:01 2006 +0100
files:       src/pydolfin/Makefile.am src/pydolfin/Makefile.in src/pydolfin/__init__.py src/pydolfin/assemble.py
description:
Start sketch of just-in-time assembly (not needing import_formfile).
A few major issues remain to get this to work seamlessly:
 - Conflict between dolfin.Function and ffc.Function
 - Fix argument lists of function
We should try to have something like

from dolfin import *

element = FiniteElement("Lagrange", "triangle", 1)

v = TestFunction(element)
U = TrialFunction(element)
f = Function(element)

a = dot(grad(v), grad(U))*dx
L = v*f*dx

mesh = UnitSquare(16, 16)

A = assemble(a, mesh, bc)
b = assemble(L, mesh, bc, f)

x = solve(A, b)


changeset:   2391:5e9a2762129107dffbd11969c10e7a55e9e7f7b6
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Mon Oct 30 21:21:21 2006 +0100
files:       src/utils/swig/dolfin-swig
description:
Remove debugging output in dolfin-swig


changeset:   2390:eff103e7329eeda217a9db9f7eb396efa576434c
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Mon Oct 30 20:30:41 2006 +0100
files:       src/utils/swig/dolfin-swig
description:
Fixes for PyDOLFIN: update dolfin-swig to use pkg-config


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