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

[Cleanup] Rename: run -> timeStep

parent 518449fa
No related branches found
No related tags found
No related merge requests found
......@@ -344,14 +344,14 @@ int main(int argc, char *argv[]) {
auto const printProgress = parset.get<bool>("io.printProgress");
auto const verbosity =
parset.get<Solver::VerbosityMode>("v.solver.verbosity");
for (size_t run = 1; run <= timeSteps; ++run) {
for (size_t timeStep = 1; timeStep <= timeSteps; ++timeStep) {
if (printProgress)
std::cout << boost::format("%7d ") % run << " " << std::flush;
std::cout << boost::format("%7d ") % timeStep << " " << std::flush;
stateUpdater->nextTimeStep();
timeSteppingScheme->nextTimeStep();
auto const relativeTime = double(run) / double(timeSteps);
auto const relativeTime = double(timeStep) / double(timeSteps);
computeExternalForces(relativeTime, ell);
Matrix velocityMatrix;
......
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