Top | ![]() |
![]() |
![]() |
![]() |
Functions
NcmODE * | ncm_ode_ref () |
void | ncm_ode_free () |
void | ncm_ode_clear () |
void | ncm_ode_set_sys_size () |
guint | ncm_ode_get_sys_size () |
Description
This class determine the methods needed to implement a ordinary differential equation (ODE) solver.
Functions
ncm_ode_ref ()
NcmODE *
ncm_ode_ref (NcmODE *ode
);
Increases the reference count of ode
by one atomically.
ncm_ode_free ()
void
ncm_ode_free (NcmODE *ode
);
Atomically decrements the reference count of ode
by one.
If the reference count drops to 0, all memory allocated by ode
is released.
ncm_ode_clear ()
void
ncm_ode_clear (NcmODE **ode
);
If ode
is different from NULL,
atomically decrements the reference count of ode
by one.
If the reference count drops to 0, all memory allocated
by ode
is released and ode
is set to NULL.
ncm_ode_set_sys_size ()
void ncm_ode_set_sys_size (NcmODE *ode
,guint sys_size
);
Sets the ODE system size to sys_size
.
[virtual set_sys_size]
Property Details
The “sys-size”
property
“sys-size” guint
The ordinary differential equation (EDO) system size.
Owner: NcmODE
Flags: Read / Write / Construct
Allowed values: >= 1
Default value: 1