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

#include <GModelSpectralExpInvPlaw.hpp>

Inheritance diagram for GModelSpectralExpInvPlaw::eflux_kernel:
GFunction

Public Member Functions

 eflux_kernel (const double &norm, const double &index, const double &pivot, const double &lambda)
 
double eval (const double &eng)
 Kernel for energy flux integration. 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

double m_norm
 Normalization. More...
 
double m_index
 Index. More...
 
double m_inv_pivot
 1 / Pivot energy More...
 
double m_lambda
 Cut-off parameter. 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 149 of file GModelSpectralExpInvPlaw.hpp.

Constructor & Destructor Documentation

GModelSpectralExpInvPlaw::eflux_kernel::eflux_kernel ( const double &  norm,
const double &  index,
const double &  pivot,
const double &  lambda 
)
inline

Definition at line 151 of file GModelSpectralExpInvPlaw.hpp.

Member Function Documentation

double GModelSpectralExpInvPlaw::eflux_kernel::eval ( const double &  energy)
virtual

Kernel for energy flux integration.

Parameters
[in]energyEnergy (MeV).

Implements GFunction.

Definition at line 956 of file GModelSpectralExpInvPlaw.cpp.

References exp(), GModelSpectralExpInvPlaw::m_index, GModelSpectralExpInvPlaw::m_lambda, GModelSpectralExpInvPlaw::m_norm, and pow().

Member Data Documentation

double GModelSpectralExpInvPlaw::eflux_kernel::m_index
protected

Index.

Definition at line 162 of file GModelSpectralExpInvPlaw.hpp.

double GModelSpectralExpInvPlaw::eflux_kernel::m_inv_pivot
protected

1 / Pivot energy

Definition at line 163 of file GModelSpectralExpInvPlaw.hpp.

double GModelSpectralExpInvPlaw::eflux_kernel::m_lambda
protected

Cut-off parameter.

Definition at line 164 of file GModelSpectralExpInvPlaw.hpp.

double GModelSpectralExpInvPlaw::eflux_kernel::m_norm
protected

Normalization.

Definition at line 161 of file GModelSpectralExpInvPlaw.hpp.


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