ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #02206
Re: [HG FFC] Use form instead of form_data in compiler stage 3
Quoting FFC <ffc@xxxxxxxxxx>:
> One or more new changesets pushed to the primary ffc repository.
> A short summary of the last three changesets is included below.
>
> changeset: 1372:19f68f217564f18384dd29d30081268e1d583163
> tag: tip
> user: Anders Logg <logg@xxxxxxxxx>
> date: Thu Mar 05 22:19:10 2009 +0100
> files:
> ffc/compiler/representation/quadrature/uflquadraturerepresentation.py
> ffc/compiler/representation/tensor/tensorrepresentation.py
> ffc/compiler/representation/tensor/ufltensorrepresentation.py
> ffc/compiler/uflcompiler.py
> description:
> Use form instead of form_data in compiler stage 3
This caused me quite a bit of grief.
Try:
print form
print form.form_data().form
on any form involving functions. In the first instance the coefficients has
arbitrary indices, in the second the index corresponds to the correct function
number in the form.
Maybe I'm the only one not knowing this but it did break the quadrature
generation.
Kristian
>
> changeset: 1371:1a5ef1717e6c0d62fa58133577699a584ec6cc94
> user: Anders Logg <logg@xxxxxxxxx>
> date: Thu Mar 05 21:51:51 2009 +0100
> files: ffc/compiler/uflcompiler.py
> description:
> Further simplification of metadata handling. Or is it important to sum the
> integrals in the correct order (cell integrals, interior and exterior facet
> integral)?
>
>
> changeset: 1370:ae783bcaa17d06988af4a5cb71674252a32632a4
> parent: 1369:6e7dfde844e7da189662b8653d9777df093cfeb9
> parent: 1368:f6dea726d1ee0fdb682841f6e78244ec7666710c
> user: Anders Logg <logg@xxxxxxxxx>
> date: Thu Mar 05 21:32:17 2009 +0100
> files: demo/Projection.form demo/Projection.ufl
> test/regression/reference/Projection.h
> description:
> merge
>
> ----------------------------------------------------------------------
> 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
>
Follow ups
References