cloudy trunk
|
#include "cddefines.h"
#include "rfield.h"
#include "iterations.h"
#include "physconst.h"
#include "dense.h"
#include "trace.h"
#include "opacity.h"
#include "ipoint.h"
#include "geometry.h"
#include "continuum.h"
Go to the source code of this file.
Functions | |
STATIC void | read_continuum_mesh (void) |
STATIC void | fill (double fenlo, double fenhi, double resolv, long int *n0, long int *ipnt, bool lgCount) |
STATIC void | rfield_opac_malloc (void) |
STATIC void | ChckFill (void) |
void | ContCreateMesh (void) |
void | rfield_opac_zero (long lo, long ihi) |
STATIC void ChckFill | ( | void | ) |
Definition at line 362 of file cont_createmesh.cpp.
References ASSERT, cdEXIT, continuum, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, ipoint(), rfield, and STATIC.
Referenced by ContCreateMesh().
void ContCreateMesh | ( | ) |
set up continuum energy mesh if first call, otherwise reset to original mesh
Definition at line 38 of file cont_createmesh.cpp.
References cdEXIT, ChckFill(), continuum, DEBUG_ENTRY, EXIT_FAILURE, fill(), geometry, ioQQQ, iterations, MALLOC, MAX2, NCELL, opac, read_continuum_mesh(), rfield, rfield_opac_malloc(), rfield_opac_zero(), and trace.
Referenced by cloudy(), GridGatherInCloudy(), and ParseCompile().
STATIC void fill | ( | double | fenlo, |
double | fenhi, | ||
double | resolv, | ||
long int * | n0, | ||
long int * | ipnt, | ||
bool | lgCount ) |
Definition at line 255 of file cont_createmesh.cpp.
References ASSERT, cdEXIT, continuum, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, MAX2, rfield, ShowMe(), STATIC, and trace.
Referenced by ContCreateMesh(), and zero().
STATIC void read_continuum_mesh | ( | void | ) |
Definition at line 658 of file cont_createmesh.cpp.
References cdEXIT, continuum, DEBUG_ENTRY, EXIT_FAILURE, FFmtRead(), INPUT_LINE_LENGTH, ioQQQ, MALLOC, open_data(), read_whole_line(), STATIC, and trace.
Referenced by ContCreateMesh().
STATIC void rfield_opac_malloc | ( | void | ) |
Definition at line 439 of file cont_createmesh.cpp.
References ASSERT, ATOMIC_MASS_UNIT, BOLTZMANN, DEBUG_ENTRY, dense, lgRfieldMalloced, LIMELM, MALLOC, NCELL, opac, rfield, SPEEDLIGHT, STATIC, and TotalInsanity().
Referenced by ContCreateMesh().
void rfield_opac_zero | ( | long | lo, |
long | ihi ) |
zero out rfield arrays between certain limits, code in zero.c
Definition at line 802 of file cont_createmesh.cpp.
References lgRfieldMalloced, opac, and rfield.
Referenced by ContCreateMesh(), ConvInitSolution(), and InitSimPostparse().