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