← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add demo (C++ and Python) for interpolation of functions on non-matching meshes.

 

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

changeset:   6338:4b2037f510b35ad9d8b1330c746937b01e40d341
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Fri Jun 19 19:57:44 2009 +0100
files:       demo/function/nonmatching-interpolation/cpp/P1.h demo/function/nonmatching-interpolation/cpp/P1.ufl demo/function/nonmatching-interpolation/cpp/P3.h demo/function/nonmatching-interpolation/cpp/P3.ufl demo/function/nonmatching-interpolation/cpp/SConstruct demo/function/nonmatching-interpolation/cpp/main.cpp demo/function/nonmatching-interpolation/python/demo.py sandbox/nonmatching/P1.h sandbox/nonmatching/P1.ufl sandbox/nonmatching/SConstruct sandbox/nonmatching/main.cpp sandbox/ufl/elasticity/Elasticity.form sandbox/ufl/elasticity/ElasticityUFL.ufl sandbox/ufl/elasticity/SConstruct sandbox/ufl/elasticity/main.cpp sandbox/ufl/poisson/Poisson.ufl sandbox/ufl/poisson/SConstruct sandbox/ufl/poisson/main.cpp
description:
Add demo (C++ and Python) for interpolation of functions on non-matching meshes.

Demo is pratical - it demonstrates the interpolation of a high-order function on a coarse mesh on a low-order fine mesh which is useful for post processing high-order functions.


changeset:   6337:5782038f033c6f6e293a333200549440a50eb8cb
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Fri Jun 19 15:32:13 2009 +0100
files:       demo/pde/dg/poisson/cpp/Poisson.h dolfin/fem/UFCCell.h
description:
Fix bug un UFCCell.

Problem was that arrays were intialised and later filled based on the number of intialised mesh entities which can change between intialisation of UFCCell and updating of UFCCell (this was the case for DG problems).


changeset:   6336:ea7f1bfca0996775b533c52ab121da7d43acee32
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Fri Jun 19 14:37:34 2009 +0100
files:       dolfin/swig/dolfin_io_post.i
description:
Instantiate io for FunctionPlotData for SWIG.

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