Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
elementnames.cpp File Reference
#include "cddefines.h"
#include "elementnames.h"
Include dependency graph for elementnames.cpp:

Functions

int elem_symbol_to_index (const string &chSym)
 
bool isElementSym (const string &chSym)
 

Variables

t_elementnames elementnames
 

Function Documentation

◆ elem_symbol_to_index()

int elem_symbol_to_index ( const string & chSym)

References CHARS_ELEMENT_SYM, elementnames, LIMELM, tolower(), and toupper().

Referenced by cdTemp(), chemical_to_spectral(), isElementSym(), and ParseAbundances().

Here is the call graph for this function:

◆ isElementSym()

bool isElementSym ( const string & chSym)

isElementSym - search for string among element symbols.

Parameters
chSyminput string
Returns
TRUE is an element, FALSE otherwise

References elem_symbol_to_index().

Referenced by chemical_to_spectral().

Here is the call graph for this function:

Variable Documentation

◆ elementnames