Integral of basis functions of FEM ansatz space
Asked by
André Bodendiek
Hi,
I would like to compute the integral \int_\Omega v dx, where \Omega is the computational domain and and v a test function of the space H(Curl). My first idea was to define a ufl-file in the form
HCurl = FiniteElement(
phi = TestFunction(HCurl)
DG = VectorElement("DG", tetrahedron, 0)
e = Coefficient(DG)
a = inner(e,phi)*dx
The problem is, that I don't know how to define the coefficient e exactly, in order to simply integrate over the ansatz function of the H(Curl) space. Maybe, someone has got a more simple idea?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- Last query:
- Last reply:
To post a message you must log in.