Method

NumCosmoHIPertTwoFluidscompute_spectrum

Declaration [src]

NcHIPertTwoFluidsStateInterp*
nc_hipert_two_fluids_compute_spectrum (
  NcHIPertTwoFluids* ptf,
  NcHICosmo* cosmo,
  const gdouble alpha,
  GArray* k_a,
  NcHIPertTwoFluidsLogger logger
)

Description [src]

Computes the spectrum at a given scale factor.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
alpha

Type: const gdouble

The scale factor.

k_a

Type: An array of double

An array of k.

The data is owned by the caller of the method.
logger

Type: NcHIPertTwoFluidsLogger

A NcHIPertTwoFluidsLogger.

The argument can be NULL.

Return value

Type: NcHIPertTwoFluidsStateInterp

A NcHIPertTwoFluidsStateInterp.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.