Skip to content

Commit 5d9c239

Browse files
authored
Merge pull request #1271 from danielpeter/devel
fix for acoustic-elastic PML coupling on GPUs; adds parameters PRINT_SOURCE_TIME_FUNCTION and SAVE_MESH_FILES to Par_file for turning on/off optional mesh outputs
2 parents f39a9aa + 1ae471d commit 5d9c239

108 files changed

Lines changed: 842 additions & 212 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -336,6 +339,9 @@ nbregions = 5 # then set below the different
336339
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
337340
NTSTEP_BETWEEN_OUTPUT_INFO = 100
338341

342+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
343+
SAVE_MESH_FILES = .true.
344+
339345
# meshing output
340346
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
341347
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/Rayleigh_wave_no_crack/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -321,6 +324,9 @@ nbregions = 1 # then set below the different
321324
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
322325
NTSTEP_BETWEEN_OUTPUT_INFO = 200
323326

327+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
328+
SAVE_MESH_FILES = .true.
329+
324330
# meshing output
325331
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
326332
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/Rayleigh_wave_no_crack_simpler_way_to_generate_the_wave/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -321,6 +324,9 @@ nbregions = 1 # then set below the different
321324
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
322325
NTSTEP_BETWEEN_OUTPUT_INFO = 100
323326

327+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
328+
SAVE_MESH_FILES = .true.
329+
324330
# meshing output
325331
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
326332
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/Rayleigh_wave_with_crack/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -327,6 +330,9 @@ nbregions = 3 # then set below the different
327330
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
328331
NTSTEP_BETWEEN_OUTPUT_INFO = 200
329332

333+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
334+
SAVE_MESH_FILES = .true.
335+
330336
# meshing output
331337
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
332338
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/anisotropy/anisotropic_isotropic_model/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -325,6 +328,9 @@ nbregions = 3 # then set below the different
325328
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
326329
NTSTEP_BETWEEN_OUTPUT_INFO = 100
327330

331+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
332+
SAVE_MESH_FILES = .true.
333+
328334
# meshing output
329335
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
330336
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/anisotropy/anisotropic_isotropic_model/DATA/Par_file_homogeneous_with_attenuation

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -330,6 +333,9 @@ nbregions = 3 # then set below the different
330333
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
331334
NTSTEP_BETWEEN_OUTPUT_INFO = 100
332335

336+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
337+
SAVE_MESH_FILES = .true.
338+
333339
# meshing output
334340
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
335341
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/anisotropy/anisotropic_zinc_crystal/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -321,6 +324,9 @@ nbregions = 1 # then set below the different
321324
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
322325
NTSTEP_BETWEEN_OUTPUT_INFO = 100
323326

327+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
328+
SAVE_MESH_FILES = .true.
329+
324330
# meshing output
325331
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
326332
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/axisymmetric_examples/axisymmetric_case_AXISYM_option/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -339,6 +342,9 @@ nbregions = 2 # then set below the different
339342
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
340343
NTSTEP_BETWEEN_OUTPUT_INFO = 500
341344

345+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
346+
SAVE_MESH_FILES = .true.
347+
342348
# meshing output
343349
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
344350
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/axisymmetric_examples/axisymmetric_case_AXISYM_option/REF_SEIS/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -339,6 +342,9 @@ nbregions = 2 # then set below the different
339342
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
340343
NTSTEP_BETWEEN_OUTPUT_INFO = 500
341344

345+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
346+
SAVE_MESH_FILES = .true.
347+
342348
# meshing output
343349
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
344350
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

EXAMPLES/applications/axisymmetric_examples/global_Earth_ak135f/DATA/Par_file

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ noise_source_time_function_type = 4
142142
# This is only useful for GPU version (for now)
143143
write_moving_sources_database = .false.
144144

145+
# print source time function
146+
PRINT_SOURCE_TIME_FUNCTION = .true.
147+
145148
#-----------------------------------------------------------
146149
#
147150
# Receivers
@@ -325,6 +328,9 @@ nbregions = 2 # then set below the different
325328
# (every how many time steps we display information about the simulation. costly, do not use a very small value)
326329
NTSTEP_BETWEEN_OUTPUT_INFO = 500
327330

331+
# save mesh files (VTK, ASCII or Gnuplot) to check the mesh
332+
SAVE_MESH_FILES = .true.
333+
328334
# meshing output
329335
output_grid_Gnuplot = .false. # generate a GNUPLOT file containing the grid, and a script to plot it
330336
output_grid_ASCII = .false. # dump the grid in an ASCII text file consisting of a set of X,Y,Z points or not

0 commit comments

Comments
 (0)