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

Functions

void OpacityZero (void)
 
void OpacityZeroOld (void)
 

Function Documentation

void OpacityZero ( void  )

OpacityZero - called by OpacityAddTotal to zero opacity array after saving it into oldopac

References DEBUG_ENTRY, t_opac::lgRedoStatic, t_rfield::nflux_with_check, t_opac::OldOpacSave, opac, t_opac::opacity_abs, t_opac::opacity_sct, t_opac::OpacStatic, and rfield.

Referenced by OpacityAddTotal(), SanityCheckBegin(), and save_opacity().

void OpacityZeroOld ( void  )

OpacityZeroOld - only set old opac to current value during search phase

References DEBUG_ENTRY, t_rfield::nflux_with_check, t_opac::OldOpacSave, opac, t_opac::opacity_abs, and rfield.

Referenced by OpacityAddTotal().