Go to the source code of this file.
|
void | idas_check (int flag, const char *func) |
| check IDAS return flag & throw runtime error More...
|
|
Eigen::MatrixXd | matrix_d_from_NVarray (const N_Vector *nv, const size_t &nv_size) |
| copy NV_Vector* array to Eigen::MatrixXd More...
|
|
void | matrix_d_to_NVarray (const Eigen::MatrixXd &mat, N_Vector *nv, const size_t &nv_size) |
| copy Eigen::MatrixXd to NV_Vector* array. More...
|
|
◆ CHECK_IDAS_CALL
#define CHECK_IDAS_CALL |
( |
|
call | ) |
idas_check(call, #call) |
◆ idas_check()
void idas_check |
( |
int |
flag, |
|
|
const char * |
func |
|
) |
| |
|
inline |
check IDAS return flag & throw runtime error
- Parameters
-
[in] | flag | routine return flag |
[in] | func | routine name |
Definition at line 26 of file idas_system.hpp.
◆ matrix_d_from_NVarray()
Eigen::MatrixXd matrix_d_from_NVarray |
( |
const N_Vector * |
nv, |
|
|
const size_t & |
nv_size |
|
) |
| |
|
inline |
copy NV_Vector* array to Eigen::MatrixXd
- Parameters
-
[in] | nv | N_Vector* array. |
[in] | nv_size | length of nv. |
- Returns
- Eigen::MatrixXd.
Definition at line 41 of file idas_system.hpp.
◆ matrix_d_to_NVarray()
void matrix_d_to_NVarray |
( |
const Eigen::MatrixXd & |
mat, |
|
|
N_Vector * |
nv, |
|
|
const size_t & |
nv_size |
|
) |
| |
|
inline |
copy Eigen::MatrixXd to NV_Vector* array.
- Parameters
-
[in] | mat | Eigen::MatrixXd to be converted |
[out] | nv | N_Vector* array |
[in] | nv_size | length of nv |
Definition at line 62 of file idas_system.hpp.