Skip to content

Commit

Permalink
Merge branch 'clang-format' into 'master'
Browse files Browse the repository at this point in the history
Fixed clang-format in TimeLoop.cpp

See merge request ogs/ogs!4802
  • Loading branch information
TomFischer committed Nov 15, 2023
2 parents 52107b3 + 4c825dc commit a1a22fc
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ProcessLib/TimeLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -907,21 +907,21 @@ void TimeLoop::preOutputInitialConditions(const double t) const
auto const process_id = process_data->process_id;
auto& pcs = process_data->process;

// dummy value to handle the time derivative terms more or less
// correctly, i.e. to ignore them.
double const dt = 1;
process_data->time_disc->nextTimestep(t, dt);
// dummy value to handle the time derivative terms more or less
// correctly, i.e. to ignore them.
double const dt = 1;
process_data->time_disc->nextTimestep(t, dt);

pcs.preTimestep(_process_solutions, _start_time, dt, process_id);
pcs.preTimestep(_process_solutions, _start_time, dt, process_id);

pcs.preOutput(_start_time, dt, _process_solutions,
_process_solutions_prev, process_id);
pcs.preOutput(_start_time, dt, _process_solutions,
_process_solutions_prev, process_id);

// Update secondary variables, which might be uninitialized, before
// output.
pcs.computeSecondaryVariable(_start_time, dt, _process_solutions,
*_process_solutions_prev[process_id],
process_id);
// Update secondary variables, which might be uninitialized, before
// output.
pcs.computeSecondaryVariable(_start_time, dt, _process_solutions,
*_process_solutions_prev[process_id],
process_id);
}
}
} // namespace ProcessLib

0 comments on commit a1a22fc

Please sign in to comment.