Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugs of the script for mesh format conversion Gmsh -> Specfem2d #1211

Merged
merged 3 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ NPROC = 4 # number of processes

# time step parameters
# total number of time steps
NSTEP = 5000
NSTEP = 10000

# duration of a time step (see section "How to choose the time step" of the manual for how to do this)
DT = 0.00598
DT = 0.003

# time stepping
# 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta
Expand Down Expand Up @@ -358,7 +358,7 @@ cutsnaps = 1.

#### for JPEG color images ####
output_color_image = .true. # output JPEG color image of the results every NTSTEP_BETWEEN_OUTPUT_IMAGES time steps or not
imagetype_JPEG = 3 # display 1=displ_Ux 2=displ_Uz 3=displ_norm 4=veloc_Vx 5=veloc_Vz 6=veloc_norm 7=accel_Ax 8=accel_Az 9=accel_norm 10=pressure
imagetype_JPEG = 10 # display 1=displ_Ux 2=displ_Uz 3=displ_norm 4=veloc_Vx 5=veloc_Vz 6=veloc_norm 7=accel_Ax 8=accel_Az 9=accel_norm 10=pressure
factor_subsample_image = 1.0d0 # (double precision) factor to subsample or oversample (if set to e.g. 0.5) color images output by the code (useful for very large models, or to get nicer looking denser pictures)
USE_CONSTANT_MAX_AMPLITUDE = .false. # by default the code normalizes each image independently to its maximum; use this option to use the global maximum below instead
CONSTANT_MAX_AMPLITUDE_TO_USE = 1.17d4 # constant maximum amplitude to use for all color images if the above USE_CONSTANT_MAX_AMPLITUDE option is true
Expand Down
2 changes: 1 addition & 1 deletion EXAMPLES/Gmsh_example_CPML_MPI/DATA/SOURCE
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ time_function_type = 1
# IMPORTANT: do NOT put quote signs around the file name, just put the file name itself otherwise the run will stop
name_of_source_file = DUMMY
burst_band_width = 0. # Only for option 9 : band width of the burst
f0 = 0.678
f0 = 1.0
tshift = 0.0 # time shift when multi sources (if one source, must be zero)
## Force source
# angle of the source (for a force only); for a plane wave, this is the incidence angle; for moment tensor sources this is unused
Expand Down