Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ arkode_flag_msg()

std::array< std::string, 2 > stan::math::arkode_flag_msg ( int  flag)
inline

Map ARKODE error flag to an error msg.

Messages follow the ARKODE documentation's table of shared output constants. The case labels use the macros from arkode.h because the numeric values of several flags differ between SUNDIALS releases.

Parameters
flag
Returns
error msg string constant and actually informative msg

Definition at line 386 of file check_flag_sundials.hpp.