Subject: [FFC-dev] [HG FFC] Added (limited) support for 1D elements.

From: [email-masked] (FFC)
Date: Fri, 23 Nov 2007 10:47:56 +0100 (CET)

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

changeset:   1007:fe51683c90edf14bfa7ee2a3c5ddae9894746bc4
tag:         tip
user:        "Kristian Oelgaard <[email-masked]>"
date:        Fri Nov 23 10:31:58 2007 +0100
files:       src/ffc/compiler/codegeneration/common/finiteelement.py src/ffc/compiler/format/codesnippets.py src/ffc/compiler/format/ufcformat.py src/ffc/fem/finiteelement.py
description:
Added (limited) support for 1D elements.

changeset:   1006:92a2e3f7d4dc27264fc1134a672d9f8fb38782ed
user:        "Marie E. Rognes <[email-masked]>"
date:        Thu Nov 08 20:09:21 2007 +0100
files:       src/ffc/compiler/codegeneration/common/finiteelement.py src/sandbox/nedelec/Makefile src/sandbox/nedelec/VectorLaplaceGradCurl.form src/sandbox/nedelec/main.cpp src/test/regression/reference/Constant.h src/test/regression/reference/Elasticity.h src/test/regression/reference/EnergyNorm.h src/test/regression/reference/FunctionOperators.h src/test/regression/reference/Heat.h src/test/regression/reference/Mass.h src/test/regression/reference/MixedMixedElement.h src/test/regression/reference/MixedPoisson.h src/test/regression/reference/NavierStokes.h src/test/regression/reference/NeumannProblem.h src/test/regression/reference/Optimization.h src/test/regression/reference/P5tet.h src/test/regression/reference/P5tri.h src/test/regression/reference/Poisson.h src/test/regression/reference/PoissonDG.h src/test/regression/reference/PoissonSystem.h src/test/regression/reference/Projection.h src/test/regression/reference/Stokes.h src/test/regression/reference/TensorWeightedPoisson.h src/test/regression/reference/VectorLaplaceGradCurl.h
description:
Clean-up after fix for Nedelec.

Tiny change to the references due to additional comment.

changeset:   1005:e87444618a6bc55e31ca9fba9fd43bdbb93ff398
user:        "Kristian Oelgaard <[email-masked]>"
date:        Thu Nov 08 18:18:49 2007 +0100
files:       src/ffc/compiler/codegeneration/common/evaluatebasis.py src/ffc/compiler/codegeneration/common/evaluatebasisderivatives.py src/sandbox/nedelec/main.cpp
description:
Minor changes in evaluate_basis() and evaluate_basis_derivatives() for Nedelec elements.

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

---

From: Kristian Oelgaard <[email-masked]>
Date: Fri, 23 Nov 2007 10:56:12 +0100

Quoting FFC <[email-masked]>:

It is now possible to define an element on an interval

element = FiniteElement("Lagrange", "interval", 1)

Only tested (not thoroughly) for Lagrange type elements

The following is working:
v = TestFunction(element)
u = TrialFunction(element)
f = Function(element)
a = dot(grad(v), grad(u))*dx
L = v*f*dx

The following is NOT working:
 - exterior/interior integrals
 - evaluate_basis()
 - evaluate_basis_derivatives()

Kristian

> files:       src/ffc/compiler/codegeneration/common/finiteelement.py
> src/ffc/compiler/format/codesnippets.py src/ffc/compiler/format/ufcformat.py
> src/ffc/fem/finiteelement.py
> description:
> files:       src/ffc/compiler/codegeneration/common/finiteelement.py
> src/sandbox/nedelec/Makefile src/sandbox/nedelec/VectorLaplaceGradCurl.form
> src/sandbox/nedelec/main.cpp src/test/regression/reference/Constant.h
> src/test/regression/reference/Elasticity.h
> src/test/regression/reference/EnergyNorm.h
> src/test/regression/reference/FunctionOperators.h
> src/test/regression/reference/Heat.h src/test/regression/reference/Mass.h
> src/test/regression/reference/MixedMixedElement.h
> src/test/regression/reference/MixedPoisson.h
> src/test/regression/reference/NavierStokes.h
> src/test/regression/reference/NeumannProblem.h
> src/test/regression/reference/Optimization.h
> src/test/regression/reference/P5tet.h src/test/regression/reference/P5tri.h
> src/test/regression/reference/Poisson.h
> src/test/regression/reference/PoissonDG.h
> src/test/regression/reference/PoissonSystem.h
> src/test/regression/reference/Projection.h
> src/test/regression/reference/Stokes.h
> src/test/regression/reference/TensorWeightedPoi
>  sson.h src/test/regression/reference/VectorLaplaceGradCurl.h
> description:
> files:       src/ffc/compiler/codegeneration/common/evaluatebasis.py
> src/ffc/compiler/codegeneration/common/evaluatebasisderivatives.py
> src/sandbox/nedelec/main.cpp
> description:
> _______________________________________________
> FFC-dev mailing list
> [email-masked]
> http://www.fenics.org/mailman/listinfo/ffc-dev
>