You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: integration/VODE/vode_dvode.H
+7-7
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ int dvode (BurnT& state, DvodeT& vstate)
45
45
46
46
vstate.tn = vstate.t;
47
47
48
-
vstate.NST = 0;
49
-
vstate.NJE = 0;
48
+
vstate.n_step = 0;
49
+
vstate.n_jac = 0;
50
50
vstate.NSLJ = 0;
51
51
52
52
// Initial call to the RHS.
@@ -59,7 +59,7 @@ int dvode (BurnT& state, DvodeT& vstate)
59
59
vstate.yh(i,2) = f_init(i);
60
60
}
61
61
62
-
vstate.NFE = 1;
62
+
vstate.n_rhs = 1;
63
63
64
64
// Load the initial value array in yh.
65
65
@@ -81,7 +81,7 @@ int dvode (BurnT& state, DvodeT& vstate)
81
81
// Call DVHIN to set initial step size H0 to be attempted.
82
82
H0 = 0.0_rt;
83
83
dvhin(state, vstate, H0, NITER, IER);
84
-
vstate.NFE += NITER;
84
+
vstate.n_rhs += NITER;
85
85
86
86
if (IER != 0) {
87
87
#ifndef AMREX_USE_GPU
@@ -129,7 +129,7 @@ int dvode (BurnT& state, DvodeT& vstate)
129
129
// start of problem), check for too much accuracy being requested, and
130
130
// check for H below the roundoff level in T.
131
131
132
-
if (vstate.NST >= ode_max_steps) {
132
+
if (vstate.n_step >= ode_max_steps) {
133
133
// The maximum number of steps was taken before reaching TOUT.
134
134
#ifndef AMREX_USE_GPU
135
135
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: maximum number of steps taken before reaching TOUT" << amrex::ResetDisplay << std::endl;
@@ -164,7 +164,7 @@ int dvode (BurnT& state, DvodeT& vstate)
164
164
165
165
if (TOLSF > 1.0_rt) {
166
166
167
-
if (vstate.NST == 0) {
167
+
if (vstate.n_step == 0) {
168
168
#ifndef AMREX_USE_GPU
169
169
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: too much accuracy requested at start of integration" << amrex::ResetDisplay << std::endl;
170
170
#endif
@@ -229,7 +229,7 @@ int dvode (BurnT& state, DvodeT& vstate)
229
229
// wild exploration. Also ensure we are not working > tmax,
230
230
// so we don't need to worry about extrapolating back in time.
231
231
232
-
if (vstate.NST > MIN_NSE_BAILOUT_STEPS && vstate.tn <= vstate.tout) {
232
+
if (vstate.n_step > MIN_NSE_BAILOUT_STEPS && vstate.tn <= vstate.tout) {
0 commit comments