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

#include <abund.h>

Public Member Functions

void init ()
 
int getNiso ()
 
void setData (int Anum, realnum nmass, realnum nspin, realnum nmagmom)
 
int getAiso (int iso)
 
realnum getMass (int Anum)
 
realnum getSpin (int Anum)
 
realnum getMagMom (int Anum)
 
int setAbn (int Anum, realnum abn)
 
realnum getAbn (int Anum)
 
void normAbn ()
 
bool isAnyIllegal (void)
 
void prtIso (FILE *fp)
 
void prtIsoPairs (FILE *fp)
 
void rm_nuc_data ()
 

Private Member Functions

int getIsoInd (int Anum)
 

Private Attributes

int Niso
 
vector< int > Aiso
 
vector< realnumabnd
 
vector< realnummass
 
vector< realnumspin
 
vector< realnummagmom
 

Member Function Documentation

realnum isotope::getAbn ( int  Anum)
inline

References abnd, and getIsoInd().

Referenced by HyperfineCreate(), ParseElement(), and SetIsotopeFractions().

Here is the call graph for this function:

int isotope::getAiso ( int  iso)
inline

References Aiso, and Niso.

Referenced by SetIsotopeFractions().

int isotope::getIsoInd ( int  Anum)
inlineprivate

References Aiso, and Niso.

Referenced by getAbn(), getMagMom(), getMass(), getSpin(), and setAbn().

realnum isotope::getMagMom ( int  Anum)
inline

References getIsoInd(), and magmom.

Referenced by HyperfineCreate().

Here is the call graph for this function:

realnum isotope::getMass ( int  Anum)
inline

References getIsoInd(), and mass.

Referenced by SetIsotopeFractions().

Here is the call graph for this function:

int isotope::getNiso ( )
inline

References Niso.

Referenced by ParseAbundances(), ParseElement(), and SetIsotopeFractions().

realnum isotope::getSpin ( int  Anum)
inline

References getIsoInd(), and spin.

Referenced by HyperfineCreate().

Here is the call graph for this function:

void isotope::init ( )
inline

References Niso.

Referenced by InitDefaultsPreparse().

bool isotope::isAnyIllegal ( void  )
inline

References abnd, and Niso.

Referenced by ParseAbundances(), and ParseElement().

void isotope::normAbn ( )
inline

References abnd, and Niso.

Referenced by ParseAbundances(), and ParseElement().

void isotope::prtIso ( FILE *  fp)
inline

References Aiso, fprintf(), and Niso.

Referenced by ParseElement().

Here is the call graph for this function:

void isotope::prtIsoPairs ( FILE *  fp)
inline

References abnd, Aiso, fprintf(), and Niso.

Referenced by ParseAbundances(), and ParseElement().

Here is the call graph for this function:

void isotope::rm_nuc_data ( )
inline

References magmom, and spin.

Referenced by HyperfineCreate().

int isotope::setAbn ( int  Anum,
realnum  abn 
)
inline

References abnd, and getIsoInd().

Referenced by ParseAbundances(), and ParseElement().

Here is the call graph for this function:

void isotope::setData ( int  Anum,
realnum  nmass,
realnum  nspin,
realnum  nmagmom 
)
inline

References abnd, Aiso, magmom, mass, Niso, and spin.

Referenced by LoadIsotopes().

Member Data Documentation

vector<realnum> isotope::abnd
private
vector<int> isotope::Aiso
private
vector<realnum> isotope::magmom
private

Referenced by getMagMom(), rm_nuc_data(), and setData().

vector<realnum> isotope::mass
private

Referenced by getMass(), and setData().

int isotope::Niso
private
vector<realnum> isotope::spin
private

Referenced by getSpin(), rm_nuc_data(), and setData().


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