GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GModelSky::eflux_kern Class Reference

#include <GModelSky.hpp>

Inheritance diagram for GModelSky::eflux_kern:
GFunction

Public Member Functions

 eflux_kern (const GModelSky *parent, const GSkyRegion *region)
 
double eval (const double &x)
 Integration kernel for eflux_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...
 
GFunctionoperator= (const GFunction &function)
 Assignment operator. More...
 

Protected Attributes

const GModelSkym_parent
 Sky model. More...
 
const GSkyRegionm_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...
 

Detailed Description

Definition at line 223 of file GModelSky.hpp.

Constructor & Destructor Documentation

GModelSky::eflux_kern::eflux_kern ( const GModelSky parent,
const GSkyRegion region 
)
inline

Definition at line 225 of file GModelSky.hpp.

Member Function Documentation

double GModelSky::eflux_kern::eval ( const double &  x)
virtual

Integration kernel for eflux_kern() class.

Parameters
[in]xFunction value.
Returns
Energy flux (erg/cm2/s/MeV)

This method implements the integration kernel needed for the eflux() method.

Implements GFunction.

Definition at line 2242 of file GModelSky.cpp.

References exp(), GEnergy::MeV(), gammalib::MeV2erg, and GModelSky::value().

Member Data Documentation

const GModelSky* GModelSky::eflux_kern::m_parent
protected

Sky model.

Definition at line 231 of file GModelSky.hpp.

const GSkyRegion* GModelSky::eflux_kern::m_region
protected

Sky region.

Definition at line 232 of file GModelSky.hpp.


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