Method

NumCosmoHIPertTwoFluidscompute_spectra

Declaration [src]

GPtrArray*
nc_hipert_two_fluids_compute_spectra (
  NcHIPertTwoFluids* ptf,
  NcHICosmo* cosmo,
  GArray* alpha_a,
  GArray* k_a,
  NcHIPertTwoFluidsLogger logger
)

Description [src]

Computes the spectrum at a set of alpha values and a set of k values.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: An array of double

An array of alpha.

The data is owned by the caller of the method.
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: An array of None

A NcHIPertTwoFluidsStateInterp.

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