dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #11807
DOLFIN wrappers
Hi,
I am trying to know how the new wrappers for Dolfin are generated.
Suppose this simple form.
element = FiniteElement("Lagrange", "triangle", 1)
v = TestFunction(element)
L = v*dx
If we compile this form file, the wrappers would contain these classes.
// DOLFIN wrappers
class testLinearFormFunctionSpace0 : public dolfin::FunctionSpace
{
---
};
class testTestSpace : public dolfin::FunctionSpace
{
---
};
class testTrialSpace : public dolfin::FunctionSpace
{
---
};
class testFunctionSpace : public dolfin::FunctionSpace
{
---
};
class testLinearForm : public dolfin::Form
{
---
};
For the first four classes derived from dolfin::FunctionSpace, we have exactly
the same body.
Aren't they redundant?
For example, There is no TrialFunction in the form, but we have a class called
testTrialSpace in Wrapper.
What are the difference between testLinearFormFunctionSpace0 and
testFunctionSpace classes?
Thank you in advance,
Mehdi
Follow ups