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

Adjust to interface changes in the vonMises asm

parent ff0a9a8b
No related branches found
No related tags found
No related merge requests found
...@@ -373,8 +373,9 @@ int main(int argc, char *argv[]) { ...@@ -373,8 +373,9 @@ int main(int argc, char *argv[]) {
u4 += u4_diff; u4 += u4_diff;
{ // Compute von Mises stress and write everything to a file { // Compute von Mises stress and write everything to a file
auto *displacement = auto displacement =
new BasisGridFunction<P1Basis, VectorType>(p1Basis, u4); Dune::make_shared<BasisGridFunction<P1Basis, VectorType> const>(
p1Basis, u4);
VonMisesStressAssembler<GridType> localStressAssembler(E, nu, VonMisesStressAssembler<GridType> localStressAssembler(E, nu,
displacement); displacement);
FunctionalAssembler<P0Basis>(p0Basis) FunctionalAssembler<P0Basis>(p0Basis)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment