D2MW  1.0
DRAGON2 for MilkyWay
DRAGON::Sources_Ferriere01 Class Reference

#include <sources.h>

Inheritance diagram for DRAGON::Sources_Ferriere01:
DRAGON::Galaxy

Public Member Functions

 Sources_Ferriere01 ()
 
 Sources_Ferriere01 (const double &rate)
 
std::string description () const override
 
std::shared_ptr< Galaxyclone () 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
 

Detailed Description

Class to implement the Ferriere2001 model for source profile

Constructor & Destructor Documentation

§ Sources_Ferriere01() [1/2]

DRAGON::Sources_Ferriere01::Sources_Ferriere01 ( )
inline

Class Constructor

§ Sources_Ferriere01() [2/2]

DRAGON::Sources_Ferriere01::Sources_Ferriere01 ( const double &  rate)
inline

Member Function Documentation

§ clone()

std::shared_ptr<Galaxy> DRAGON::Sources_Ferriere01::clone ( ) const
inlineoverridevirtual

Get the pointer of this instance

Implements DRAGON::Galaxy.

§ compute_normalization()

void DRAGON::Sources_Ferriere01::compute_normalization ( )

Compute the source rate normalization such that the 2D integral gives the galactic rate

§ description()

std::string DRAGON::Sources_Ferriere01::description ( ) const
inlineoverridevirtual

Get the reference for the Ferriere2001 model

Returns
string containing a reference

Implements DRAGON::Galaxy.

§ get()

double DRAGON::Sources_Ferriere01::get ( const Vector3d pos) const
overridevirtual

Source surface density rate at the given position

Parameters
posGalactic 3D position
Returns
surface density rate

Reimplemented from DRAGON::Galaxy.


The documentation for this class was generated from the following files: