cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opacity.cpp
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 #include "cddefines.h"
4 #include "opacity.h"
6 
8 {
9  DEBUG_ENTRY( "t_opac::zero()" );
10  /* do we want to save negative opacities */
11  lgNegOpacIO = false;
12 
13  otsmin = 0.;
14 
15  /* this flag says to use the static opacities,
16  * only evaluate them at start of each new zone.
17  * when set false with
18  * no static opacities
19  * command, always reevaluate them */
20  lgOpacStatic = true;
21 
22  /* set true in radinc if negative opacities ever occur */
23  lgOpacNeg = false;
24 
25  /* can turn of scattering opacities for some geometries */
26  lgScatON = true;
27 
28  /* variables having to do with compiling and/or using the
29  * ancillary file of stored opacities */
30  lgCompileOpac = false;
31  /* "no file opacity" command sets following var false, says not to use file */
33  lgUseFileOpac = false;
34  stimax[0] = 0.;
35  stimax[1] = 0.;
36 }
realnum otsmin
Definition: opacity.h:314
t_opac opac
Definition: opacity.cpp:5
bool lgUseFileOpac
Definition: opacity.h:209
bool lgScatON
Definition: opacity.h:196
realnum stimax[2]
Definition: opacity.h:317
bool lgNegOpacIO
Definition: opacity.h:199
bool lgOpacNeg
Definition: opacity.h:192
void zero()
Definition: opacity.cpp:7
bool lgCompileOpac
Definition: opacity.h:205
bool lgOpacStatic
Definition: opacity.h:153
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:723
Definition: opacity.h:78