Stiffness matrix and Mass Matrix in a Form
Asked by
Ted Kord
How do I define in a ufl file both the stiffness and mass matrices so I can use them in C++.
aK = D*inner(grad(u), grad(v))*dx
aM = inner(u,v)*dx
The generated header file has no reference to the forms. Does the mass matrix have a specific name?
TK
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Sandve Alnæs
- Solved:
- Last query:
- Last reply:
To post a message you must log in.