Skip to content

Commit

Permalink
Merge branch 'SmallFixes' into 'master'
Browse files Browse the repository at this point in the history
Small fixes

See merge request ogs/ogs!5057
  • Loading branch information
bilke committed Jul 25, 2024
2 parents 6835c81 + 1248a4c commit 0877d2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NumLib/Fem/ShapeFunction/ShapeTri3.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ namespace NumLib
/**
* Shape function for a triangle element of three nodes in natural coordinates
*
* \verbatim
* 3 (0,1)
* *
* s | \
* | \
* | \
* *------* r
* 1 (0,0) 2 (1,0)
* \endverbatim
*/
class ShapeTri3
{
Expand Down
4 changes: 2 additions & 2 deletions ProcessLib/TimeLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ std::pair<double, bool> TimeLoop::computeTimeStepping(
}

// adjust step size considering external communciation_point_calculators
for (auto const& time_step_constain : time_step_constraints)
for (auto const& time_step_constraint : time_step_constraints)
{
dt = std::min(dt, time_step_constain(t, dt));
dt = std::min(dt, time_step_constraint(t, dt));
}

// Check whether the time stepping is stabilized
Expand Down

0 comments on commit 0877d2b

Please sign in to comment.