← Back to team overview

ffc team mailing list archive

Re: [HG FFC] Support for command line option to specify how many quadrature points should be used (quadrature representation only).

 

Kristian Oelgaard wrote:
Quoting FFC <ffc@xxxxxxxxxx>:

It is now possible to specify from the command line how many quadrature points
FFC should use to evaluate a form. Currently only implemented for quadrature
representation but is easily implemented for tensor representation also if it
appears to be desirable.

usage:

ffc -r quadrature -fquadrature_points=2 Poisson.form

Will generate 2 quadrature points in each direction regardless of the polynomial
order of the form.

NOTE: The specified number of points will apply to ALL terms of the given form!

Kristian

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

changeset:   941:e7701c9fe93d000432a256085d14f7e341fa27ca
tag:         tip
user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
date:        Fri Aug 24 14:19:02 2007 +0200
files:       src/ffc/common/constants.py src/ffc/compiler/compiler.py
src/ffc/compiler/representation/quadrature/elementtensor.py
src/ffc/compiler/representation/quadrature/monomialtabulation.py
src/ffc/compiler/representation/quadrature/quadraturerepresentation.py
src/ffc/compiler/representation/tensor/tensorrepresentation.py
description:
Support for command line option to specify how many quadrature points should
be used (quadrature representation only).


changeset:   940:e4a2d568f35f4323db01305efc629260895c0ba6
user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
date:        Fri Aug 24 09:00:19 2007 +0200
files: src/ffc/compiler/codegeneration/quadrature/quadraturegenerator.py
src/ffc/compiler/codegeneration/quadrature/quadraturegenerator_utils.py
description:
Minor bug fix in quadrature (name mapping for reusing tables).


changeset:   939:3ff55460c74399504315ec40dbb76007d178b926
user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
date:        Wed Aug 22 10:44:24 2007 +0200
files: src/ffc/compiler/codegeneration/common/evaluatebasisderivatives.py
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
description:
Fix memory leak in evaluate_basis_derivatives(), evaluatebasisderivatives.py:
delete_pointers().

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/ffc
_______________________________________________
FFC-dev mailing list
FFC-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/ffc-dev



_______________________________________________
FFC-dev mailing list
FFC-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/ffc-dev

Very nice!

/Anders


References