| NumCosmo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
Synopsis
struct NcMatterVar; struct NcMatterVarClass; enum NcMatterVarStrategy; gdouble nc_matter_var_R_to_mass (NcMatterVar *vp,NcHICosmo *model,gdouble R); NcMatterVar * nc_matter_var_copy (NcMatterVar *vp); gdouble nc_matter_var_dlnvar0_dR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR); gdouble nc_matter_var_dlnvar0_dlnR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR); gdouble nc_matter_var_dsigma0_dR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR); void nc_matter_var_free (NcMatterVar *vp); gdouble nc_matter_var_integrand_over_window2 (NcMatterVar *vp,NcHICosmo *model,gdouble k); gdouble nc_matter_var_lnM_to_lnR (NcMatterVar *vp,NcHICosmo *model,gdouble lnM); gdouble nc_matter_var_lnR_to_lnM (NcMatterVar *vp,NcHICosmo *model,gdouble lnR); gdouble nc_matter_var_mass_to_R (NcMatterVar *vp,NcHICosmo *model,gdouble M); NcMatterVar * nc_matter_var_new (NcMatterVarStrategy vs,NcWindow *wp,NcTransferFunc *tf); void nc_matter_var_prepare (NcMatterVar *vp,NcHICosmo *model); gdouble nc_matter_var_sigma8_sqrtvar0 (NcMatterVar *vp,NcHICosmo *model); gdouble nc_matter_var_spectral_moment_over_growth2 (NcMatterVar *vp,NcHICosmo *model,gint n); gdouble nc_matter_var_spectral_moment_over_growth2_gaussian (NcMatterVar *vp,NcHICosmo *model,gint n); gdouble nc_matter_var_spectral_moment_over_growth2_tophat (NcMatterVar *vp,NcHICosmo *model,gint n); gdouble nc_matter_var_var0 (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
Properties
"strategy" NcMatterVarStrategy : Read / Write / Construct Only "transfer" NcTransferFunc* : Read / Write / Construct Only "window" NcWindow* : Read / Write / Construct Only
Details
enum NcMatterVarStrategy
typedef enum {
NC_MATTER_VAR_NUMINT,
NC_MATTER_VAR_SPLINEINT,
NC_MATTER_VAR_FFT,
} NcMatterVarStrategy;
FIXME
nc_matter_var_R_to_mass ()
gdouble nc_matter_var_R_to_mass (NcMatterVar *vp,NcHICosmo *model,gdouble R);
FIXME mass enclosed in the volume specified by the window function
|
a NcMatterVar. |
|
a NcHICosmo. |
|
radius. |
Returns : |
FIXME |
nc_matter_var_copy ()
NcMatterVar * nc_matter_var_copy (NcMatterVar *vp);
This function duplicates the NcMatterVar object setting the same values of the original propertities.
|
a NcMatterVar. |
Returns : |
A new NcMatterVar. [transfer full] |
nc_matter_var_dlnvar0_dR ()
gdouble nc_matter_var_dlnvar0_dR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of the radius. |
Returns : |
FIXME |
nc_matter_var_dlnvar0_dlnR ()
gdouble nc_matter_var_dlnvar0_dlnR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of the radius. |
Returns : |
FIXME |
nc_matter_var_dsigma0_dR ()
gdouble nc_matter_var_dsigma0_dR (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
nc_matter_var_free ()
void nc_matter_var_free (NcMatterVar *vp);
Atomically decrements the reference count of vp by one. If the reference count drops to 0,
all memory allocated by vp is released.
|
a NcMatterVar. |
nc_matter_var_integrand_over_window2 ()
gdouble nc_matter_var_integrand_over_window2 (NcMatterVar *vp,NcHICosmo *model,gdouble k);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
FIXME |
Returns : |
FIXME |
nc_matter_var_lnM_to_lnR ()
gdouble nc_matter_var_lnM_to_lnR (NcMatterVar *vp,NcHICosmo *model,gdouble lnM);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of the mass enclosed in the volume specified by the window function. |
Returns : |
FIXME |
nc_matter_var_lnR_to_lnM ()
gdouble nc_matter_var_lnR_to_lnM (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
FIXME mass enclosed in the volume specified by the window function
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of the radius. |
Returns : |
FIXME |
nc_matter_var_mass_to_R ()
gdouble nc_matter_var_mass_to_R (NcMatterVar *vp,NcHICosmo *model,gdouble M);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
mass enclosed in the volume specified by the window function. |
Returns : |
FIXME |
nc_matter_var_new ()
NcMatterVar * nc_matter_var_new (NcMatterVarStrategy vs,NcWindow *wp,NcTransferFunc *tf);
This function allocates memory for a new NcMatterVar object and sets its properties to the values from the input arguments.
|
a NcMatterVarStrategy. |
|
a NcWindow. |
|
a NcTransferFunc. |
Returns : |
A new NcMatterVar. |
nc_matter_var_prepare ()
void nc_matter_var_prepare (NcMatterVar *vp,NcHICosmo *model);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
nc_matter_var_sigma8_sqrtvar0 ()
gdouble nc_matter_var_sigma8_sqrtvar0 (NcMatterVar *vp,NcHICosmo *model);
nc_matter_var_spectral_moment_over_growth2 ()
gdouble nc_matter_var_spectral_moment_over_growth2 (NcMatterVar *vp,NcHICosmo *model,gint n);
FIXME \frac{\sigma^2}{D^2}
|
a NcMatterVar. |
|
a NcHICosmo. |
|
FIXME |
Returns : |
FIXME |
nc_matter_var_spectral_moment_over_growth2_gaussian ()
gdouble nc_matter_var_spectral_moment_over_growth2_gaussian (NcMatterVar *vp,NcHICosmo *model,gint n);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
FIXME |
Returns : |
FIXME |
nc_matter_var_spectral_moment_over_growth2_tophat ()
gdouble nc_matter_var_spectral_moment_over_growth2_tophat (NcMatterVar *vp,NcHICosmo *model,gint n);
FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
FIXME |
Returns : |
FIXME |
nc_matter_var_var0 ()
gdouble nc_matter_var_var0 (NcMatterVar *vp,NcHICosmo *model,gdouble lnR);
This function returns the variance of the density contrast at redshift \f$ z = 0 \f$ computed at scale R FIXME
|
a NcMatterVar. |
|
a NcHICosmo. |
|
logarithm base e of the radius. |
Returns : |
a gdouble which is the variance \f$ \sigma^2 (R, z = 0) \f$. |
Property Details
The "strategy" property
"strategy" NcMatterVarStrategy : Read / Write / Construct Only
Strategy.
Default value: NC_MATTER_VAR_FFT
The "transfer" property
"transfer" NcTransferFunc* : Read / Write / Construct Only
This property keeps the transferfunc object.
The "window" property
"window" NcWindow* : Read / Write / Construct Only
This property keeps the window object.