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
17class AxionNCDMSpecies : public NCDMSpecies {
18 public:
23 return false;
24 }
25 static constexpr std::string_view kTypeName = "ncdm_axion";
26
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};
Definition axion_ncdm_species.h:17
bool SupportsExplicitPerturbationEvolver() const override
Definition axion_ncdm_species.h:22
double EvaluatePsdAnalytic(double q) const override
Definition axion_ncdm_species.cpp:55
Definition parser.h:23
Definition species_build_context.h:58