Program Listing for File Cordes.h
↰ Return to documentation for file (include/crpropa/massDistribution/Cordes.h
)
#ifndef CRPROPA_CORDES_H
#define CRPROPA_CORDES_H
#include "crpropa/massDistribution/Density.h"
#include <cmath>
#include <string>
namespace crpropa {
class Cordes: public Density {
private:
// DO NOT CHANGE model type!
bool isforHI = false;
bool isforHII = true;
bool isforH2 = false;
public:
double getDensity(const Vector3d &position) const;
double getHIIDensity(const Vector3d &position) const;
double getNucleonDensity(const Vector3d &position) const;
bool getIsForHI();
bool getIsForHII();
bool getIsForH2();
std::string getDescription();
};
} // namespace crpropa
#endif // CRPROPA_CORDES_H