Skip to content
Snippets Groups Projects
Commit 4a667358 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Use new CosseratVTKWriter with an explicitly provided function space basis

[[Imported from SVN: r9664]]
parent 7c521f05
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ int main (int argc, char *argv[]) try ...@@ -273,7 +273,7 @@ int main (int argc, char *argv[]) try
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////
// Output initial iterate (of homotopy loop) // Output initial iterate (of homotopy loop)
CosseratVTKWriter<GridType>::write(*grid,x, resultPath + "cosserat_homotopy_0"); CosseratVTKWriter<GridType>::write<FEBasis>(feBasis,x, resultPath + "cosserat_homotopy_0");
for (int i=0; i<numHomotopySteps; i++) { for (int i=0; i<numHomotopySteps; i++) {
...@@ -349,7 +349,7 @@ int main (int argc, char *argv[]) try ...@@ -349,7 +349,7 @@ int main (int argc, char *argv[]) try
// Output result of each homotopy step // Output result of each homotopy step
std::stringstream iAsAscii; std::stringstream iAsAscii;
iAsAscii << i+1; iAsAscii << i+1;
CosseratVTKWriter<GridType>::write(*grid,x, resultPath + "cosserat_homotopy_" + iAsAscii.str()); CosseratVTKWriter<GridType>::write<FEBasis>(feBasis,x, resultPath + "cosserat_homotopy_" + iAsAscii.str());
} }
...@@ -357,7 +357,7 @@ int main (int argc, char *argv[]) try ...@@ -357,7 +357,7 @@ int main (int argc, char *argv[]) try
// Output result // Output result
// ////////////////////////////// // //////////////////////////////
CosseratVTKWriter<GridType>::write(*grid,x, resultPath + "cosserat"); CosseratVTKWriter<GridType>::write<FEBasis>(feBasis,x, resultPath + "cosserat");
// finally: compute the average deformation of the Neumann boundary // finally: compute the average deformation of the Neumann boundary
// That is what we need for the locking tests // That is what we need for the locking tests
......
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