Thread Previous • Date Previous • Date Next • Thread Next |
On 23/05/10 13:58, Kristian Oelgaard wrote:
On 23 May 2010 12:51, Kristian Oelgaard<k.b.oelgaard@xxxxxxxxx> wrote:On 23 May 2010 12:14, Garth N. Wells<gnw20@xxxxxxxxx> wrote:Where are we at with attaching data to integrals? The quadrature order can be attached, but I's like to do: dS({"representation": "tensor"}) Is this supported by FFC?It looks like this is already supported in FFC. Note that the representation must be the same on each subdomain (this is also a requirement for quadrature_degree). dS(0, {"representation": "tensor"}) + dS(0, {"representation": "quadrature"}) is not possible, but dS(1, {"representation": "tensor"}) + dS(0, {"representation": "quadrature"})
OK. dS(0, {"representation": "tensor"}) \ + dS(0, {"representation": "tensor"}) works, but dS({"representation": "tensor"}) \ + dS({"representation": "tensor"}) doesn't. Seems like a bug.Turns out I can't use this anyway because facet normals are not supported by FFC with the tensor representation,
ffc.tensor.monomialextraction.MonomialException: No handler defined for terminal FacetNormal
Garth
is. Also note that metadata overrides command line options. KristianI'm quite sure that it was supported before we redesigned FFC, so it should be possible to add back although I currently don't have an overview of how difficult it will be (probably relatively easy). KristianGarth _______________________________________________ Mailing list: https://launchpad.net/~ffc Post to : ffc@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~ffc More help : https://help.launchpad.net/ListHelp
Thread Previous • Date Previous • Date Next • Thread Next |