dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #10406
Code generation for function spaces
FFC now generates code for all function spaces appearing in a form.
It also tries to figure out whether
1. All test spaces are equal and in that case generates
PrefixTestSpace
2. All trial spaces are equal and in that case generates
PrefixTrialSpace
3. All spaces are equal and in that case generates
PrefixFunctionSpace
For the Poisson demo in DOLFIN, the following spaces are thus
generated:
PoissonBilinearFormArgumentSpace0
PoissonBilinearFormArgumentSpace1
PoissonLinearFormArgumentSpace0
PoissonLinearFormCoefficientSpace0
PoissonLinearFormCoefficientSpace1
PoissonTestSpace
PoissonTrialSpace
PoissonFunctionSpace
All these spaces can be initialized with only a Mesh, so the typical
usage is
PoissonFunctionSpace V(mesh);
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups