dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04811
[HG dolfin] Fixes for SubFunction/PyDOLFIN
One or more new changesets pushed to the primary DOLFIN repository.
A short summary of the last three changesets is included below.
changeset: 2944:03242534aa40b0a714935592e49cc9d32dc91191
tag: tip
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
changeset: 2943:100988f23178f360714befac55d199021c9964e6
user: "Anders Logg <logg@xxxxxxxxx>"
date: Sat Apr 28 20:55:21 2007 +0200
files: src/demo/pde/stokes/taylor-hood/plot.py src/kernel/function/dolfin/SubFunction.h
description:
Add missing file
changeset: 2942:6419aa7b9300e2d3705223bd108c6fe1a6f0a1ff
user: "Anders Logg <logg@xxxxxxxxx>"
date: Sat Apr 28 00:48:38 2007 +0200
files: src/demo/pde/elasticity/Elasticity.h src/demo/pde/stokes/taylor-hood/Stokes.h src/demo/pde/stokes/taylor-hood/main.cpp src/demo/pde/stokes/taylor-hood/plot.py src/kernel/elements/ffc_00.h src/kernel/elements/ffc_01.h src/kernel/elements/ffc_02.h src/kernel/elements/ffc_03.h src/kernel/elements/ffc_04.h src/kernel/elements/ffc_05.h src/kernel/elements/ffc_06.h src/kernel/elements/ffc_07.h src/kernel/elements/ffc_08.h src/kernel/elements/ffc_09.h src/kernel/elements/ffc_10.h src/kernel/elements/ffc_11.h src/kernel/elements/ffc_12.h src/kernel/elements/ffc_13.h src/kernel/elements/ffc_14.h src/kernel/elements/ffc_15.h src/kernel/elements/ffc_16.h src/kernel/elements/ffc_17.h src/kernel/elements/ffc_18.h src/kernel/elements/ffc_19.h src/kernel/elements/ffc_20.h src/kernel/elements/ffc_21.h src/kernel/elements/ffc_22.h src/kernel/elements/ffc_23.h src/kernel/elements/ffc_24.h src/kernel/elements/ffc_25.h src/kernel/function/DiscreteFunction.cpp src/kernel/function/Function.cpp src/kernel/function/Makefile.am src/kernel/function/Makefile.in src/kernel/function/dolfin/DiscreteFunction.h src/kernel/function/dolfin/Function.h src/kernel/function/dolfin/Makefile.am src/kernel/function/dolfin/Makefile.in src/kernel/function/dolfin/dolfin_function.h src/kernel/io/XMLFile.cpp
description:
Implement extraction of sub functions from a function. As before,
we can once again do
Function w;
Function u = w[0];
Function p = w[1];
where w is a Function representing the solution of a mixed system
(like Stokes). Now, both setting bcs for sub systems and extracting
functions as sub functions should work, but more testing is needed.
The extraction of a sub function copies the degrees of freedom to
a new (smaller size) vector but the mesh is shared.
Plotting the presure seems ok in Viper but plotting the velocity
field returns an error message (see viper-dev).
Also, exporting to .pvd gives segmentation fault.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin