Top | ![]() |
![]() |
![]() |
![]() |
Functions
void | (*NcmCalcPrepare0) () |
void | (*NcmCalcPrepare1) () |
void | (*NcmCalcPrepare2) () |
void | (*NcmCalcPrepare3) () |
void | (*NcmCalcPrepare4) () |
void | (*NcmCalcPrepare5) () |
void | (*NcmCalcPrepare6) () |
#define | NCM_CALC_PREPARE() |
void | ncm_calc_class_set_num_dep () |
void | ncm_calc_class_set_dep () |
void | ncm_calc_class_check () |
void | ncm_calc_prepare_array () |
void | ncm_calc_prepare_if_needed_array () |
void | ncm_calc_prepare_if_needed_vargs () |
void | ncm_calc_set_reltol () |
void | ncm_calc_set_abstol () |
gdouble | ncm_calc_get_reltol () |
gdouble | ncm_calc_get_abstol () |
Types and Values
#define | NCM_CALC_DEFAULT_RELTOL |
#define | NCM_CALC_DEFAULT_ABSTOL |
#define | NCM_CALC_MAX_DEPS |
Description
Base class describing calculator objects, i.e., objetcs that use one or more NcmModel to perform calculations.
Functions
NcmCalcPrepare3 ()
void (*NcmCalcPrepare3) (NcmCalc *calc
,NcmModel *m1
,NcmModel *m2
,NcmModel *m3
);
NcmCalcPrepare4 ()
void (*NcmCalcPrepare4) (NcmCalc *calc
,NcmModel *m1
,NcmModel *m2
,NcmModel *m3
,NcmModel *m4
);
NcmCalcPrepare5 ()
void (*NcmCalcPrepare5) (NcmCalc *calc
,NcmModel *m1
,NcmModel *m2
,NcmModel *m3
,NcmModel *m4
,NcmModel *m5
);
NcmCalcPrepare6 ()
void (*NcmCalcPrepare6) (NcmCalc *calc
,NcmModel *m1
,NcmModel *m2
,NcmModel *m3
,NcmModel *m4
,NcmModel *m5
,NcmModel *m6
);
ncm_calc_class_set_num_dep ()
void ncm_calc_class_set_num_dep (NcmCalcClass *calc_class
,guint ndep
);
Sets the number of dependencies NcmModel
ncm_calc_class_set_dep ()
void ncm_calc_class_set_dep (NcmCalcClass *calc_class
,guint p
,GType dep_model
);
Sets the p
-th NcmModel to be of GType dep_model
.
ncm_calc_class_check ()
void
ncm_calc_class_check (NcmCalcClass *calc_class
);
Checks if all dependencies were set consistently.
ncm_calc_prepare_array ()
void ncm_calc_prepare_array (NcmCalc *calc
,NcmModel **ma
);
Prepares calc
using the models in ma
.
ncm_calc_prepare_if_needed_array ()
void ncm_calc_prepare_if_needed_array (NcmCalc *calc
,NcmModel **ma
);
Prepares calc
using the models in ma
.
ncm_calc_prepare_if_needed_vargs ()
void ncm_calc_prepare_if_needed_vargs (NcmCalc *calc
,...
);
Prepares calc
using the models in @... .
[skip]
ncm_calc_set_reltol ()
void ncm_calc_set_reltol (NcmCalc *calc
,const gdouble reltol
);
Sets the relative tolerance to reltol
.
ncm_calc_set_abstol ()
void ncm_calc_set_abstol (NcmCalc *calc
,const gdouble abstol
);
Sets the absolute tolerance to abstol
.