cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
radius.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 "radius.h"
6 
8 {
9  DEBUG_ENTRY( "t_radius::zero()" );
10 
11  rinner = 0.;
12  distance = 0.;
13  Radius = 0.;
14  Radius_mid_zone = 0.;
17  depth_x_fillfac = 0.;
18  lgRadiusKnown = false;
19  drad = 0.;
20  drad_mid_zone = 0.;
21  r1r0sq = 1.;
22  PI4_Radius_sq = 0.;
23  PI4_rinner_sq = 0.;
24  /* this is changed with the roberto command, to go from out to in */
25  dRadSign = 1.;
26 
27  /* RDFALT is default starting radius (cm) */
28  /* >>chng 03 nov 12, from 25 to 30 for Lya clouds */
29  rdfalt = 1e30;
30 
31  /* set default cylinder thickness */
32  CylindHigh = 1e35;
33  lgCylnOn = false;
34 
35  drad_x_fillfac = 1.;
36  darea_x_fillfac = 1.;
37  dVeffVol = 1.;
38  dVeffAper = 1.;
39  drNext = 1.;
40  dRNeff = 1.;
41  lgdR2Small = false;
42 
44  lgSdrminRel = false;
45  sdrmax = 1e30;
46  lgSdrmaxRel = false;
47  lgSMinON = false;
48  lgDrMnOn = true;
49  lgFixed = false;
50  sdrmin_rel_depth = 1e-5;
51 
52  lgDrMinUsed = false;
53 }
bool lgDrMnOn
Definition: radius.h:142
double Radius
Definition: radius.h:31
double depth
Definition: radius.h:31
double drad_mid_zone
Definition: radius.h:31
double PI4_rinner_sq
Definition: radius.h:31
double dRNeff
Definition: radius.h:96
const realnum SMALLFLOAT
Definition: cpu.h:246
bool lgCylnOn
Definition: radius.h:127
double CylindHigh
Definition: radius.h:126
double distance
Definition: radius.h:71
void zero()
Definition: radius.cpp:7
double sdrmax
Definition: radius.h:159
bool lgDrMinUsed
Definition: radius.h:186
double sdrmin_rel_depth
Definition: radius.h:162
double depth_x_fillfac
Definition: radius.h:80
double dVeffVol
Definition: radius.h:87
double PI4_Radius_sq
Definition: radius.h:31
double drad
Definition: radius.h:31
double rinner
Definition: radius.h:31
double sdrmin
Definition: radius.h:158
bool lgSdrminRel
Definition: radius.h:166
bool lgSdrmaxRel
Definition: radius.h:167
bool lgdR2Small
Definition: radius.h:118
bool lgRadiusKnown
Definition: radius.h:122
double depth_mid_zone
Definition: radius.h:31
t_radius radius
Definition: radius.cpp:5
double dRadSign
Definition: radius.h:74
double Radius_mid_zone
Definition: radius.h:31
double drad_x_fillfac
Definition: radius.h:77
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:723
bool lgSMinON
Definition: radius.h:170
double darea_x_fillfac
Definition: radius.h:83
double rdfalt
Definition: radius.h:130
double r1r0sq
Definition: radius.h:31
double lgFixed
Definition: radius.h:160
const double DEPTH_OFFSET
Definition: cddefines.h:322
double dVeffAper
Definition: radius.h:93
double drNext
Definition: radius.h:67