cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
doppvel.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 "doppvel.h"
6 
8 {
9  DEBUG_ENTRY( "t_DoppVel::zero()" );
10 
11  /* velocity field information */
12  /* the turbulent velocity at illuminated face, internally in cm/s,
13  * but entered with turbulence command in km/s */
14  TurbVel = 0.;
15  /* is a turbulent gradient imposed? Default is no. */
16  lgTurbLawOn = false;
17  /* the log of the turbulence gradient power law. Default is zero. */
18  TurbVelLaw = 0.;
19  /* the parameter F in eq 34 of
20  *>>refer pressure turb Heiles, C. & Troland, T.H. 2005, 624, 773 */
21  Heiles_Troland_F = 0.;
22  /* is TurbVel included in pressure? - can be done two ways, with the velocity
23  * being set of with equipartition - true when TurbVel set if not equipartition,
24  * false with NO PRESSURE option on turbulence command */
25  lgTurb_pressure = true;
26  /* The scale in cm over which the turbulence is dissipated. Normally 0,
27  * only set if dissipate keyword appears on turbulence command */
28  DispScale = 0.;
29  /* equipartition option on turbulence command, to set turbulence from B */
30  lgTurbEquiMag = false;
31 
32 }
bool lgTurbLawOn
Definition: doppvel.h:33
realnum Heiles_Troland_F
Definition: doppvel.h:37
realnum TurbVel
Definition: doppvel.h:21
t_DoppVel DoppVel
Definition: doppvel.cpp:5
bool lgTurbEquiMag
Definition: doppvel.h:46
void zero()
Definition: doppvel.cpp:7
realnum TurbVelLaw
Definition: doppvel.h:29
realnum DispScale
Definition: doppvel.h:51
#define DEBUG_ENTRY(funcname)
Definition: cddefines.h:723
bool lgTurb_pressure
Definition: doppvel.h:42