Top | ![]() |
![]() |
![]() |
![]() |
Functions
gdouble | (*NcHIPertWKBFunc) () |
void | (*NcHIPertWKBEom) () |
NcHIPertWKB * | nc_hipert_wkb_new () |
NcHIPertWKB * | nc_hipert_wkb_ref () |
void | nc_hipert_wkb_free () |
void | nc_hipert_wkb_clear () |
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 () |
Functions
NcHIPertWKBEom ()
void (*NcHIPertWKBEom) (GObject *obj
,gdouble alpha
,gdouble k
,gdouble *nu2
,gdouble *m
,gdouble *dlnm
);
nc_hipert_wkb_new ()
NcHIPertWKB * nc_hipert_wkb_new (GType impl_type
,NcHIPertWKBFunc nuA2
,NcHIPertWKBFunc V
,NcHIPertWKBFunc dmnuA_nuA
,NcHIPertWKBEom eom
);
Creates a new NcHIPertWKB object.
nc_hipert_wkb_ref ()
NcHIPertWKB *
nc_hipert_wkb_ref (NcHIPertWKB *wkb
);
Increases the reference count of wkb
.
nc_hipert_wkb_free ()
void
nc_hipert_wkb_free (NcHIPertWKB *wkb
);
Decreases the reference count of wkb
.
nc_hipert_wkb_clear ()
void
nc_hipert_wkb_clear (NcHIPertWKB **wkb
);
Decreases the reference count of *wkb
and sets *wkb
to NULL.
nc_hipert_wkb_prepare ()
void nc_hipert_wkb_prepare (NcHIPertWKB *wkb
,GObject *obj
,gdouble prec
,gdouble alpha_i
,gdouble alpha_f
);
Prepare the object for WKB calculations using the implementation obj
. It uses the wkb
approximation until prec
is reached and then it solves the non-linear equation of motion
for $\nu_A$ for the rest of the interval.
Parameters
wkb |
a NcHIPertWKB. |
|
obj |
the WKB implementation. |
|
prec |
Required precision. |
|
alpha_i |
initial log-redshift time. |
|
alpha_f |
final log-redshift time. |
nc_hipert_wkb_q ()
void nc_hipert_wkb_q (NcHIPertWKB *wkb
,GObject *obj
,gdouble alpha
,gdouble *Re_q
,gdouble *Im_q
);
Computes the WKB solution $q_\text{WKB}$ for the mode $k$ at the time $\alpha$.
Parameters
wkb |
a NcHIPertWKB. |
|
obj |
the WKB implementation. |
|
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] |
nc_hipert_wkb_q_p ()
void nc_hipert_wkb_q_p (NcHIPertWKB *wkb
,GObject *obj
,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$.
Parameters
wkb |
a NcHIPertWKB. |
|
obj |
the WKB implementation. |
|
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] |
nc_hipert_wkb_nuA ()
gdouble nc_hipert_wkb_nuA (NcHIPertWKB *wkb
,GObject *obj
,gdouble alpha
);
FIXME
nc_hipert_wkb_phase ()
gdouble nc_hipert_wkb_phase (NcHIPertWKB *wkb
,GObject *obj
,gdouble alpha
);
FIXME
nc_hipert_wkb_maxtime ()
gdouble nc_hipert_wkb_maxtime (NcHIPertWKB *wkb
,GObject *obj
,gdouble alpha0
,gdouble alpha1
);
Search for the root of $\nu_A^2$ between $\alpha_0$ and $\alpha_1$.
Parameters
wkb |
a NcHIPertWKB. |
|
obj |
the WKB implementation. |
|
alpha0 |
the initial log-redshift time. |
|
alpha1 |
the final log-redshift time. |
nc_hipert_wkb_maxtime_prec ()
gdouble nc_hipert_wkb_maxtime_prec (NcHIPertWKB *wkb
,GObject *obj
,NcHIPertWKBCmp cmp
,gdouble prec
,gdouble alpha0
,gdouble alpha1
);
Search for the instant at which the WKB approximation starts to fails within the asked precision.
Parameters
wkb |
a NcHIPertWKB. |
|
obj |
the WKB implementation. |
|
cmp |
Comparison type. |
|
prec |
Required precision. |
|
alpha0 |
the initial log-redshift time. |
|
alpha1 |
the final log-redshift time. |
Property Details
The “impl-type”
property
“impl-type” GType *
Implementation GType.
Flags: Write / Construct Only
Allowed values: void