3 #ifndef __u3d_model_defines_hpp
4 #define __u3d_model_defines_hpp
6 #include <u3d_defines.hpp>
7 #include <u3d_point.hpp>
10 #define U3D_MIN_CELL_SIZE 20.0
11 #define U3D_MIN_TRIANGLE_SIZE 50 //U3D_EPS_LENGTH * 10.;
12 #define U3D_MAX_CELL_TRIANGLES 500 / U3D_MIN_TRIANGLE_SIZE // 10
13 #define U3D_MIN_SURFACE_POINTS_NUMBER 3
28 enum U3D_WAVE_TYPE {U3D_PRESSURE, U3D_SHEAR};
56 an_kp(1.0), an_ks(1.0), an_R(1.0) {}
60 double kp_an=1.0,
double ks_an=1.0,
double R_an=1.0) :
61 p(point),
dip(dip_f),
az(az_f),
den(density),
63 an_kp(kp_an), an_ks(ks_an), an_R(R_an) {}
92 an_kp(1.0), an_ks(1.0), an_R(1.0) {}
95 double kz_p,
double kz_s,
double den,
96 double kp_an=1.0,
double ks_an=1.0,
double R_an=1.0) :
99 an_kp(kp_an), an_ks(ks_an), an_R(R_an) {}
106 enum U3dInterpolationType {
120 U3dInterpolationType
iType;
132 namespace U3dModParams {
134 const char version[] =
"version";
135 const char model_name[] =
"model_name";
136 const char model_description[] =
"model_description";
137 const char originX[] =
"originX";
138 const char originY[] =
"originY";
139 const char originElev[] =
"originElev";
140 const char azimuth[] =
"azimuth";
141 const char xsize[] =
"xsize";
142 const char ysize[] =
"ysize";
143 const char zsize[] =
"zsize";
144 const char bound_points[] =
"bound_points";
145 const char bound_relations[] =
"bound_relations";
146 const char body_vp[] =
"body_vp";
147 const char body_vs[] =
"body_vs";
148 const char body_kzp[] =
"body_kzp";
149 const char body_kzs[] =
"body_kzs";
150 const char body_den[] =
"body_den";
151 const char body_topology[] =
"body_topology";
152 const char body_an_kp[] =
"body_an_kp";
153 const char body_an_ks[] =
"body_an_ks";
154 const char body_an_R[] =
"body_an_R";
155 const char color_white[] =
"white";
156 const char color_black[] =
"black";
double vp
Definition: u3d_model_defines.hpp:45
Definition: u3d_model_defines.hpp:20
double kzs
Definition: u3d_model_defines.hpp:81
U3dPointsAr points
Definition: u3d_model_defines.hpp:115
double vp
Definition: u3d_model_defines.hpp:70
U3dSignAr relations
Definition: u3d_model_defines.hpp:116
double kzp
Definition: u3d_model_defines.hpp:80
Definition: geometry.H:16
float azimuth
Definition: u3d_model_defines.hpp:22
Definition: u3d_model_defines.hpp:77
double az
Definition: u3d_model_defines.hpp:43
U3dBodyVels vels
Definition: u3d_model_defines.hpp:79
U3dSignAr signature
Definition: u3d_model_defines.hpp:78
Definition: u3d_point.hpp:16
Definition: u3d_model_defines.hpp:68
double dip
Definition: u3d_model_defines.hpp:42
Definition: u3d_model_defines.hpp:34
double vs
Definition: u3d_model_defines.hpp:46
Definition: u3d_model_defines.hpp:40
U3dPoint p
Definition: u3d_model_defines.hpp:69
Definition: u3d_model_defines.hpp:113
double vs
Definition: u3d_model_defines.hpp:71
U3dPoint zeroPoint
Definition: u3d_model_defines.hpp:114
Definition: u3d_defines.hpp:188
double den
Definition: u3d_model_defines.hpp:44
double density
Definition: u3d_model_defines.hpp:82
U3dPoint p
Definition: u3d_model_defines.hpp:41
U3dInterpolationType iType
Definition: u3d_model_defines.hpp:117