CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
axion_ncdm_species.h
1
#pragma once
2
#include <string>
3
#include <string_view>
4
#include <vector>
5
6
#include "../species/ncdm_species.h"
7
#include "../species/species_build_context.h"
8
17
class
AxionNCDMSpecies
:
public
NCDMSpecies {
18
public
:
22
bool
SupportsExplicitPerturbationEvolver
()
const override
{
23
return
false
;
24
}
25
static
constexpr
std::string_view kTypeName =
"ncdm_axion"
;
26
27
AxionNCDMSpecies
(
FileContent
* pfc,
28
const
std::string& instance_name,
29
const
NcdmSettings& settings,
30
const
background* pba,
31
const
BackgroundModule* bgm);
32
33
static
std::vector<Named> CreateAll(
const
SpeciesBuildContext
& ctx);
34
35
protected
:
36
double
EvaluatePsdAnalytic
(
double
q)
const override
;
37
};
AxionNCDMSpecies
Definition
axion_ncdm_species.h:17
AxionNCDMSpecies::SupportsExplicitPerturbationEvolver
bool SupportsExplicitPerturbationEvolver() const override
Definition
axion_ncdm_species.h:22
AxionNCDMSpecies::EvaluatePsdAnalytic
double EvaluatePsdAnalytic(double q) const override
Definition
axion_ncdm_species.cpp:55
FileContent
Definition
parser.h:23
SpeciesBuildContext
Definition
species_build_context.h:58
species
axion_ncdm_species.h
Generated by
1.9.8