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

Move a line

parent b8476178
No related branches found
No related tags found
No related merge requests found
...@@ -451,13 +451,14 @@ int main(int argc, char *argv[]) { ...@@ -451,13 +451,14 @@ int main(int argc, char *argv[]) {
} }
} }
alpha_old = alpha;
if (parset.get<bool>("printFrictionalVelocity")) { if (parset.get<bool>("printFrictionalVelocity")) {
for (size_t i = 0; i < frictionalNodes.size(); ++i) for (size_t i = 0; i < frictionalNodes.size(); ++i)
if (frictionalNodes[i][0]) if (frictionalNodes[i][0])
std::cout << ud[i][0] << " "; std::cout << ud[i][0] << " ";
std::cout << std::endl; std::cout << std::endl;
} }
alpha_old = alpha;
// 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")) { if (parset.get<bool>("writeVTK")) {
......
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