Top |
NcHIPertFirstOrderNcHIPertFirstOrder — Base object for implementing first order perturbation in a Friedmann background. |
double | abstol | Read / Write / Construct |
NcmObjArray * | comp-array | Read / Write / Construct |
NcDistance * | distance | Read / Write / Construct |
NcHIPertGravGauge | gauge | Read / Write / Construct |
NcHIPertGrav * | grav | Read / Write / Construct |
NcHIPertFirstOrderInteg | integ | Read / Write / Construct |
NcRecomb * | recomb | Read / Write / Construct |
double | reltol | Read / Write / Construct |
NcScalefactor * | scalefactor | Read / Write / Construct |
GEnum ╰── NcHIPertFirstOrderInteg GObject ╰── NcHIPert ╰── NcHIPertBoltzmann ╰── NcHIPertFirstOrder
NcHIPertFirstOrder *
nc_hipert_first_order_new (void
);
Creates a new NcHIPertFirstOrder.
NcHIPertFirstOrder * nc_hipert_first_order_new_full (NcDistance *dist
,NcRecomb *recomb
,NcScalefactor *a
);
Creates a new NcHIPertFirstOrder.
NcHIPertFirstOrder *
nc_hipert_first_order_ref (NcHIPertFirstOrder *fo
);
Increases the reference count of fo
.
void
nc_hipert_first_order_free (NcHIPertFirstOrder *fo
);
Decreases the reference count of fo
.
void
nc_hipert_first_order_clear (NcHIPertFirstOrder **fo
);
Decreases the reference count of *fo
and sets the pointer *fo
to NULL.
void nc_hipert_first_order_set_gauge (NcHIPertFirstOrder *fo
,NcHIPertGravGauge gauge
);
Sets the gauge to be used in the first order system.
NcHIPertGravGauge
nc_hipert_first_order_get_gauge (NcHIPertFirstOrder *fo
);
Gets the gauge used by fo
.
void nc_hipert_first_order_set_reltol (NcHIPertFirstOrder *fo
,const gdouble reltol
);
Sets the relative tolerance to reltol
.
void nc_hipert_first_order_set_abstol (NcHIPertFirstOrder *fo
,const gdouble abstol
);
Sets the absolute tolerance to abstol
.
gdouble
nc_hipert_first_order_get_reltol (NcHIPertFirstOrder *fo
);
Gets the relative tolerance.
gdouble
nc_hipert_first_order_get_abstol (NcHIPertFirstOrder *fo
);
Gets the absolute tolerance.
void nc_hipert_first_order_set_integ (NcHIPertFirstOrder *fo
,NcHIPertFirstOrderInteg integ
);
Sets the integrator to be used.
NcHIPertFirstOrderInteg
nc_hipert_first_order_get_integ (NcHIPertFirstOrder *fo
);
Gets the integrator used.
void nc_hipert_first_order_set_grav (NcHIPertFirstOrder *fo
,NcHIPertGrav *grav
);
Sets the gravitation object.
NcHIPertGrav *
nc_hipert_first_order_get_grav (NcHIPertFirstOrder *fo
);
Gets the gravitation NcHIPertGrav object.
NcHIPertGrav *
nc_hipert_first_order_peek_grav (NcHIPertFirstOrder *fo
);
Peeks the NcHIPertGrav object.
void nc_hipert_first_order_add_comp (NcHIPertFirstOrder *fo
,NcHIPertComp *comp
);
Adds a new component comp
to the system.
void nc_hipert_first_order_prepare (NcHIPertFirstOrder *fo
,NcHICosmo *cosmo
);
Adds a new component comp
to the system.
“abstol”
property “abstol” double
Absolute tolerance tolerance.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
“comp-array”
property“comp-array” NcmObjArray *
Components array.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
“distance”
property“distance” NcDistance *
Distance object.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
“gauge”
property“gauge” NcHIPertGravGauge
Gauge.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
Default value: NC_HIPERT_GRAV_GAUGE_SYNCHRONOUS
“grav”
property“grav” NcHIPertGrav *
Gravitation object.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
“integ”
property“integ” NcHIPertFirstOrderInteg
ODE integrator.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
Default value: NC_HIPERT_FIRST_ORDER_INTEG_ARKODE
“recomb”
property“recomb” NcRecomb *
Recombination object.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
“reltol”
property “reltol” double
Relative tolerance.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 1e-07
“scalefactor”
property“scalefactor” NcScalefactor *
Scale factor object.
Owner: NcHIPertFirstOrder
Flags: Read / Write / Construct