Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
physconst.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "physconst_template.h"
Include dependency graph for physconst.cpp:

Macros

#define NEW_CONSTANT(NAME, VALUE)   static int UNUSED physconst_##NAME = register_physconst(#NAME,VALUE)
 

Functions

static int register_physconst (const char *name, double value)
 
void prt_phys_constants (FILE *io)
 

Macro Definition Documentation

#define NEW_CONSTANT (   NAME,
  VALUE 
)    static int UNUSED physconst_##NAME = register_physconst(#NAME,VALUE)

Function Documentation

void prt_phys_constants ( FILE *  io)

References Singleton< t_physconst >::Inst(), and t_physconst::prt_constants().

Referenced by prt_constants().

Here is the call graph for this function:

static int register_physconst ( const char *  name,
double  value 
)
static

References t_physconst::add_constant(), and Singleton< t_physconst >::Inst().

Here is the call graph for this function: