Top | ![]() |
![]() |
![]() |
![]() |
Density Profile Function Abstract ClassDensity Profile Function Abstract Class — Defines the prototype of the NcDensityProfile object. |
Description
This module comprises the set of functions to compute the matter density profile in both real and Fourier spaces.
Functions
nc_density_profile_new_from_name ()
NcDensityProfile *
nc_density_profile_new_from_name (gchar *density_profile_name
);
This function returns a new NcDensityProfile whose type is defined by density_profile_name
string.
nc_density_profile_eval_fourier ()
gdouble nc_density_profile_eval_fourier (NcDensityProfile *dp
,NcHICosmo *model
,const gdouble k
,const gdouble M
,const gdouble z
);
This function computes the density profile in the Fourier space.
nc_density_profile_free ()
void
nc_density_profile_free (NcDensityProfile *dp
);
Atomically decrements the reference count of dp
by one. If the reference count drops to 0,
all memory allocated by dp
is released.
nc_density_profile_clear ()
void
nc_density_profile_clear (NcDensityProfile **dp
);
Atomically decrements the reference count of dp
by one. If the reference count drops to 0,
all memory allocated by dp
is released. Set the pointer to NULL;