![]() |
D2MW
1.0
DRAGON2 for MilkyWay
|
#include <sources.h>
Public Member Functions | |
Sources_Ferriere01 () | |
Sources_Ferriere01 (const double &rate) | |
std::string | description () const override |
std::shared_ptr< Galaxy > | clone () const override |
double | get (const Vector3d &pos) const override |
void | compute_normalization () |
![]() | |
virtual | ~Galaxy () |
virtual double | get (const Vector3d &pos, const double &scalar) const |
Additional Inherited Members | |
![]() | |
void | set_model_name (const std::string &m) |
![]() | |
std::string | model |
Class to implement the Ferriere2001 model for source profile
|
inline |
Class Constructor
|
inline |
|
inlineoverridevirtual |
Get the pointer of this instance
Implements DRAGON::Galaxy.
void DRAGON::Sources_Ferriere01::compute_normalization | ( | ) |
Compute the source rate normalization such that the 2D integral gives the galactic rate
|
inlineoverridevirtual |
Get the reference for the Ferriere2001 model
Implements DRAGON::Galaxy.
|
overridevirtual |
Source surface density rate at the given position
pos | Galactic 3D position |
Reimplemented from DRAGON::Galaxy.