← Back to team overview

dolfin team mailing list archive

[HG dolfin] Fix allocation of memory for sub-functions. VTK plotting now works for Stokes demo.

 

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

changeset:   2946:3c0a16fb27401de8cd12c6eaad52fd4d9e2969c4
tag:         tip
user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
date:        Sun Apr 29 12:24:58 2007 +0200
files:       src/demo/pde/stokes/taylor-hood/main.cpp src/kernel/fem/DofMaps.cpp src/kernel/fem/dolfin/DofMaps.h src/kernel/function/DiscreteFunction.cpp
description:
Fix allocation of memory for sub-functions. VTK plotting now works for Stokes demo.


changeset:   2945:e556546448cb4348856f9b1a287cfca7d6ddf72b
user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
date:        Sun Apr 29 11:55:30 2007 +0200
files:       src/kernel/function/DiscreteFunction.cpp
description:
Add 'dolfin_assert(dofs)' to DiscreteFunction::interpolate(real* values).

dof has not been allocated for sub-functions, which is causing a seg fault when outputting to a VTK file.


changeset:   2944:03242534aa40b0a714935592e49cc9d32dc91191
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Sun Apr 29 10:10:27 2007 +0200
files:       src/demo/pde/stokes/taylor-hood/plot.py src/kernel/function/dolfin/SubFunction.h src/kernel/function/dolfin/dolfin_function.h src/pydolfin/dolfin_headers.h
description:
Fixes for SubFunction/PyDOLFIN


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