|
CLASSpp Manual
Cosmology reference and developer manual
|
#include <greybody_ncdm_species.h>
Inherits NCDMSpecies.
Public Member Functions | |
| std::optional< double > | GetParam (const std::string &name) const override |
Protected Member Functions | |
| double | EvaluatePsdAnalytic (double q) const override |
| quadrature_method | DefaultQuadratureStrategy () const override |
| void | FillQuadratureParams (GBQuadParams &p) const override |
NCDM with a grey-body phase-space distribution: f0(q) = 2/(2π)³ (q/q0)^(α-1) / (exp(α x q) + 1). Parameterized directly by (alpha, q0, x) or by inverting velocity moments (r, M2, M3). All perturbation/background behavior is inherited from NCDMSpecies.
|
overridevirtual |
Generic species-param accessor for the Python wrapper layer and cross-module readers that don't want to downcast. Each species may opt in by overriding this and returning the named param; default is std::nullopt.
Reimplemented from BaseSpecies.
|
overrideprotectedvirtual |
Analytic PSD f0(q) for the non-file case. Base: Fermi-Dirac with chemical potential ksi_. GreyBodyNCDMSpecies overrides this.
Reimplemented from NCDMBaseSpecies.
|
overrideprotectedvirtual |
Default quadrature strategy when the user leaves quadrature_strategy_ at qm_auto. Base: qm_auto (unchanged). GreyBodyNCDMSpecies returns a GB-specific method. Wired into InitQuadrature in Task 5.1; not consulted yet.
Reimplemented from NCDMBaseSpecies.
|
overrideprotectedvirtual |
Populate grey-body quadrature parameters. Base: leaves p.active == false.
Reimplemented from NCDMBaseSpecies.