Go to the source code of this file.
◆ CCL_ERROR_CLASS
#define CCL_ERROR_CLASS 8 |
◆ CCL_ERROR_COMPUTECHI
#define CCL_ERROR_COMPUTECHI 9 |
◆ CCL_ERROR_HMF_INTERP
#define CCL_ERROR_HMF_INTERP 11 |
◆ CCL_ERROR_INCONSISTENT
#define CCL_ERROR_INCONSISTENT 3 |
◆ CCL_ERROR_INTEG
#define CCL_ERROR_INTEG 6 |
◆ CCL_ERROR_LINSPACE
#define CCL_ERROR_LINSPACE 2 |
◆ CCL_ERROR_MEMORY
#define CCL_ERROR_MEMORY 1 |
◆ CCL_ERROR_MF
◆ CCL_ERROR_NU_INT
#define CCL_ERROR_NU_INT 13 |
◆ CCL_ERROR_PARAMETERS
#define CCL_ERROR_PARAMETERS 12 |
◆ CCL_ERROR_ROOT
◆ CCL_ERROR_SPLINE
#define CCL_ERROR_SPLINE 4 |
◆ CCL_ERROR_SPLINE_EV
#define CCL_ERROR_SPLINE_EV 5 |
◆ CCLErrorPolicy
Enumerator |
---|
CCL_ERROR_POLICY_EXIT | |
CCL_ERROR_POLICY_CONTINUE | |
◆ ccl_check_status()
Check the error status Given a status, check if any errors have occurred, based on the CCL_ERRORs defined so far.
- Returns
- void
◆ ccl_check_status_nocosmo()
void ccl_check_status_nocosmo |
( |
int * |
status | ) |
|
Check the error status - no cosmology Given a status, check if any errors have occurred, based on the CCL_ERRORs defined so far.
- Returns
- void
◆ ccl_raise_exception()
void ccl_raise_exception |
( |
int |
err, |
|
|
char * |
msg |
|
) |
| |
Raise an exception Given a status, give an error message.
- Returns
- void
◆ ccl_set_error_policy()
Set the error policy error_policy the error policy
- Returns
- void