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

[Cleanup] Move declarations

parent 765862fc
No related branches found
No related tags found
No related merge requests found
......@@ -490,9 +490,6 @@ int main(int argc, char *argv[]) {
if (printProgress)
(std::cout << boost::format("%7d ") % run << " ").flush();
VectorType u;
double lastCorrection;
stateUpdater->nextTimeStep();
timeSteppingScheme->nextTimeStep();
......@@ -532,7 +529,9 @@ int main(int argc, char *argv[]) {
// Since the velocity explodes in the quasistatic case, use the
// displacement as a convergence criterion
// Q: is this reasonable?
VectorType u;
VectorType u_saved;
double lastCorrection;
for (size_t state_fpi = 1; state_fpi <= state_fpi_max; ++state_fpi) {
stateUpdater->solve(v);
{
......
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