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

Make VTK writing optional

parent 2a8a7642
No related branches found
No related tags found
No related merge requests found
...@@ -376,7 +376,8 @@ int main(int argc, char *argv[]) { ...@@ -376,7 +376,8 @@ 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
if (parset.get<bool>("writeVTK")) {
auto const displacement = auto const displacement =
Dune::make_shared<BasisGridFunction<P1Basis, VectorType> const>( Dune::make_shared<BasisGridFunction<P1Basis, VectorType> const>(
p1Basis, u4); p1Basis, u4);
......
...@@ -6,6 +6,8 @@ printFrictionalBoundary = false ...@@ -6,6 +6,8 @@ printFrictionalBoundary = false
printProgress = true printProgress = true
printDifference = false printDifference = false
writeVTK = false
[grid] [grid]
refinements = 3 refinements = 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment