Skip to content

Commit

Permalink
Merge branch 'development' into some_sdc_clang_tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Oct 3, 2023
2 parents 1d49c38 + 104a57d commit ec1f7bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/sdc/sdc_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ Castro::ca_sdc_compute_C2_radau(const Box& bx,
C(i,j,k,n) = -R_1_old(i,j,k,n) +
(A_m(i,j,k,n) - A_0_old(i,j,k,n)) +
(dt/dt_m) * (1.0_rt/12.0_rt) *
5.0_rt*(A_1_old(i,j,k,n) + R_1_old(i,j,k,n)) -
(A_2_old(i,j,k,n) + R_2_old(i,j,k,n));
(5.0_rt*(A_1_old(i,j,k,n) + R_1_old(i,j,k,n)) -
(A_2_old(i,j,k,n) + R_2_old(i,j,k,n)));
});
}
else if (m_start == 1)
Expand All @@ -233,8 +233,8 @@ Castro::ca_sdc_compute_C2_radau(const Box& bx,
C(i,j,k,n) = -R_2_old(i,j,k,n) +
(A_m(i,j,k,n) - A_1_old(i,j,k,n)) +
(dt/dt_m) * (1.0_rt/3.0_rt) *
(A_1_old(i,j,k,n) + R_1_old(i,j,k,n)) +
(A_2_old(i,j,k,n) + R_2_old(i,j,k,n));
((A_1_old(i,j,k,n) + R_1_old(i,j,k,n)) +
(A_2_old(i,j,k,n) + R_2_old(i,j,k,n)));
});
}
} // end ca_sdc_compute_C2_radau
Expand Down Expand Up @@ -308,7 +308,7 @@ Castro::ca_sdc_compute_C4_radau(const Box& bx,
// compute the 'C' term for the 4th-order solve with reactions
// note: this 'C' is cell-averages

// Gauss-Lobatto (Simpsons)
// Radau

if (m_start == 0)
{
Expand Down

0 comments on commit ec1f7bd

Please sign in to comment.