cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
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
"
5
t_DoppVel
DoppVel
;
6
7
void
t_DoppVel::zero
()
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
}
t_DoppVel
Definition:
doppvel.h:10
t_DoppVel::lgTurbLawOn
bool lgTurbLawOn
Definition:
doppvel.h:33
t_DoppVel::Heiles_Troland_F
realnum Heiles_Troland_F
Definition:
doppvel.h:37
t_DoppVel::TurbVel
realnum TurbVel
Definition:
doppvel.h:21
DoppVel
t_DoppVel DoppVel
Definition:
doppvel.cpp:5
t_DoppVel::lgTurbEquiMag
bool lgTurbEquiMag
Definition:
doppvel.h:46
t_DoppVel::zero
void zero()
Definition:
doppvel.cpp:7
t_DoppVel::TurbVelLaw
realnum TurbVelLaw
Definition:
doppvel.h:29
t_DoppVel::DispScale
realnum DispScale
Definition:
doppvel.h:51
cddefines.h
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition:
cddefines.h:723
t_DoppVel::lgTurb_pressure
bool lgTurb_pressure
Definition:
doppvel.h:42
doppvel.h
Generated by
1.8.5