kspaceFirstOrder3D-OMP  1.2
The C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
MatrixNames.h
Go to the documentation of this file.
1 /**
2  * @file MatrixNames.h
3  *
4  * @author Jiri Jaros \n
5  * Faculty of Information Technology \n
6  * Brno University of Technology \n
7  * jarosjir@fit.vutbr.cz
8  *
9  * @brief The header file storing names of all variables.
10  *
11  * @version kspaceFirstOrder3D 2.16
12  *
13  * @date 14 September 2012, 14:33 (created) \n
14  * 04 September 2017, 11:16 (revised)
15  *
16  * @copyright Copyright (C) 2017 Jiri Jaros and Bradley Treeby.
17  *
18  * This file is part of the C++ extension of the [k-Wave Toolbox](http://www.k-wave.org).
19  *
20  * This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify it under the terms
21  * of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the
22  * License, or (at your option) any later version.
23  *
24  * k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
25  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
26  * more details.
27  *
28  * You should have received a copy of the GNU Lesser General Public License along with k-Wave.
29  * If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
30  */
31 
32 #ifndef MATRIX_NAMES_H
33 #define MATRIX_NAMES_H
34 
35 /**
36  * @brief Datatype for matrix names.
37  * @details Datatype for matrix names.
38  */
39 using MatrixName = const std::string;
40 
41 
42 //--------------------------------------------------------------------------------------------------------------------//
43 //--------------------------------------------------- Constants ------------------------------------------------------//
44 //--------------------------------------------------------------------------------------------------------------------//
45 
46 /// Nt variable name
48 /// t_index name
50 /// dt variable name
52 /// dx variable name
54 /// dy variable name
56 /// dz variable name
58 
59 /// c_ref variable name
61 /// c0 variable name
63 
64 /// alpha_power variable name
65 MatrixName kAlphaPowerName = "alpha_power";
66 /// alpha_coeff variable name
67 MatrixName kAlphaCoeffName = "alpha_coeff";
68 
69 /// Nx variable name
71 /// Ny variable name
73 /// Nz variable name
75 
76 /// x_shift_neg_r variable name
77 MatrixName kXShiftNegRName = "x_shift_neg_r";
78 /// y_shift_neg_r variable name
79 MatrixName kYShiftNegRName = "y_shift_neg_r";
80 /// z_shift_neg_r variable name
81 MatrixName kZShiftNegRName = "z_shift_neg_r";
82 
83 /// ux_shifted variable name
84 MatrixName kUxShiftedName = "ux_shifted";
85 /// uy_shifted variable name
86 MatrixName kUyShiftedName = "uy_shifted";
87 /// uz_shifted variable name
88 MatrixName kUzShiftedName = "uz_shifted";
89 
90 /// pml_x_size variable name
91 MatrixName kPmlXSizeName = "pml_x_size";
92 /// pml_y_size variable name
93 MatrixName kPmlYSizeName = "pml_y_size";
94 /// pml_z_size variable name
95 MatrixName kPmlZSizeName = "pml_z_size";
96 
97 /// pml_x_sgx variable name
98 MatrixName kPmlXSgxName = "pml_x_sgx";
99 /// pml_y_sgy variable name
100 MatrixName kPmlYSgyName = "pml_y_sgy";
101 /// pml_z_sgz variable name
102 MatrixName kPmlZSgzName = "pml_z_sgz";
103 
104 /// pml_x variable name
106 /// pml_y variable name
108 /// pml_z variable name
110 
111 
112 /// pml_x_alpha variable name
113 MatrixName kPmlXAlphaName = "pml_x_alpha";
114 /// pml_y_alpha variable name
115 MatrixName kPmlYAlphaName = "pml_y_alpha";
116 /// pml_z_alpha variable name
117 MatrixName kPmlZAlphaName = "pml_z_alpha";
118 
119 /// ux_source_flag variable name
121 /// uy_source_flag variable name
123 /// uz_source_flag variable name
125 
126 /// u_source_many variable name
128 /// p_source_many variable name
130 
131 /// p_source_flag variable name
133 /// p0_source_flag variable name
135 
136 /// u_source_mode variable name
138 /// p_source_mode variable name
140 
141 /// p_source_input variable name
143 /// p_source_index variable name
145 
146 /// u_source_index variable name
148 /// ux_source_input variable name
150 /// uy_source_input variable name
152 /// uz_source_input variable name
154 
155 /// nonuniform_grid_flag variable name
156 MatrixName kNonUniformGridFlagName = "nonuniform_grid_flag";
157 /// absorbing_flag variable name
158 MatrixName kAbsorbingFlagName = "absorbing_flag";
159 /// nonlinear_flag variable name
160 MatrixName kNonLinearFlagName = "nonlinear_flag";
161 
162 /// transducer_source_flag variable name
163 MatrixName kTransducerSourceFlagName = "transducer_source_flag";
164 /// sensor_mask_index variable name
165 MatrixName kSensorMaskIndexName = "sensor_mask_index";
166 /// sensor_mask_type variable name
167 MatrixName kSensorMaskTypeName = "sensor_mask_type";
168 /// sensor_mask_corners variable name
169 MatrixName kSensorMaskCornersName = "sensor_mask_corners";
170 
171 /// transducer_source_input variable name
172 MatrixName kTransducerSourceInputName = "transducer_source_input";
173 
174 /// p0_source_input variable name
176 /// delay_mask variable name
177 MatrixName kDelayMaskName = "delay_mask";
178 
179 
180 /// kappa_r variable name
182 /// BonA variable name
184 /// p variable name
186 /// rhox variable name
188 /// rhoy variable name
190 /// rhoz variable name
192 
193 /// ux variable name
195 /// uy variable name
197 /// uz variable name
199 
200 /// ux_sgx variable name
202 /// uy_sgy variable name
204 /// uz_sgz variable name
206 
207 /// ux_non_staggered variable name
208 MatrixName kUxNonStaggeredName = "ux_non_staggered";
209 /// uy_non_staggered variable name
210 MatrixName kUyNonStaggeredName = "uy_non_staggered";
211 /// uz_non_staggered variable name
212 MatrixName kUzNonStaggeredName = "uz_non_staggered";
213 
214 /// duxdx variable name
216 /// duydy variable name
218 /// duzdz variable name
220 
221 /// dxudxn variable name
223 /// dyudyn variable name
225 /// dzudzn variable name
227 
228 /// dxudxn_sgx variable name
229 MatrixName kDxudxnSgxName = "dxudxn_sgx";
230 /// dyudyn_sgy variable name
231 MatrixName kDyudynSgyName = "dyudyn_sgy";
232 /// dzudzn_sgz variable name
233 MatrixName kDzudznSgzName = "dzudzn_sgz";
234 
235 /// ddx_k_shift_pos_r variable name
236 MatrixName kDdxKShiftPosRName = "ddx_k_shift_pos_r";
237 /// ddy_k_shift_pos variable name
238 MatrixName kDdyKShiftPosName = "ddy_k_shift_pos";
239 /// ddz_k_shift_pos variable name
240 MatrixName kDdzKShiftPosName = "ddz_k_shift_pos";
241 
242 /// ddx_k_shift_neg_r variable name
243 MatrixName kDdxKShiftNegRName = "ddx_k_shift_neg_r";
244 /// ddy_k_shift_neg variable name
245 MatrixName kDdyKShiftNegName = "ddy_k_shift_neg";
246 /// ddz_k_shift_neg variable name
247 MatrixName kDdzKShiftNegName = "ddz_k_shift_neg";
248 
249 /// rho0 variable name
251 /// rho0_sgx variable name
253 /// rho0_sgy variable name
255 /// rho0_sgz variable name
257 
258 /// absorb_tau variable name
259 MatrixName kAbsorbTauName = "absorb_tau";
260 /// absorb_eta variable name
261 MatrixName kAbsorbEtaName = "absorb_eta";
262 /// absorb_nabla1_r variable name
263 MatrixName kAbsorbNabla1RName = "absorb_nabla1_r";
264 /// absorb_nabla2_r variable name
265 MatrixName kAbsorbNabla2RName = "absorb_nabla2_r";
266 
267 /// p variable name in the output file
269 /// p_rms variable name
271 /// p_max variable name
273 /// p_min variable name
275 /// p_max_all variable name
277 /// p_min_all variable name
279 /// p_final variable name
281 
282 /// ux_rms variable name
284 /// uy_rms variable name
286 /// uz_rms variable name
288 
289 /// ux_max variable name
291 /// uy_max variable name
293 /// uz_max variable name
295 /// ux_min variable name
297 /// uy_min variable name
299 /// uz_min variable name
301 
302 /// ux_max_all variable name
303 MatrixName kUxMaxAllName = "ux_max_all";
304 /// uy_max_all variable name
305 MatrixName kUyMaxAllName = "uy_max_all";
306 /// uz_max_all variable name
307 MatrixName kUzMaxAllName = "uz_max_all";
308 /// ux_min_all variable name
309 MatrixName kUxMinAllName = "ux_min_all";
310 /// uy_min_all variable name
311 MatrixName kUyMinAllName = "uy_min_all";
312 /// uz_min_all variable name
313 MatrixName kUzMinAllName = "uz_min_all";
314 
315 /// ux_final variable name
317 /// uy_final variable name
319 /// uz_final variable name
321 
322 /// Temp_1_RS3D variable name
323 MatrixName kTemp1Real3DName = "Temp_1_RS3D";
324 /// Temp_2_RS3D variable name
325 MatrixName kTemp2Real3DName = "Temp_2_RS3D";
326 /// Temp_3_RS3D variable name
327 MatrixName kTemp3Real3DName = "Temp_3_RS3D";
328 
329 
330 /// CUFFT_shift_temp variable name
331 MatrixName kCufftShiftTempName = "CUFFT_shift_temp";
332 /// CUFFT_X_temp variable name
333 MatrixName kCufftXTempName = "CUFFT_X_temp";
334 /// CUFFT_Y_temp variable name
335 MatrixName kCufftYTempName = "CUFFT_Y_temp";
336 /// CUFFT_Z_temp variable name
337 MatrixName kCufftZTempName = "CUFFT_Z_temp";
338 
339 #endif /* MATRIX_NAMES_H */
MatrixName kYShiftNegRName
y_shift_neg_r variable name
Definition: MatrixNames.h:79
MatrixName kUzName
uz variable name
Definition: MatrixNames.h:198
MatrixName kUyFinalName
uy_final variable name
Definition: MatrixNames.h:318
MatrixName kRhoYName
rhoy variable name
Definition: MatrixNames.h:189
MatrixName kVelocityXSourceFlagName
ux_source_flag variable name
Definition: MatrixNames.h:120
MatrixName kPressureMinName
p_min variable name
Definition: MatrixNames.h:274
MatrixName kDxudxnSgxName
dxudxn_sgx variable name
Definition: MatrixNames.h:229
MatrixName kVelocitySourceManyName
u_source_many variable name
Definition: MatrixNames.h:127
MatrixName kUzShiftedName
uz_shifted variable name
Definition: MatrixNames.h:88
MatrixName kUzMinName
uz_min variable name
Definition: MatrixNames.h:300
MatrixName kTemp3Real3DName
Temp_3_RS3D variable name.
Definition: MatrixNames.h:327
MatrixName kPmlYSgyName
pml_y_sgy variable name
Definition: MatrixNames.h:100
MatrixName kTimeIndexName
t_index name
Definition: MatrixNames.h:49
MatrixName kUxFinalName
ux_final variable name
Definition: MatrixNames.h:316
MatrixName kUxRmsName
ux_rms variable name
Definition: MatrixNames.h:283
MatrixName kUxMinName
ux_min variable name
Definition: MatrixNames.h:296
MatrixName kDtName
dt variable name
Definition: MatrixNames.h:51
MatrixName kAlphaPowerName
alpha_power variable name
Definition: MatrixNames.h:65
MatrixName kUyMaxName
uy_max variable name
Definition: MatrixNames.h:292
MatrixName kUzNonStaggeredName
uz_non_staggered variable name
Definition: MatrixNames.h:212
MatrixName kDdxKShiftPosRName
ddx_k_shift_pos_r variable name
Definition: MatrixNames.h:236
MatrixName kPressureSourceFlagName
p_source_flag variable name
Definition: MatrixNames.h:132
MatrixName kVelocityYSourceInputName
uy_source_input variable name
Definition: MatrixNames.h:151
MatrixName kRho0Name
rho0 variable name
Definition: MatrixNames.h:250
MatrixName kDelayMaskName
delay_mask variable name
Definition: MatrixNames.h:177
MatrixName kAbsorbNabla1RName
absorb_nabla1_r variable name
Definition: MatrixNames.h:263
MatrixName kUySgyName
uy_sgy variable name
Definition: MatrixNames.h:203
MatrixName kPressureMaxAllName
p_max_all variable name
Definition: MatrixNames.h:276
MatrixName kPmlZName
pml_z variable name
Definition: MatrixNames.h:109
MatrixName kNzName
Nz variable name.
Definition: MatrixNames.h:74
MatrixName kVelocityXSourceInputName
ux_source_input variable name
Definition: MatrixNames.h:149
MatrixName kPressureSourceManyName
p_source_many variable name
Definition: MatrixNames.h:129
MatrixName kPmlXAlphaName
pml_x_alpha variable name
Definition: MatrixNames.h:113
MatrixName kNonUniformGridFlagName
nonuniform_grid_flag variable name
Definition: MatrixNames.h:156
MatrixName kDuydyName
duydy variable name
Definition: MatrixNames.h:217
MatrixName kAbsorbNabla2RName
absorb_nabla2_r variable name
Definition: MatrixNames.h:265
MatrixName kDdzKShiftNegName
ddz_k_shift_neg variable name
Definition: MatrixNames.h:247
MatrixName kDuxdxName
duxdx variable name
Definition: MatrixNames.h:215
MatrixName kNonLinearFlagName
nonlinear_flag variable name
Definition: MatrixNames.h:160
MatrixName kCufftShiftTempName
CUFFT_shift_temp variable name.
Definition: MatrixNames.h:331
MatrixName kPressureSourceModeName
p_source_mode variable name
Definition: MatrixNames.h:139
MatrixName kNtName
Nt variable name.
Definition: MatrixNames.h:47
MatrixName kUyName
uy variable name
Definition: MatrixNames.h:196
MatrixName kPmlZSgzName
pml_z_sgz variable name
Definition: MatrixNames.h:102
MatrixName kPmlXSizeName
pml_x_size variable name
Definition: MatrixNames.h:91
MatrixName kUzMinAllName
uz_min_all variable name
Definition: MatrixNames.h:313
MatrixName kUxSgxName
ux_sgx variable name
Definition: MatrixNames.h:201
MatrixName kCufftYTempName
CUFFT_Y_temp variable name.
Definition: MatrixNames.h:335
MatrixName kInitialPressureSourceFlagName
p0_source_flag variable name
Definition: MatrixNames.h:134
MatrixName kC0Name
c0 variable name
Definition: MatrixNames.h:62
MatrixName kCRefName
c_ref variable name
Definition: MatrixNames.h:60
MatrixName kPressureRawName
p variable name in the output file
Definition: MatrixNames.h:268
MatrixName kUzFinalName
uz_final variable name
Definition: MatrixNames.h:320
MatrixName kUxNonStaggeredName
ux_non_staggered variable name
Definition: MatrixNames.h:208
MatrixName kDxudxnName
dxudxn variable name
Definition: MatrixNames.h:222
MatrixName kBonAName
BonA variable name.
Definition: MatrixNames.h:183
MatrixName kUxMaxAllName
ux_max_all variable name
Definition: MatrixNames.h:303
MatrixName kPmlXSgxName
pml_x_sgx variable name
Definition: MatrixNames.h:98
MatrixName kPmlZAlphaName
pml_z_alpha variable name
Definition: MatrixNames.h:117
MatrixName kDyudynName
dyudyn variable name
Definition: MatrixNames.h:224
MatrixName kXShiftNegRName
x_shift_neg_r variable name
Definition: MatrixNames.h:77
MatrixName kKappaRName
kappa_r variable name
Definition: MatrixNames.h:181
MatrixName kDdyKShiftPosName
ddy_k_shift_pos variable name
Definition: MatrixNames.h:238
MatrixName kVelocityZSourceInputName
uz_source_input variable name
Definition: MatrixNames.h:153
MatrixName kInitialPressureSourceInputName
p0_source_input variable name
Definition: MatrixNames.h:175
MatrixName kPmlYName
pml_y variable name
Definition: MatrixNames.h:107
MatrixName kPmlYAlphaName
pml_y_alpha variable name
Definition: MatrixNames.h:115
MatrixName kUxMaxName
ux_max variable name
Definition: MatrixNames.h:290
MatrixName kPName
p variable name
Definition: MatrixNames.h:185
const std::string MatrixName
Datatype for matrix names.
Definition: MatrixNames.h:39
MatrixName kUzRmsName
uz_rms variable name
Definition: MatrixNames.h:287
MatrixName kTemp2Real3DName
Temp_2_RS3D variable name.
Definition: MatrixNames.h:325
MatrixName kDzudznName
dzudzn variable name
Definition: MatrixNames.h:226
MatrixName kDdxKShiftNegRName
ddx_k_shift_neg_r variable name
Definition: MatrixNames.h:243
MatrixName kDyName
dy variable name
Definition: MatrixNames.h:55
MatrixName kVelocitySourceIndexName
u_source_index variable name
Definition: MatrixNames.h:147
MatrixName kDyudynSgyName
dyudyn_sgy variable name
Definition: MatrixNames.h:231
MatrixName kDxName
dx variable name
Definition: MatrixNames.h:53
MatrixName kPmlZSizeName
pml_z_size variable name
Definition: MatrixNames.h:95
MatrixName kUxName
ux variable name
Definition: MatrixNames.h:194
MatrixName kUzSgzName
uz_sgz variable name
Definition: MatrixNames.h:205
MatrixName kVelocitySourceModeName
u_source_mode variable name
Definition: MatrixNames.h:137
MatrixName kAbsorbingFlagName
absorbing_flag variable name
Definition: MatrixNames.h:158
MatrixName kAlphaCoeffName
alpha_coeff variable name
Definition: MatrixNames.h:67
MatrixName kDzName
dz variable name
Definition: MatrixNames.h:57
MatrixName kUyMinAllName
uy_min_all variable name
Definition: MatrixNames.h:311
MatrixName kTransducerSourceFlagName
transducer_source_flag variable name
Definition: MatrixNames.h:163
MatrixName kSensorMaskIndexName
sensor_mask_index variable name
Definition: MatrixNames.h:165
MatrixName kDdzKShiftPosName
ddz_k_shift_pos variable name
Definition: MatrixNames.h:240
MatrixName kUyMaxAllName
uy_max_all variable name
Definition: MatrixNames.h:305
MatrixName kNxName
Nx variable name.
Definition: MatrixNames.h:70
MatrixName kPmlYSizeName
pml_y_size variable name
Definition: MatrixNames.h:93
MatrixName kAbsorbEtaName
absorb_eta variable name
Definition: MatrixNames.h:261
MatrixName kRho0SgyName
rho0_sgy variable name
Definition: MatrixNames.h:254
MatrixName kSensorMaskTypeName
sensor_mask_type variable name
Definition: MatrixNames.h:167
MatrixName kPressureMaxName
p_max variable name
Definition: MatrixNames.h:272
MatrixName kNyName
Ny variable name.
Definition: MatrixNames.h:72
MatrixName kTransducerSourceInputName
transducer_source_input variable name
Definition: MatrixNames.h:172
MatrixName kCufftZTempName
CUFFT_Z_temp variable name.
Definition: MatrixNames.h:337
MatrixName kRho0SgzName
rho0_sgz variable name
Definition: MatrixNames.h:256
MatrixName kDdyKShiftNegName
ddy_k_shift_neg variable name
Definition: MatrixNames.h:245
MatrixName kUzMaxName
uz_max variable name
Definition: MatrixNames.h:294
MatrixName kPressureMinAllName
p_min_all variable name
Definition: MatrixNames.h:278
MatrixName kDuzdzName
duzdz variable name
Definition: MatrixNames.h:219
MatrixName kUxShiftedName
ux_shifted variable name
Definition: MatrixNames.h:84
MatrixName kUyMinName
uy_min variable name
Definition: MatrixNames.h:298
MatrixName kPressureRmsName
p_rms variable name
Definition: MatrixNames.h:270
MatrixName kSensorMaskCornersName
sensor_mask_corners variable name
Definition: MatrixNames.h:169
MatrixName kPressureSourceIndexName
p_source_index variable name
Definition: MatrixNames.h:144
MatrixName kDzudznSgzName
dzudzn_sgz variable name
Definition: MatrixNames.h:233
MatrixName kZShiftNegRName
z_shift_neg_r variable name
Definition: MatrixNames.h:81
MatrixName kVelocityZSourceFlagName
uz_source_flag variable name
Definition: MatrixNames.h:124
MatrixName kRhoZName
rhoz variable name
Definition: MatrixNames.h:191
MatrixName kRho0SgxName
rho0_sgx variable name
Definition: MatrixNames.h:252
MatrixName kUxMinAllName
ux_min_all variable name
Definition: MatrixNames.h:309
MatrixName kPressureSourceInputName
p_source_input variable name
Definition: MatrixNames.h:142
MatrixName kUzMaxAllName
uz_max_all variable name
Definition: MatrixNames.h:307
MatrixName kAbsorbTauName
absorb_tau variable name
Definition: MatrixNames.h:259
MatrixName kVelocityYSourceFlagName
uy_source_flag variable name
Definition: MatrixNames.h:122
MatrixName kUyNonStaggeredName
uy_non_staggered variable name
Definition: MatrixNames.h:210
MatrixName kUyShiftedName
uy_shifted variable name
Definition: MatrixNames.h:86
MatrixName kRhoXName
rhox variable name
Definition: MatrixNames.h:187
MatrixName kCufftXTempName
CUFFT_X_temp variable name.
Definition: MatrixNames.h:333
MatrixName kUyRmsName
uy_rms variable name
Definition: MatrixNames.h:285
MatrixName kPressureFinalName
p_final variable name
Definition: MatrixNames.h:280
MatrixName kPmlXName
pml_x variable name
Definition: MatrixNames.h:105
MatrixName kTemp1Real3DName
Temp_1_RS3D variable name.
Definition: MatrixNames.h:323