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

Go to the source code of this file.

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)

Definition at line 11 of file physconst.cpp.

Function Documentation

void prt_phys_constants ( FILE *  io)

Definition at line 55 of file physconst.cpp.

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

Definition at line 16 of file physconst.cpp.

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

Here is the call graph for this function: