cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
elementnames.cpp File Reference
#include "cddefines.h"
#include "elementnames.h"
Include dependency graph for elementnames.cpp:

Go to the source code of this file.

Functions

int nelem_symbol_to_index (const char *chSym)
 
bool isElementSym (const char *chSym)
 

Variables

t_elementnames elementnames
 

Function Documentation

bool isElementSym ( const char *  chSym)

isElementSym - search for string among element symbols.

Parameters
chSyminput string
Returns
TRUE is an element, FALSE otherwise

Definition at line 38 of file elementnames.cpp.

References nelem_symbol_to_index().

Referenced by chemical_to_spectral().

Here is the call graph for this function:

int nelem_symbol_to_index ( const char *  chSym)

Definition at line 9 of file elementnames.cpp.

References CHARS_ELEMENT_SYM, t_elementnames::chElementSym, LIMELM, and toupper().

Referenced by isElementSym().

Here is the call graph for this function:

Variable Documentation

t_elementnames elementnames