dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12717
[HG DOLFIN] Updates in dolfin_utils/wrappers/, test code didn't work with latest UFL.
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 5877:a3439ed11b074fecd5ad9b562d1c46db137865af
tag: tip
user: "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date: Mon Mar 16 10:46:50 2009 +0100
files: site-packages/dolfin_utils/wrappers/coefficient_set.py site-packages/dolfin_utils/wrappers/form.py site-packages/dolfin_utils/wrappers/functionspace.py site-packages/dolfin_utils/wrappers/wrappers.py
description:
Updates in dolfin_utils/wrappers/, test code didn't work with latest UFL.
I want to add a class CoefficientSet or something, so I can do:
using namespace Poisson; // from Poisson.ufl -> Poisson.h
Form_a::TestSpace V(mesh);
Coefficient_f::TestSpace W(mesh);
Coefficient_g::TestSpace Q(mesh);
Function f(W);
Function g(Q);
CoefficientSet coefficients;
coefficients.f = f
coefficients.g = g
// Either (A):
Form_a a(V, V);
Form_L L(V);
a.set_coefficients(coefficients); // Picks the ones it needs from CoefficientSet
L.set_coefficients(coefficients); // Picks the ones it needs from CoefficientSet
// Or (B):
Form_a a(V, V, coefficients);
Form_L L(V, coefficients);
What's missing is a Coefficient-like class without the Form connection.
changeset: 5876:e033fc6b2e04968a2ef2d31f4c33e403f12cc3ba
parent: 5875:984df7f977dcac4c16a1a539f9e8c48526cce884
parent: 5874:945651fb82394517b589a20e560687964ad3313c
user: "Ola Skavhaug <skavhaug@xxxxxxxxx>"
date: Mon Mar 16 10:28:07 2009 +0100
files: dolfin/elements/ElementLibrary.cpp dolfin/elements/ElementLibrary.h dolfin/elements/dolfin_elements.h dolfin/elements/element_library.inc dolfin/elements/elements.py dolfin/elements/ffc_00.h dolfin/elements/ffc_01.h dolfin/elements/ffc_02.h dolfin/elements/ffc_03.h dolfin/elements/ffc_04.h dolfin/elements/ffc_05.h dolfin/elements/ffc_06.h dolfin/elements/ffc_07.h dolfin/elements/ffc_08.h dolfin/elements/ffc_09.h dolfin/elements/ffc_10.h dolfin/elements/ffc_11.h dolfin/elements/ffc_12.h dolfin/elements/ffc_13.h dolfin/elements/ffc_14.h dolfin/elements/ffc_15.h dolfin/elements/ffc_16.h dolfin/elements/ffc_17.h dolfin/elements/ffc_18.h dolfin/elements/ffc_19.h dolfin/elements/ffc_20.h dolfin/elements/ffc_21.h dolfin/elements/ffc_22.h dolfin/elements/ffc_23.h dolfin/elements/ffc_24.h dolfin/elements/generate_elements.py dolfin/function/ProjectL2.cpp dolfin/function/ProjectL2.h
description:
merge
changeset: 5875:984df7f977dcac4c16a1a539f9e8c48526cce884
parent: 5867:d3c9018fc7bb6a52dc27dd1de562ce2c176180ab
user: "Ola Skavhaug <skavhaug@xxxxxxxxx>"
date: Mon Mar 16 10:27:48 2009 +0100
files: dolfin/io/NewXMLFile.h dolfin/io/NewXMLParameterList.cpp dolfin/io/NewXMLParameterList.h dolfin/parameter/ParameterList.h
description:
Added new xml i/o for ParameterList.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin