Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
ion_trim.cpp File Reference
#include "cddefines.h"
#include "ion_trim.h"
#include "heavy.h"
#include "conv.h"
#include "rfield.h"
#include "phycon.h"
#include "mole.h"
#include "thermal.h"
#include "iso.h"
#include "struc.h"
#include "ionbal.h"
#include "dense.h"
#include "dynamics.h"
Include dependency graph for ion_trim.cpp:

Functions

void ion_trim_untrim (long nelem)
 
void ion_trim_invalidate (long nelem)
 
STATIC void ion_trim_from_set (long nelem)
 
void ion_trim_init ()
 
void ion_trim_from_set ()
 
void ion_trim_small (long nelem, double abund_total)
 
void mole_ion_trim (void)
 
void ion_trim (long int nelem)
 
void ion_trim2 (long int nelem, long int oldIonRange[2])
 
void ion_widen (long nelem)
 
void ion_trim_validate (long nelem, bool lgIonizTrimCalled)
 

Function Documentation

◆ ion_trim()

void ion_trim ( long int nelem)

ion_trim raise or lower most extreme stages of ionization considered

Parameters
nelemelement number on the C scale, 5 for C

References ASSERT, conv, DEBUG_ENTRY, dense, fnzone, fprintf(), Heavy, ionbal, ioQQQ, ipHELIUM, ipHYDROGEN, iso_sp, LIMELM, MAX2, MIN2, mole_global, NISO, nzone, phycon, rfield, SDIV(), SMALLFLOAT, struc, and thermal.

Referenced by ConvBase().

Here is the call graph for this function:

◆ ion_trim2()

void ion_trim2 ( long int nelem,
long int oldIonRange[2] )

References ASSERT, conv, DEBUG_ENTRY, dense, dynamics, fnzone, fprintf(), ionbal, ioQQQ, ipHELIUM, ipHYDROGEN, iso_sp, LIMELM, MAX2, MIN2, mole_global, NISO, nzone, SMALLFLOAT, and thermal.

Referenced by ConvBase().

Here is the call graph for this function:

◆ ion_trim_from_set() [1/2]

void ion_trim_from_set ( )

References DEBUG_ENTRY, dense, ion_trim_from_set(), ipHYDROGEN, and LIMELM.

Referenced by ConvBase(), ion_trim_from_set(), and ion_trim_init().

Here is the call graph for this function:

◆ ion_trim_from_set() [2/2]

STATIC void ion_trim_from_set ( long nelem)

References DEBUG_ENTRY, dense, ionbal, and STATIC.

◆ ion_trim_init()

void ion_trim_init ( )

References DEBUG_ENTRY, dense, Heavy, ion_trim_from_set(), ion_trim_invalidate(), ionbal, ipHYDROGEN, LIMELM, max(), and rfield.

Referenced by ContSetIntensity().

Here is the call graph for this function:

◆ ion_trim_invalidate()

void ion_trim_invalidate ( long nelem)

References DEBUG_ENTRY, and dense.

Referenced by ion_trim_init(), and map_do().

◆ ion_trim_small()

void ion_trim_small ( long nelem,
double abund_total )

References ASSERT, DEBUG_ENTRY, dense, ionbal, and thermal.

Referenced by clean_up().

◆ ion_trim_untrim()

void ion_trim_untrim ( long nelem)

References DEBUG_ENTRY, and dense.

Referenced by ChargTranPun(), and map_do().

◆ ion_trim_validate()

void ion_trim_validate ( long nelem,
bool lgIonizTrimCalled )

References ASSERT, conv, DEBUG_ENTRY, dense, and SMALLFLOAT.

Referenced by ConvBase().

◆ ion_widen()

void ion_widen ( long nelem)

References abund, DEBUG_ENTRY, dense, frac(), iso_sp, and NISO.

Referenced by ConvBase().

Here is the call graph for this function:

◆ mole_ion_trim()

void mole_ion_trim ( void )

References DEBUG_ENTRY, dense, ionbal, and nuclide_list.

Referenced by mole_drive().