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

Cleanup

parent 8f4667c7
No related branches found
No related tags found
No related merge requests found
......@@ -173,11 +173,13 @@ int main(int argc, char *argv[]) {
P1Basis::LocalFiniteElement> const
localStiffness(E, nu);
OperatorType stiffnessMatrix;
timer.reset();
OperatorAssembler<P1Basis, P1Basis>(p1Basis, p1Basis)
.assemble(localStiffness, stiffnessMatrix);
std::cout << "Assembled stiffness matrix in " << timer.elapsed() << "s"
<< std::endl;
{
timer.reset();
OperatorAssembler<P1Basis, P1Basis>(p1Basis, p1Basis)
.assemble(localStiffness, stiffnessMatrix);
std::cout << "Assembled stiffness matrix in " << timer.elapsed() << "s"
<< std::endl;
}
EnergyNorm<OperatorType, VectorType> energyNorm(stiffnessMatrix);
// Set up the boundary
......
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