Skip to content

Commit

Permalink
Piro: updating list of Explicit steppers parsed/recognized by Piro::T…
Browse files Browse the repository at this point in the history
…empusSolver to reflect current explicit (#7722)

stepper supported in Tempus.
  • Loading branch information
ikalash authored Jul 24, 2020
1 parent 5e80ff4 commit 75a5937
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/piro/src/Piro_TempusSolver_Def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ void Piro::TempusSolver<Scalar>::initialize(
// below, as more explicit schemes get added to Tempus
// Explicit time-integrators for 1st order ODEs
if (
stepperType == "Forward Euler" ||
stepperType == "RK Forward Euler" ||
stepperType == "RK1" ||
stepperType == "RK Explicit 4 Stage" ||
stepperType == "RK Explicit 3/8 Rule" ||
stepperType == "RK Explicit 4 Stage 3rd order by Runge" ||
Expand All @@ -239,7 +241,15 @@ void Piro::TempusSolver<Scalar>::initialize(
stepperType == "RK Explicit 3 Stage 3rd order TVD" ||
stepperType == "RK Explicit 3 Stage 3rd order by Heun" ||
stepperType == "RK Explicit 2 Stage 2nd order by Runge" ||
stepperType == "RK Explicit Midpoint" ||
stepperType == "RK Explicit Trapezoidal" ||
stepperType == "Heuns Method" ||
stepperType == "Bogacki-Shampine 3(2) Pair" ||
stepperType == "SSPERK22" ||
stepperType == "SSPRK2" ||
stepperType == "SSPERK33" ||
stepperType == "SSPRK3" ||
stepperType == "SSPERK54" ||
stepperType == "General ERK" ) {

bool invertMassMatrix = tempusPL->get("Invert Mass Matrix", false);
Expand Down

0 comments on commit 75a5937

Please sign in to comment.