GammaLib 2.0.0
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Protected Attributes

const GModelSkym_parent
 Sky model.
 
const GSkyRegionm_region
 Sky region.
 

Additional Inherited Members

- Protected Member Functions inherited from GFunction
void init_members (void)
 Initialise class members.
 
void copy_members (const GFunction &function)
 Copy class members.
 
void free_members (void)
 Delete class members.
 

Detailed Description

Definition at line 223 of file GModelSky.hpp.

Constructor & Destructor Documentation

◆ eflux_kern()

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

Definition at line 225 of file GModelSky.hpp.

Member Function Documentation

◆ eval()

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 GEnergy::MeV(), gammalib::MeV2erg, and GModelSky::value().

Member Data Documentation

◆ m_parent

const GModelSky* GModelSky::eflux_kern::m_parent
protected

Sky model.

Definition at line 231 of file GModelSky.hpp.

◆ m_region

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: