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

[Cleanup] Move declarations

parent 765862fc
Branches
No related tags found
No related merge requests found
...@@ -490,9 +490,6 @@ int main(int argc, char *argv[]) { ...@@ -490,9 +490,6 @@ int main(int argc, char *argv[]) {
if (printProgress) if (printProgress)
(std::cout << boost::format("%7d ") % run << " ").flush(); (std::cout << boost::format("%7d ") % run << " ").flush();
VectorType u;
double lastCorrection;
stateUpdater->nextTimeStep(); stateUpdater->nextTimeStep();
timeSteppingScheme->nextTimeStep(); timeSteppingScheme->nextTimeStep();
...@@ -532,7 +529,9 @@ int main(int argc, char *argv[]) { ...@@ -532,7 +529,9 @@ int main(int argc, char *argv[]) {
// Since the velocity explodes in the quasistatic case, use the // Since the velocity explodes in the quasistatic case, use the
// displacement as a convergence criterion // displacement as a convergence criterion
// Q: is this reasonable? // Q: is this reasonable?
VectorType u;
VectorType u_saved; VectorType u_saved;
double lastCorrection;
for (size_t state_fpi = 1; state_fpi <= state_fpi_max; ++state_fpi) { for (size_t state_fpi = 1; state_fpi <= state_fpi_max; ++state_fpi) {
stateUpdater->solve(v); stateUpdater->solve(v);
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment