← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add optional simple eval function with array x instead of Data.

 

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

changeset:   5188:4ae346c4b8944aaaaef7704d2998fb07d3296775
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Nov 19 16:56:59 2008 +0100
files:       dolfin/function/Function.cpp dolfin/function/Function.h
description:
Add optional simple eval function with array x instead of Data.
Assembler calls eval(values, data), which is virtual (but pure virtual).
If this function has not been overloaded, the default implementation will
try calling the simpler eval(values, x), which might be overloaded.
This will simplify the Python interface (ref Hake).


changeset:   5187:6d322aea753ed6e474933740945c16130a8531ba
user:        Anders Logg <logg@xxxxxxxxx>
date:        Tue Nov 18 23:12:33 2008 +0100
files:       dolfin/mesh/CellType.cpp
description:
Fix very nasty bug in CellType::ordered().
Loop should be

  for (uint d = 1; d + 1 < dim; d++)

instead of

  for (uint d = 1; d < dim - 1; d++)

Can you spot the difference?


changeset:   5186:4d244c07492de613d460d5c00ec6b283a6c0d2bc
user:        Anders Logg <logg@xxxxxxxxx>
date:        Tue Nov 18 18:26:57 2008 +0100
files:       dolfin/fem/DirichletBC.cpp dolfin/mesh/CellType.cpp dolfin/mesh/Mesh.cpp dolfin/mesh/Mesh.h dolfin/mesh/MeshEditor.cpp
description:
Make mesh remember if it is ordered to avoid excessive calls to ordered() and
order(). 1D Poisson demo is broken, will fix later.

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