Method

NumCosmoMathCSQ1Dfind_adiab_max

Declaration [src]

gdouble
ncm_csq1d_find_adiab_max (
  NcmCSQ1D* csq1d,
  NcmModel* model,
  gdouble t0,
  gdouble t1,
  const gdouble border_eps,
  gdouble* F1_min,
  gdouble* t_Bl,
  gdouble* t_Bu
)

Description [src]

Computes the time $t_\mathrm{min}$ that minimizes $F_1(t)$. Also computes the border values $t_{B,\mathrm{lower}}$ and $t_{B,\mathrm{upper}}$ such that $|F_1(t_{B,\mathrm{lower}}) - F_1(t_\mathrm{min})| = \epsilon$ for $t_{B,\mathrm{lower}} < t_\mathrm{min}$ and $|F_1(t_{B,\mathrm{upper}}) - F_1(t_\mathrm{min})| = \epsilon$ for $t_{B,\mathrm{upper}} > t_\mathrm{min}$.

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$.

border_eps

Type: const gdouble

Border epsilon $\epsilon$.

F1_min

Type: gdouble*

The value of $F_1(t_\mathrm{min})$.

The argument will be set by the function.
t_Bl

Type: gdouble*

The value of $t_{B,\mathrm{lower}}$.

The argument will be set by the function.
t_Bu

Type: gdouble*

The value of $t_{B,\mathrm{upper}}$.

The argument will be set by the function.

Return value

Type: gdouble

The time $t_\mathrm{min}$.