Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "continuum.h"
#include "rfield.h"
#include "doppvel.h"
#include "geometry.h"
#include "hextra.h"
#include "ipoint.h"
#include "lines.h"
#include "opacity.h"
#include "radius.h"
#include "secondaries.h"
#include "struc.h"
#include "thermal.h"
#include "warnings.h"
#include "wind.h"
#include "dynamics.h"
#include "lines_service.h"
Functions | |
bool | isSameUnit (const char *unit, const char *ref) |
const char * | StandardEnergyUnitNoAbort (const char *chCard) |
STATIC double | sum_radiation (void) |
STATIC void | badprt (double total) |
void | ConserveEnergy () |
Variables | |
static const char * | ENERGY_RYD = "Ryd" |
static const char * | ENERGY_ERG = "erg" |
static const char * | ENERGY_EV = "eV" |
static const char * | ENERGY_KEV = "keV" |
static const char * | ENERGY_MEV = "MeV" |
static const char * | ENERGY_WN = "cm^-1" |
static const char * | ENERGY_CM = "cm" |
static const char * | ENERGY_MM = "mm" |
static const char * | ENERGY_MICRON = "um" |
static const char * | ENERGY_NM = "nm" |
static const char * | ENERGY_A = "A" |
static const char * | ENERGY_HZ = "Hz" |
static const char * | ENERGY_KHZ = "kHz" |
static const char * | ENERGY_MHZ = "MHz" |
static const char * | ENERGY_GHZ = "GHz" |
static const char * | ENERGY_K = "K" |
STATIC void badprt | ( | double | total | ) |
References DEBUG_ENTRY, fprintf(), ioQQQ, LineSave, MAX2, STATIC, thermal, and totlin().
Referenced by ConserveEnergy().
void ConserveEnergy | ( | ) |
References badprt(), bangin(), continuum, DEBUG_ENTRY, DoppVel, dynamics, fprintf(), geometry, hextra, ioQQQ, iteration, nzone, opac, outsum(), POW2, radius, secondaries, ShowMe(), struc, sum_radiation(), thermal, totlin(), warnin(), and wind.
Referenced by cloudy(), and PrtComment().
|
inline |
Referenced by Energy::get(), and Energy::set().
const char * StandardEnergyUnitNoAbort | ( | const char * | chCard | ) |
References DEBUG_ENTRY, ENERGY_A, ENERGY_CM, ENERGY_ERG, ENERGY_EV, ENERGY_GHZ, ENERGY_HZ, ENERGY_K, ENERGY_KEV, ENERGY_KHZ, ENERGY_MEV, ENERGY_MHZ, ENERGY_MICRON, ENERGY_MM, ENERGY_NM, ENERGY_RYD, ENERGY_WN, and nMatch().
Referenced by ParseTable(), and StandardEnergyUnit().
STATIC double sum_radiation | ( | void | ) |
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().
|
static |
Referenced by Energy::get(), Energy::set(), and StandardEnergyUnitNoAbort().