Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CollisionProxy Class Reference

#include <collision.h>

Collaboration diagram for CollisionProxy:

Public Member Functions

 CollisionProxy (CollisionList *list, int index)
 
realnumcol_str () const
 
int & is_gbar () const
 
double * rate_coef_ul_set () const
 
const double * rate_coef_ul () const
 
realnumrate_lu_nontherm_set () const
 
realnum rate_lu_nontherm () const
 
double & cool () const
 
double & heat () const
 
double ColUL (const ColliderList &colls) const
 
double ColUL (const ColliderDensities &colld) const
 
void copy (CollisionProxy other)
 

Private Attributes

CollisionListm_list
 
int m_index
 

Constructor & Destructor Documentation

CollisionProxy::CollisionProxy ( CollisionList list,
int  index 
)
inlineexplicit

Member Function Documentation

realnum & CollisionProxy::col_str ( ) const
inline
double CollisionProxy::ColUL ( const ColliderList colls) const
inline

collisional de-excitation rate, [s-1]

References ASSERT, ipNCOLLIDER, ColliderList::list, and rate_coef_ul().

Referenced by IonHydro(), iso_collide(), iso_cool(), iso_level(), lines(), PutLine(), Save_Line_RT(), and SaveDo().

Here is the call graph for this function:

double CollisionProxy::ColUL ( const ColliderDensities colld) const
inline

References ASSERT, ColliderDensities::density(), ipNCOLLIDER, and rate_coef_ul().

Here is the call graph for this function:

double & CollisionProxy::cool ( ) const
inline

cooling and heating due to collisional excitation [erg s-1 cm-3]

References CollisionList::m_cool, m_index, and m_list.

Referenced by atom_level2(), CollisionJunk(), CollisionZero(), copy(), DumpLine(), iso_cool(), PutLine(), and RT_line_one_tau_reset().

void CollisionProxy::copy ( CollisionProxy  other)
inline

References col_str(), cool(), heat(), ipNCOLLIDER, rate_coef_ul(), rate_coef_ul_set(), rate_lu_nontherm(), and rate_lu_nontherm_set().

Here is the call graph for this function:

int & CollisionProxy::is_gbar ( ) const
inline

is the collision strength created from gbar

is the collision strength created from gbar -1 = undefined, 0 = Not gbar, 1 = gbar

References m_index, CollisionList::m_is_gbar, and m_list.

Referenced by CollisionJunk().

const double * CollisionProxy::rate_coef_ul ( ) const
inline
double * CollisionProxy::rate_coef_ul_set ( ) const
inline

collisional de-excitation rate coefficients for individual colliders [cm3 s-1]

References m_index, m_list, and CollisionList::m_rates.

Referenced by CollisionJunk(), copy(), dBaseUpdateCollCoeffs(), and iso_collide().

realnum CollisionProxy::rate_lu_nontherm ( ) const
inline

References m_index, m_list, and CollisionList::m_rate_lu_nontherm.

Referenced by copy(), and iso_level().

realnum & CollisionProxy::rate_lu_nontherm_set ( ) const
inline

Member Data Documentation

int CollisionProxy::m_index
private

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