UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
vel2dmod
vel2dmod_raytr_global.hpp
1
// vel2dmod_raytr_global.hpp
2
// $Id: vel2dmod_raytr_global.hpp,v 1.7 2008/04/09 08:52:33 sasha Exp $
3
//----------------------------------------------------------------
4
#ifndef vel2dmod_raytr_globalHPP
5
#define vel2dmod_raytr_globalHPP
6
7
#ifndef GE_BUILD_RAYTR
8
#include <vel2dmod/vel2dmod_ldb.hpp>
9
#include <vel2dmod/grid2d.hpp>
10
#include <vel2dmod/vel2dmod_global.hpp>
11
#include <vel2dmod/os.hpp>
12
#else
13
#include <vel2dmod_gevsp.hpp>
14
#include <grid2d.hpp>
15
#include <vel2dmod_global.hpp>
16
#include <os.hpp>
17
#endif
18
19
20
//== Global variables ==========================================================
21
#ifndef DDRGlobalVars
22
extern
double
RT_DF, SD_DF, RT_STEP_EPS, RT_EPS1, RT_EPS2, SD_RMIN, SD_RMAX, AMPL_COEFF, SD_RADIUS;
23
extern
double
SHOOTER_EPS, SHOOTER_EPS_F, SHOOTER_EPS_T;
24
extern
int
DEBUG_MODE;
25
#else
26
27
//double RT_GRIDSIZE = 10.; /**< grid size */
28
29
double
RT_DF = 0.1;
31
double
SD_DF = 0.0001;
33
double
RT_STEP_EPS = 1.e-8;
35
double
RT_EPS1 = 0.20;
38
double
RT_EPS2 = 10.0;
42
double
SD_RMIN = 0.001;
45
double
SD_RMAX = 7.0;
48
double
SD_RADIUS = 100.;
50
double
SHOOTER_EPS = 0.5;
53
double
SHOOTER_EPS_F = 1.e-4;
//1.75e-5;
54
55
double
SHOOTER_EPS_T = 0.0004;
//0.0004;
56
57
double
AMPL_COEFF = 0.1493/0.12867;
59
int
DEBUG_MODE = 0;
63
#endif // DDRGlobalVars
64
66
static
void
analyseAngle(
double
&f)
67
{
68
double
PI_2 = 2.*M_PI;
69
while
(f>=PI_2) f-=PI_2;
70
};
71
72
73
//----------------------------------------------------------------
74
#endif //vel2dmod_raytr_globalHPP
Generated by
1.8.5