Top |
void | (*NcHIPertWKBGetNuV) () |
void | (*NcHIPertWKBGetMnuDmnu) () |
gdouble | (*NcHIPertWKBGetVal) () |
NcHIPertWKB * | nc_hipert_wkb_ref () |
void | nc_hipert_wkb_free () |
void | nc_hipert_wkb_clear () |
void | nc_hipert_wkb_set_interval () |
void | nc_hipert_wkb_get_nu_V () |
void | nc_hipert_wkb_get_mnu_dmnu () |
gdouble | nc_hipert_wkb_get_m () |
gdouble | nc_hipert_wkb_get_nu2 () |
gdouble | nc_hipert_wkb_get_dVnu2 () |
void | nc_hipert_wkb_prepare () |
void | nc_hipert_wkb_q () |
void | nc_hipert_wkb_q_p () |
gdouble | nc_hipert_wkb_nuA () |
gdouble | nc_hipert_wkb_phase () |
gdouble | nc_hipert_wkb_maxtime () |
gdouble | nc_hipert_wkb_maxtime_prec () |
void (*NcHIPertWKBGetNuV) (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
,gdouble *nu
,gdouble *V
);
void (*NcHIPertWKBGetMnuDmnu) (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
,gdouble *mnu
,gdouble *dmnu
);
gdouble (*NcHIPertWKBGetVal) (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
);
NcHIPertWKB *
nc_hipert_wkb_ref (NcHIPertWKB *wkb
);
Increases the reference count of wkb
.
void
nc_hipert_wkb_free (NcHIPertWKB *wkb
);
Decreases the reference count of wkb
.
void
nc_hipert_wkb_clear (NcHIPertWKB **wkb
);
Decreases the reference count of *wkb
and sets *wkb
to NULL.
void nc_hipert_wkb_set_interval (NcHIPertWKB *wkb
,gdouble alpha_i
,gdouble alpha_f
);
Sets the interval to calculate the WKB modes to $(\alpha_i,\,\alpha_f)$.
void nc_hipert_wkb_get_nu_V (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
,gdouble *nu
,gdouble *V
);
FIXME
[virtual get_nu_V]
wkb |
||
model |
a NcmModel |
|
alpha |
log-redshift time |
|
k |
mode $k$ |
|
nu |
frequency $\nu$. |
[out] |
V |
WKB potential. |
[out] |
void nc_hipert_wkb_get_mnu_dmnu (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
,gdouble *mnu
,gdouble *dmnu
);
FIXME
[virtual get_mnu_dmnu]
wkb |
||
model |
a NcmModel |
|
alpha |
log-redshift time |
|
k |
mode $k$ |
|
mnu |
mass-frequency $m\nu$. |
[out] |
dmnu |
mass-frequency derivative $\mathrm{d}m\nu/\mathrm{d}\alpha$. |
[out] |
gdouble nc_hipert_wkb_get_m (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
);
FIXME
[virtual get_m]
gdouble nc_hipert_wkb_get_nu2 (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
);
FIXME
[virtual get_nu2]
gdouble nc_hipert_wkb_get_dVnu2 (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble k
);
FIXME
[virtual get_dVnu2]
void nc_hipert_wkb_prepare (NcHIPertWKB *wkb
,NcmModel *model
);
Prepare the object for WKB calculations using the model model
. It uses the wkb
approximation until wkb->reltol
is reached and then it solves the non-linear equation of motion
for $\nu_A$ for the rest of the interval.
void nc_hipert_wkb_q (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble *Re_q
,gdouble *Im_q
);
Computes the WKB solution $q_\text{WKB}$ for the mode $k$ at the time $\alpha$.
wkb |
||
model |
a NcmModel |
|
alpha |
the log-redshift time |
|
Re_q |
Real part of the wkb solution. |
[out caller-allocates] |
Im_q |
Imaginary part of the wkb solution. |
[out caller-allocates] |
void nc_hipert_wkb_q_p (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
,gdouble *Re_q
,gdouble *Im_q
,gdouble *Re_p
,gdouble *Im_p
);
Computes the WKB solution $q_\text{WKB}$ and its momentum for the mode $k$ at the time $\alpha$.
wkb |
a NcHIPertWKB. |
|
model |
a NcmModel |
|
alpha |
the log-redshift time. |
|
Re_q |
Real part of the wkb solution. |
[out caller-allocates] |
Im_q |
Imaginary part of the wkb solution. |
[out caller-allocates] |
Re_p |
Real part of the wkb solution momentum. |
[out caller-allocates] |
Im_p |
Imaginary part of the wkb solution momentum. |
[out caller-allocates] |
gdouble nc_hipert_wkb_nuA (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
);
FIXME
gdouble nc_hipert_wkb_phase (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha
);
FIXME
gdouble nc_hipert_wkb_maxtime (NcHIPertWKB *wkb
,NcmModel *model
,gdouble alpha0
,gdouble alpha1
);
Search for the root of $\nu_A^2$ between $\alpha_0$ and $\alpha_1$.
wkb |
||
model |
a NcmModel |
|
alpha0 |
the initial log-redshift time |
|
alpha1 |
the final log-redshift time |
gdouble nc_hipert_wkb_maxtime_prec (NcHIPertWKB *wkb
,NcmModel *model
,NcHIPertWKBCmp cmp
,gdouble alpha0
,gdouble alpha1
);
Search for the instant at which the WKB approximation starts to fails within the asked precision.