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
+6-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
#ifndef VODE_DVODE_H
2
2
#defineVODE_DVODE_H
3
3
4
+
#include<AMReX_REAL.H>
5
+
4
6
#include<vode_type.H>
5
7
#include<vode_dvhin.H>
6
8
#include<vode_dvstep.H>
@@ -130,7 +132,7 @@ int dvode (BurnT& state, DvodeT& vstate)
130
132
if (vstate.NST >= ode_max_steps) {
131
133
// The maximum number of steps was taken before reaching TOUT.
132
134
#ifndef AMREX_USE_GPU
133
-
std::cout << Font::Bold << FGColor::Red << "DVODE: maximum number of steps taken before reaching TOUT" << ResetDisplay << std::endl;
135
+
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: maximum number of steps taken before reaching TOUT" << amrex::ResetDisplay << std::endl;
134
136
#endif
135
137
for (int i = 1; i <= int_neqs; ++i) {
136
138
vstate.y(i) = vstate.yh(i,1);
@@ -164,7 +166,7 @@ int dvode (BurnT& state, DvodeT& vstate)
164
166
165
167
if (vstate.NST == 0) {
166
168
#ifndef AMREX_USE_GPU
167
-
std::cout << Font::Bold << FGColor::Red << "DVODE: too much accuracy requested at start of integration" << ResetDisplay << std::endl;
169
+
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: too much accuracy requested at start of integration" << amrex::ResetDisplay << std::endl;
168
170
#endif
169
171
return IERR_TOO_MUCH_ACCURACY_REQUESTED;
170
172
}
@@ -191,7 +193,7 @@ int dvode (BurnT& state, DvodeT& vstate)
191
193
if (kflag == -1) {
192
194
// Error test failed repeatedly or with ABS(H) = HMIN.
193
195
#ifndef AMREX_USE_GPU
194
-
std::cout << Font::Bold << FGColor::Red << "DVODE: error test failed repeatedly or with abs(H) = HMIN" << ResetDisplay << std::endl;
196
+
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: error test failed repeatedly or with abs(H) = HMIN" << amrex::ResetDisplay << std::endl;
195
197
#endif
196
198
// Set Y array, T, and optional output.
197
199
for (int i = 1; i <= int_neqs; ++i) {
@@ -205,7 +207,7 @@ int dvode (BurnT& state, DvodeT& vstate)
205
207
elseif (kflag == -2) {
206
208
// Convergence failed repeatedly or with ABS(H) = HMIN.
207
209
#ifndef AMREX_USE_GPU
208
-
std::cout << Font::Bold << FGColor::Red << "DVODE: corrector convergence failed repeatedly or with abs(H) = HMIN" << ResetDisplay << std::endl;
210
+
std::cout << amrex::Font::Bold << amrex::FGColor::Red << "DVODE: corrector convergence failed repeatedly or with abs(H) = HMIN" << amrex::ResetDisplay << std::endl;
0 commit comments