D2MW  1.0
DRAGON2 for MilkyWay
DRAGON::RadiationField_Delahaye10 Class Reference

#include <ISRF.h>

Inheritance diagram for DRAGON::RadiationField_Delahaye10:
DRAGON::Galaxy

Public Member Functions

 RadiationField_Delahaye10 ()
 
virtual std::string description () const override
 
virtual std::shared_ptr< Galaxyclone () const override
 
virtual double get (const Vector3d &pos, const double &frequency) const override
 
- Public Member Functions inherited from DRAGON::Galaxy
virtual ~Galaxy ()
 
virtual double get (const Vector3d &pos) 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
 

Constructor & Destructor Documentation

§ RadiationField_Delahaye10()

DRAGON::RadiationField_Delahaye10::RadiationField_Delahaye10 ( )
inline

Class to implement the Delahaye10 model for ISRF

Member Function Documentation

§ clone()

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

Get the pointer of this instance

Implements DRAGON::Galaxy.

§ description()

virtual std::string DRAGON::RadiationField_Delahaye10::description ( ) const
inlineoverridevirtual

Get the reference for the Delahaye10 model

Returns
string containing a reference

Implements DRAGON::Galaxy.

§ get()

double DRAGON::RadiationField_Delahaye10::get ( const Vector3d pos,
const double &  frequency 
) const
overridevirtual

Get ISRF energy spectrum at the given position

Parameters
posGalactic 3D position
energyphoton energy
Returns
differential energy density of ISRF

Reimplemented from DRAGON::Galaxy.


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