Skip to content
Snippets Groups Projects
Commit 3d42113b authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

BUG FIX: Assemble the mass matrix properly

parent c7d5c694
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ int main(int argc, char *argv[]) {
{
MassAssembler<GridType, P1Basis::LocalFiniteElement,
P1Basis::LocalFiniteElement> const localMass;
P1Basis::LocalFiniteElement, SmallMatrix> const localMass;
OperatorAssembler<P1Basis, P1Basis>(p1Basis, p1Basis)
.assemble(localMass, massMatrix);
massMatrix *= density;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment