GammaLib
2.0.0
|
#include <GModelSky.hpp>
Public Member Functions | |
flux_kern (const GModelSky *parent, const GSkyRegion *region) | |
double | eval (const double &x) |
Integration kernel for flux_kern() class. More... | |
Public Member Functions inherited from GFunction | |
GFunction (void) | |
Void constructor. More... | |
GFunction (const GFunction &function) | |
Copy constructor. More... | |
virtual | ~GFunction (void) |
Destructor. More... | |
GFunction & | operator= (const GFunction &function) |
Assignment operator. More... | |
Protected Attributes | |
const GModelSky * | m_parent |
Sky model. More... | |
const GSkyRegion * | m_region |
Sky region. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GFunction &function) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Definition at line 212 of file GModelSky.hpp.
|
inline |
Definition at line 214 of file GModelSky.hpp.
|
virtual |
Integration kernel for flux_kern() class.
[in] | x | Function value. |
This method implements the integration kernel needed for the flux() method.
Implements GFunction.
Definition at line 2212 of file GModelSky.cpp.
References GModelSpectral::eval(), exp(), GModelSpatial::flux(), m_parent, m_region, GEnergy::MeV(), GModelSky::spatial(), GModelSky::spectral(), and GModelSky::value().
|
protected |
|
protected |