← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add Data::update() function for updating coordinates and ufc_cell.

 

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

changeset:   7245:22cd69f30847
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sat Oct 03 23:55:58 2009 +0200
files:       dolfin/function/Coefficient.cpp dolfin/function/Data.cpp dolfin/function/Data.h
description:
Add Data::update() function for updating coordinates and ufc_cell.
Also fixed bug in other update() function (missing reference for ufc_cell).


changeset:   7244:da48cdfb0ecf
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sat Oct 03 13:34:09 2009 +0100
files:       dolfin/function/Data.h
description:
Make Data::update public.

The Function design seems to be betting a bit complicated again. I just want a function in Coefficient that takes a point and a cell and evaluates the function.We have Coefficient::eval(double*, Data&), but the necessary functions to constract Data were private.

Also, if one calls Coefficient::evaluate(....), the coordinate are updated in the Data object (inside Coefficient::evaluate(.)), but not the cell.


changeset:   7243:28e0163c86a0
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sat Oct 03 12:10:39 2009 +0100
files:       dolfin/function/Function.cpp
description:
Fix assertions in Function constructor.

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