Method

NumCosmoMathCSQ1Dfind_adiab_time_limit

Declaration [src]

gboolean
ncm_csq1d_find_adiab_time_limit (
  NcmCSQ1D* csq1d,
  NcmModel* model,
  gdouble t0,
  gdouble t1,
  const gdouble reltol,
  gdouble* ti
)

Description [src]

Computes the time upper limit $t_i \in [t_0, t_1]$ where the adiabatic approximation is satisfied up to reltol. If both times are adiabatic, the time closer to the adiabatic limit is chosen. If both times are non-adiabatic, the function returns FALSE.

Parameters

model

Type: NcmModel

A NcmModel.

The argument can be NULL.
The data is owned by the caller of the method.
t0

Type: gdouble

Time lower bound $t_0$.

t1

Type: gdouble

Time upper bound $t_1$.

reltol

Type: const gdouble

Relative tolerance.

ti

Type: gdouble*

Adiabatic time limit $t_i$.

The argument will be set by the function.

Return value

Type: gboolean

Whether the time limit was found.