← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Fix very nasty bug in CellType::ordered().

 

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

changeset:   5187:6d322aea753ed6e474933740945c16130a8531ba
tag:         tip
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.


changeset:   5185:d6a7224e410c2cce34bd7b86cd76528a5d9f48db
user:        Anders Logg <logg@xxxxxxxxx>
date:        Tue Nov 18 16:03:36 2008 +0100
files:       demo/pde/elasticity/cpp/main.cpp demo/pde/stokes/stabilized/cpp/main.cpp demo/pde/stokes/taylor-hood/cpp/main.cpp
description:
Use vector constants in demos, all FIXMEs in demos removed

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