From 38dd3fd4fc2c1767f218518395b43774705eba86 Mon Sep 17 00:00:00 2001 From: Christina Morency Date: Thu, 23 May 2024 12:23:33 -0700 Subject: [PATCH] corrected Par_files and MPI --- DATA/Par_file | 62 ++++++++-------- EXAMPLES/BENCHIE_water_PVC/DATA/Par_file | 61 ++++++++-------- .../ACOUSTIC/DATA/Par_file | 61 ++++++++-------- .../ACOUSTIC_ELASTIC/DATA/Par_file | 61 ++++++++-------- .../ELASTIC/DATA/Par_file | 61 ++++++++-------- EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file | 61 ++++++++-------- .../Gmsh_example_Stacey_MPI/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file.serial | 61 ++++++++-------- EXAMPLES/Industrial_Format_SEP/DATA/Par_file | 61 ++++++++-------- .../REF_SEIS/Par_file.step_1 | 61 ++++++++-------- .../REF_SEIS/Par_file.step_2 | 61 ++++++++-------- .../LuoYang_fluid_solid_kernel/DATA/Par_file | 61 ++++++++-------- EXAMPLES/Marmousi2/DATA/Par_file | 61 ++++++++-------- .../Marmousi_mesh_of_the_model/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file.mesh-improved | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- EXAMPLES/Rayleigh_wave_no_crack/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../Rayleigh_wave_with_crack/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file_Tape2007_132rec_checker | 61 ++++++++-------- .../Tape2007/DATA/Par_file_Tape2007_onerec | 61 ++++++++-------- EXAMPLES/Tape2007/REF_SEIS/Par_file | 61 ++++++++-------- EXAMPLES/Tape2007_kernel/DATA/Par_file | 61 ++++++++-------- EXAMPLES/Tromp2005/DATA/Par_file | 61 ++++++++-------- .../Tromp2005/DATA/Par_file_Tromp2005_s100 | 61 ++++++++-------- EXAMPLES/Tromp2005_kernel/DATA/Par_file | 61 ++++++++-------- .../anisotropic_isotropic_model/DATA/Par_file | 61 ++++++++-------- .../Par_file_homogeneous_with_attenuation | 61 ++++++++-------- .../anisotropic_zinc_crystal/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- ...ation_2D_source_in_point_inside_an_element | 61 ++++++++-------- ...2D_source_in_point_shared_by_four_elements | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- EXAMPLES/canyon/DATA/Par_file | 61 ++++++++-------- ...e_corner_between_several_spectral_elements | 61 ++++++++-------- ...nuation_2D_inside_a_given_spectral_element | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- ...e_corner_between_several_spectral_elements | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- ...e_corner_between_several_spectral_elements | 61 ++++++++-------- ...nuation_2D_inside_a_given_spectral_element | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- EXAMPLES/electromagnetic_GPR_TM/DATA/Par_file | 73 ++++++++++--------- .../fluid_solid_external_mesh/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- EXAMPLES/global_Earth_ak135f/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- EXAMPLES/initial_mode_LDDRK/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../moving_sources_acoustic/DATA/Par_file | 61 ++++++++-------- EXAMPLES/noise_uniform/DATA/Par_file | 61 ++++++++-------- EXAMPLES/noise_uniform/REF_SEIS/Par_file | 61 ++++++++-------- .../paper_axisymmetry_example/DATA/Par_file | 61 ++++++++-------- .../Pekeris_waveguide/DATA/Par_file | 61 ++++++++-------- .../with_free_bottom_surface/DATA/Par_file | 61 ++++++++-------- .../with_rigid_bottom_surface/DATA/Par_file | 61 ++++++++-------- EXAMPLES/poroelastic_acoustic/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../CPML_homogeneous/DATA/Par_file | 61 ++++++++-------- .../CPML_normal_fluid_solid/DATA/Par_file | 61 ++++++++-------- .../CPML_normal_solid_only/DATA/Par_file | 61 ++++++++-------- .../Stacey_homogeneous/DATA/Par_file | 61 ++++++++-------- .../Stacey_normal_fluid_solid/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file_adj | 61 ++++++++-------- .../DATA/Par_file_fwd | 61 ++++++++-------- .../DATA/Par_file_kernel | 61 ++++++++-------- .../DATA/Par_file_save_forward | 61 ++++++++-------- .../semi_infinite_homogeneous/DATA/Par_file | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- .../REF_KERNEL/Par_file | 61 ++++++++-------- .../REF_SEIS/Par_file | 61 ++++++++-------- EXAMPLES/thermocline/DATA/Par_file | 61 ++++++++-------- .../tomographic_ocean_model/DATA/Par_file | 61 ++++++++-------- .../tomographic_ocean_model/REF_SEIS/Par_file | 61 ++++++++-------- .../Par_file_fluid_solid | 61 ++++++++-------- .../Par_file_fluid_solid | 61 ++++++++-------- .../DATA/Par_file | 61 ++++++++-------- src/specfem2D/assemble_MPI.F90 | 7 +- src/specfem2D/prepare_assemble_MPI.F90 | 32 ++++++-- 84 files changed, 2582 insertions(+), 2472 deletions(-) diff --git a/DATA/Par_file b/DATA/Par_file index b447fa04a..e322ac11d 100644 --- a/DATA/Par_file +++ b/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with curved interfaces @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.1d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -287,6 +288,7 @@ nbmodels = 4 # anisotropic: model_number 2 rho c11 c13 c15 c33 c35 c55 c12 c23 c25 0 QKappa Qmu # anisotropic in AXISYM: model_number 2 rho c11 c13 c15 c33 c35 c55 c12 c23 c25 c22 QKappa Qmu # poroelastic: model_number 3 rhos rhof phi c kxx kxz kzz Ks Kf Kfr etaf mufr Qmu +# electromagnetic: model_number 4 mu0 e0 e11(e0) e33(e0) sig11 sig33 Qe11 Qe33 Qs11 Qs33 0 0 0 # tomo: model_number -1 0 0 A 0 0 0 0 0 0 0 0 0 0 # # note: When viscoelasticity or viscoacousticity is turned on, @@ -324,11 +326,11 @@ nbregions = 5 # then set below the different 1 80 41 60 3 60 70 21 40 4 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -349,11 +351,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -406,9 +408,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/BENCHIE_water_PVC/DATA/Par_file b/EXAMPLES/BENCHIE_water_PVC/DATA/Par_file index 0e71e5aa8..3de437d64 100644 --- a/EXAMPLES/BENCHIE_water_PVC/DATA/Par_file +++ b/EXAMPLES/BENCHIE_water_PVC/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = BENCHIE water and PVC model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.5d-8 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0.20 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -325,11 +326,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -350,11 +351,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -407,9 +408,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC/DATA/Par_file b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC/DATA/Par_file index 1c684b0a4..645bd3305 100644 --- a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC/DATA/Par_file +++ b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test acoustic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.00035 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = gll # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -185,11 +185,11 @@ anglerec = 0.d0 # angle to rotate components at rec_normal_to_surface = .false. # base anglerec normal to surface (external mesh and curve file needed) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -200,11 +200,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -229,11 +229,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -262,6 +262,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -301,11 +302,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 100 1 100 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -326,11 +327,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -383,9 +384,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC_ELASTIC/DATA/Par_file b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC_ELASTIC/DATA/Par_file index b0594c35f..b4de65fe9 100644 --- a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC_ELASTIC/DATA/Par_file +++ b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ACOUSTIC_ELASTIC/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.00025 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = gll # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -185,11 +185,11 @@ anglerec = 0.d0 # angle to rotate components at rec_normal_to_surface = .false. # base anglerec normal to surface (external mesh and curve file needed) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -200,11 +200,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -229,11 +229,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -262,6 +262,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -304,11 +305,11 @@ nbregions = 3 # then set below the different 41 60 1 100 2 61 100 1 100 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -329,11 +330,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -386,9 +387,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ELASTIC/DATA/Par_file b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ELASTIC/DATA/Par_file index 3d9fa40c7..0a1be5a8f 100644 --- a/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ELASTIC/DATA/Par_file +++ b/EXAMPLES/BENCHMARK_CLAERBOUT_ADJOINT/ELASTIC/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.00035 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = gll # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -185,11 +185,11 @@ anglerec = 0.d0 # angle to rotate components at rec_normal_to_surface = .false. # base anglerec normal to surface (external mesh and curve file needed) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -200,11 +200,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -229,11 +229,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -262,6 +262,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -301,11 +302,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 100 1 100 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -326,11 +327,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -383,9 +384,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file b/EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file index 0952aaba7..5ee802b61 100644 --- a/EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file +++ b/EXAMPLES/Gmsh_example_CPML_MPI/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Gmsh_MeshIO_CPML_Example @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.002 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1,4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -321,11 +322,11 @@ nbregions = 2 # then set below the different 1 1333 1 213 1 1 1333 214 255 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -346,11 +347,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -403,9 +404,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file b/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file index 087ffe45c..70325daa6 100644 --- a/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file +++ b/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Shallow water 30 Hz Source middle 4 receiver sets @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-7 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0.5 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -311,11 +312,11 @@ nbregions = 2 # then set below the different 1 835 1 71 1 1 835 72 96 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -336,11 +337,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -393,9 +394,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file.serial b/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file.serial index 6bf7bd949..5810e7217 100644 --- a/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file.serial +++ b/EXAMPLES/Gmsh_example_Stacey_MPI/DATA/Par_file.serial @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Shallow water 30 Hz Source middle 4 receiver sets @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-7 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0.5 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -311,11 +312,11 @@ nbregions = 2 # then set below the different 1 835 1 71 1 1 835 72 96 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -336,11 +337,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -393,9 +394,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Industrial_Format_SEP/DATA/Par_file b/EXAMPLES/Industrial_Format_SEP/DATA/Par_file index 3f82002e5..8fd0d342e 100644 --- a/EXAMPLES/Industrial_Format_SEP/DATA/Par_file +++ b/EXAMPLES/Industrial_Format_SEP/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = SALT2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 20 1 20 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_1 b/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_1 index 06638711b..990b09eca 100644 --- a/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_1 +++ b/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_1 @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = SALT2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = legacy # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 644 1 149 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_2 b/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_2 index 6cf0108b0..bbe1b89f7 100644 --- a/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_2 +++ b/EXAMPLES/Industrial_Format_SEP/REF_SEIS/Par_file.step_2 @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = SALT2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 644 1 149 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/LuoYang_fluid_solid_kernel/DATA/Par_file b/EXAMPLES/LuoYang_fluid_solid_kernel/DATA/Par_file index 583cacf62..273d5f79e 100644 --- a/EXAMPLES/LuoYang_fluid_solid_kernel/DATA/Par_file +++ b/EXAMPLES/LuoYang_fluid_solid_kernel/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.1d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1500. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -314,11 +315,11 @@ nbregions = 3 # then set below the different 41 60 1 60 1 61 100 1 60 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -339,11 +340,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -396,9 +397,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Marmousi2/DATA/Par_file b/EXAMPLES/Marmousi2/DATA/Par_file index 6fbde957c..9a41c9e8b 100644 --- a/EXAMPLES/Marmousi2/DATA/Par_file +++ b/EXAMPLES/Marmousi2/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Marmousi2 gridded tomo @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = binary # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomography_model_marmousi2.xyz.bin -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3450. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -313,11 +314,11 @@ nbregions = 2 # then set below the different 1 340 1 61 1 1 340 62 70 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -338,11 +339,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -395,9 +396,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file b/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file index 31525eee2..37be2f307 100644 --- a/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file +++ b/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = external Marmousi mesh @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-6 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .true. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .true. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3450. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -310,11 +311,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 0 1 0 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -335,11 +336,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -392,9 +393,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file.mesh-improved b/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file.mesh-improved index 1a8eb937b..29075f783 100644 --- a/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file.mesh-improved +++ b/EXAMPLES/Marmousi_mesh_of_the_model/DATA/Par_file.mesh-improved @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = external Marmousi mesh @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-6 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .true. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .true. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -50. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -310,11 +311,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 0 1 0 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -335,11 +336,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -392,9 +393,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Marmousi_mesh_of_the_model/REF_SEIS/Par_file b/EXAMPLES/Marmousi_mesh_of_the_model/REF_SEIS/Par_file index 31525eee2..37be2f307 100644 --- a/EXAMPLES/Marmousi_mesh_of_the_model/REF_SEIS/Par_file +++ b/EXAMPLES/Marmousi_mesh_of_the_model/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = external Marmousi mesh @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-6 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .true. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .true. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 3450. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -310,11 +311,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 0 1 0 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -335,11 +336,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -392,9 +393,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Rayleigh_wave_no_crack/DATA/Par_file b/EXAMPLES/Rayleigh_wave_no_crack/DATA/Par_file index 15de0991f..cde32b61a 100644 --- a/EXAMPLES/Rayleigh_wave_no_crack/DATA/Par_file +++ b/EXAMPLES/Rayleigh_wave_no_crack/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Rayleigh wave in a homogeneous 2D medium @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 2 +NPROC = 2 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 3.90625e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 9. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 60 1 28 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Rayleigh_wave_no_crack_simpler_way_to_generate_the_wave/DATA/Par_file b/EXAMPLES/Rayleigh_wave_no_crack_simpler_way_to_generate_the_wave/DATA/Par_file index 907a43843..43a8136f7 100644 --- a/EXAMPLES/Rayleigh_wave_no_crack_simpler_way_to_generate_the_wave/DATA/Par_file +++ b/EXAMPLES/Rayleigh_wave_no_crack_simpler_way_to_generate_the_wave/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tilted Lamb's Problem - Source at the free surface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.85d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 2200. # last receiver z in meters (ig record_at_surface_same_vertical = .true. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 100 1 60 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Rayleigh_wave_with_crack/DATA/Par_file b/EXAMPLES/Rayleigh_wave_with_crack/DATA/Par_file index b8adb4379..edfe6d5ac 100644 --- a/EXAMPLES/Rayleigh_wave_with_crack/DATA/Par_file +++ b/EXAMPLES/Rayleigh_wave_with_crack/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Rayleigh wave in a homogeneous medium with crack @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 2 +NPROC = 2 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 3.90625e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 9. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 3 @@ -315,11 +316,11 @@ nbregions = 3 # then set below the different 30 30 26 28 2 31 31 26 28 3 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_132rec_checker b/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_132rec_checker index 90afff57d..a0ca45c0d 100644 --- a/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_132rec_checker +++ b/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_132rec_checker @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tape-Liu-Tromp (GJI 2007) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 6.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 40 1 40 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_onerec b/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_onerec index 31d7459dd..112ff4c37 100644 --- a/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_onerec +++ b/EXAMPLES/Tape2007/DATA/Par_file_Tape2007_onerec @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tape-Liu-Tromp (GJI 2007) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 6.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 10000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 40 1 40 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tape2007/REF_SEIS/Par_file b/EXAMPLES/Tape2007/REF_SEIS/Par_file index 90afff57d..a0ca45c0d 100644 --- a/EXAMPLES/Tape2007/REF_SEIS/Par_file +++ b/EXAMPLES/Tape2007/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tape-Liu-Tromp (GJI 2007) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 6.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 40 1 40 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tape2007_kernel/DATA/Par_file b/EXAMPLES/Tape2007_kernel/DATA/Par_file index 8280fa0ba..5e5c5420a 100644 --- a/EXAMPLES/Tape2007_kernel/DATA/Par_file +++ b/EXAMPLES/Tape2007_kernel/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tape-Liu-Tromp (GJI 2007) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 6.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 10000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 40 1 40 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tromp2005/DATA/Par_file b/EXAMPLES/Tromp2005/DATA/Par_file index bc81d7da9..eb2537872 100644 --- a/EXAMPLES/Tromp2005/DATA/Par_file +++ b/EXAMPLES/Tromp2005/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tromp-Tape-Liu (GJI 2005) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 80 1 32 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tromp2005/DATA/Par_file_Tromp2005_s100 b/EXAMPLES/Tromp2005/DATA/Par_file_Tromp2005_s100 index 808d4224b..1d7f0127c 100644 --- a/EXAMPLES/Tromp2005/DATA/Par_file_Tromp2005_s100 +++ b/EXAMPLES/Tromp2005/DATA/Par_file_Tromp2005_s100 @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tromp-Tape-Liu (GJI 2005) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.0d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 80 1 32 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/Tromp2005_kernel/DATA/Par_file b/EXAMPLES/Tromp2005_kernel/DATA/Par_file index a6e2f4b53..a26cb7a1f 100644 --- a/EXAMPLES/Tromp2005_kernel/DATA/Par_file +++ b/EXAMPLES/Tromp2005_kernel/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Tromp-Tape-Liu (GJI 2005) @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.0d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 80 1 32 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file b/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file index 72eefcf11..72ab0c30d 100644 --- a/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file +++ b/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for isotropic/anisotropic elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.8e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 3 @@ -313,11 +314,11 @@ nbregions = 3 # then set below the different 1 50 26 30 2 1 50 31 50 3 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -338,11 +339,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 50 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -395,9 +396,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file_homogeneous_with_attenuation b/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file_homogeneous_with_attenuation index d33e70e0f..4bb3c32a5 100644 --- a/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file_homogeneous_with_attenuation +++ b/EXAMPLES/anisotropic_isotropic_model/DATA/Par_file_homogeneous_with_attenuation @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for isotropic/anisotropic elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.8e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 3 @@ -318,11 +319,11 @@ nbregions = 3 # then set below the different 1 50 26 30 2 1 50 31 50 3 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -343,11 +344,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 50 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -400,9 +401,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/anisotropic_zinc_crystal/DATA/Par_file b/EXAMPLES/anisotropic_zinc_crystal/DATA/Par_file index 525b42bcd..70529b1f2 100644 --- a/EXAMPLES/anisotropic_zinc_crystal/DATA/Par_file +++ b/EXAMPLES/anisotropic_zinc_crystal/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of anisotropic zinc crystal @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 55.e-9 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0.2640 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 60 1 60 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/attenuation/viscoacoustic_attenuation_off_versus_analytical/DATA/Par_file b/EXAMPLES/attenuation/viscoacoustic_attenuation_off_versus_analytical/DATA/Par_file index 5c864c300..0bb1994d4 100644 --- a/EXAMPLES/attenuation/viscoacoustic_attenuation_off_versus_analytical/DATA/Par_file +++ b/EXAMPLES/attenuation/viscoacoustic_attenuation_off_versus_analytical/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D for a viscoacoustic medium @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.3d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 250 1 250 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/attenuation/viscoacoustic_attenuation_on_versus_analytical/DATA/Par_file b/EXAMPLES/attenuation/viscoacoustic_attenuation_on_versus_analytical/DATA/Par_file index 5b0f388f2..5b6183071 100644 --- a/EXAMPLES/attenuation/viscoacoustic_attenuation_on_versus_analytical/DATA/Par_file +++ b/EXAMPLES/attenuation/viscoacoustic_attenuation_on_versus_analytical/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D for a viscoacoustic medium @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.3d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .true. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 250 1 250 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_inside_an_element b/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_inside_an_element index c7046c5a8..d56faa5c4 100644 --- a/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_inside_an_element +++ b/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_inside_an_element @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -306,11 +307,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -331,11 +332,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -388,9 +389,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_shared_by_four_elements b/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_shared_by_four_elements index 5d951abb3..5f3e9a4f8 100644 --- a/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_shared_by_four_elements +++ b/EXAMPLES/attenuation/viscoelastic/DATA/Par_file_attenuation_2D_source_in_point_shared_by_four_elements @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -306,11 +307,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -331,11 +332,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -388,9 +389,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/axisymmetric_case_AXISYM_option/DATA/Par_file b/EXAMPLES/axisymmetric_case_AXISYM_option/DATA/Par_file index 92a77ce5a..cf4274bad 100644 --- a/EXAMPLES/axisymmetric_case_AXISYM_option/DATA/Par_file +++ b/EXAMPLES/axisymmetric_case_AXISYM_option/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Axisymmetric simple simulation @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.60d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -209,11 +209,11 @@ zfin = 1500.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -224,11 +224,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -253,11 +253,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -286,6 +286,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -327,11 +328,11 @@ nbregions = 2 # then set below the different 1 180 1 60 1 1 180 61 120 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -352,11 +353,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -409,9 +410,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/axisymmetric_case_AXISYM_option/REF_SEIS/Par_file b/EXAMPLES/axisymmetric_case_AXISYM_option/REF_SEIS/Par_file index 92a77ce5a..cf4274bad 100644 --- a/EXAMPLES/axisymmetric_case_AXISYM_option/REF_SEIS/Par_file +++ b/EXAMPLES/axisymmetric_case_AXISYM_option/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Axisymmetric simple simulation @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.60d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -209,11 +209,11 @@ zfin = 1500.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -224,11 +224,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -253,11 +253,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -286,6 +286,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -327,11 +328,11 @@ nbregions = 2 # then set below the different 1 180 1 60 1 1 180 61 120 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -352,11 +353,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -409,9 +410,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/canyon/DATA/Par_file b/EXAMPLES/canyon/DATA/Par_file index e305b7880..2f9dda128 100644 --- a/EXAMPLES/canyon/DATA/Par_file +++ b/EXAMPLES/canyon/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Canyon Mexico Paco P-SV @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 9. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -299,11 +300,11 @@ absorbleft = .true. nbregions = 1 # then set below the different regions and model number for each region 1 95 1 45 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -324,11 +325,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -381,9 +382,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements index 9d6406af5..f7b9ffabf 100644 --- a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements +++ b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element index 5061dcb41..121a74eaf 100644 --- a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element +++ b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/REF_SEIS/Par_file b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/REF_SEIS/Par_file index 9d6406af5..f7b9ffabf 100644 --- a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/REF_SEIS/Par_file +++ b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements index 1242c2891..f47d65119 100644 --- a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements +++ b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/REF_SEIS/Par_file b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/REF_SEIS/Par_file index 1242c2891..f47d65119 100644 --- a/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/REF_SEIS/Par_file +++ b/EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements index 804520b09..66d2b13d9 100644 --- a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements +++ b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_at_the_corner_between_several_spectral_elements @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element index a5ba9a359..c201ad286 100644 --- a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element +++ b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/DATA/Par_file_no_attenuation_2D_inside_a_given_spectral_element @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/REF_SEIS/Par_file b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/REF_SEIS/Par_file index 804520b09..66d2b13d9 100644 --- a/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/REF_SEIS/Par_file +++ b/EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D attenuation 1999 GJI paper @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # ignored because only one rece record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 44 1 44 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/electromagnetic_GPR_TM/DATA/Par_file b/EXAMPLES/electromagnetic_GPR_TM/DATA/Par_file index 5ecb27ab2..e8bb40a0b 100644 --- a/EXAMPLES/electromagnetic_GPR_TM/DATA/Par_file +++ b/EXAMPLES/electromagnetic_GPR_TM/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = EM - GPR @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4d-12 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 2 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 7 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 7 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,16 +270,17 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 # available material types (see user manual for more information) -# acoustic: model_number 1 rho Vp 0 0 0 QKappa Qmu 0 0 0 0 0 0 -# elastic: model_number 1 rho Vp Vs 0 0 QKappa Qmu 0 0 0 0 0 0 -# anistoropic: model_number 2 rho c11 c13 c15 c33 c35 c55 c12 c23 c25 0 0 0 -# poroelastic: model_number 3 rhos rhof phi c kxx kxz kzz Ks Kf Kfr etaf mufr Qmu -# EM: model_number 4 mu0 e0 e11(e0) e33(e0) sig11 sig33 Qe11 Qe33 Qs11 Qs33 0 0 0 -# tomo: model_number -1 0 0 A 0 0 0 0 0 0 0 0 0 0 +# acoustic: model_number 1 rho Vp 0 0 0 QKappa Qmu 0 0 0 0 0 0 +# elastic: model_number 1 rho Vp Vs 0 0 QKappa Qmu 0 0 0 0 0 0 +# anistoropic: model_number 2 rho c11 c13 c15 c33 c35 c55 c12 c23 c25 0 0 0 +# poroelastic: model_number 3 rhos rhof phi c kxx kxz kzz Ks Kf Kfr etaf mufr Qmu +# electromagnetic: model_number 4 mu0 e0 e11(e0) e33(e0) sig11 sig33 Qe11 Qe33 Qs11 Qs33 0 0 0 +# tomo: model_number -1 0 0 A 0 0 0 0 0 0 0 0 0 0 # # note: When viscoelasticity or viscoacousticity is turned on, # the Vp and Vs values that are read here are the UNRELAXED ones i.e. the values at infinite frequency @@ -318,11 +319,11 @@ nbregions = 9 # then set below the different 1 300 181 210 1 1 300 211 300 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -343,11 +344,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -400,9 +401,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/fluid_solid/fluid_solid_external_mesh/DATA/Par_file b/EXAMPLES/fluid_solid/fluid_solid_external_mesh/DATA/Par_file index 25e6986df..f7d90509c 100644 --- a/EXAMPLES/fluid_solid/fluid_solid_external_mesh/DATA/Par_file +++ b/EXAMPLES/fluid_solid/fluid_solid_external_mesh/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -30. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -305,11 +306,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -330,11 +331,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -387,9 +388,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/DATA/Par_file b/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/DATA/Par_file index be10dd066..dd3cb7e6e 100644 --- a/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/DATA/Par_file +++ b/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Flat fluid/solid interface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.85d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 2 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 2933.33333d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -301,11 +302,11 @@ nbregions = 2 # then set below the different 1 144 1 54 1 1 144 55 108 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -326,11 +327,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -383,9 +384,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/DATA/Par_file b/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/DATA/Par_file index 173ed8fec..3eb709250 100644 --- a/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/DATA/Par_file +++ b/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Sinusoidal fluid/solid interface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.7d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 2 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 2933.33333d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -301,11 +302,11 @@ nbregions = 2 # then set below the different 1 144 1 54 1 1 144 55 108 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -326,11 +327,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -383,9 +384,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/global_Earth_ak135f/DATA/Par_file b/EXAMPLES/global_Earth_ak135f/DATA/Par_file index 2465f5bff..59c8ce87f 100644 --- a/EXAMPLES/global_Earth_ak135f/DATA/Par_file +++ b/EXAMPLES/global_Earth_ak135f/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = AK135F for half a disk for axisymmetric runs @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -900000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -313,11 +314,11 @@ nbregions = 2 # then set below the different 1 835 1 71 1 1 835 72 96 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -338,11 +339,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -395,9 +396,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/infinite_homogeneous_moment_tensor_vertical_dip_slip/DATA/Par_file b/EXAMPLES/infinite_homogeneous_moment_tensor_vertical_dip_slip/DATA/Par_file index f316130ac..a9ef1c29f 100644 --- a/EXAMPLES/infinite_homogeneous_moment_tensor_vertical_dip_slip/DATA/Par_file +++ b/EXAMPLES/infinite_homogeneous_moment_tensor_vertical_dip_slip/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D P-SV elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.8e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -1500.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -299,11 +300,11 @@ absorbleft = .true. nbregions = 1 # then set below the different regions and model number for each region 1 50 1 50 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -324,11 +325,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -381,9 +382,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/infinite_homogeneous_plane_wave/DATA/Par_file b/EXAMPLES/infinite_homogeneous_plane_wave/DATA/Par_file index 5dc55abfa..9046c7f2e 100644 --- a/EXAMPLES/infinite_homogeneous_plane_wave/DATA/Par_file +++ b/EXAMPLES/infinite_homogeneous_plane_wave/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 20.d-8 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -0.05 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -306,11 +307,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 60 1 60 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -331,11 +332,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -388,9 +389,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/initial_mode_LDDRK/DATA/Par_file b/EXAMPLES/initial_mode_LDDRK/DATA/Par_file index 5a2a68c4c..f1bf3ff1e 100644 --- a/EXAMPLES/initial_mode_LDDRK/DATA/Par_file +++ b/EXAMPLES/initial_mode_LDDRK/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = cube elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.4e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 2 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -300,11 +301,11 @@ absorbleft = .true. nbregions = 1 # then set below the different regions and model number for each region 1 50 1 50 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -325,11 +326,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 50 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -382,9 +383,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/initial_plane_wave_with_free_surface/DATA/Par_file b/EXAMPLES/initial_plane_wave_with_free_surface/DATA/Par_file index 60be4e3b4..b9cfd9b12 100644 --- a/EXAMPLES/initial_plane_wave_with_free_surface/DATA/Par_file +++ b/EXAMPLES/initial_plane_wave_with_free_surface/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Plane wave with free surface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.01 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 250000. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -299,11 +300,11 @@ absorbleft = .true. nbregions = 1 # then set below the different regions and model number for each region 1 120 1 50 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -324,11 +325,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -381,9 +382,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/moving_sources_acoustic/DATA/Par_file b/EXAMPLES/moving_sources_acoustic/DATA/Par_file index 6cdb9ad3e..dab2bcac5 100644 --- a/EXAMPLES/moving_sources_acoustic/DATA/Par_file +++ b/EXAMPLES/moving_sources_acoustic/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Example of simulation with moving sources @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.5d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 2 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -110.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -299,11 +300,11 @@ absorbleft = .true. nbregions = 1 # then set below the different regions and model number for each region 1 270 1 100 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -324,11 +325,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -381,9 +382,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/noise_uniform/DATA/Par_file b/EXAMPLES/noise_uniform/DATA/Par_file index 7562cda89..fd7727895 100644 --- a/EXAMPLES/noise_uniform/DATA/Par_file +++ b/EXAMPLES/noise_uniform/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Noise_2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 1 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1500. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -318,11 +319,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 100 1 80 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -343,11 +344,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -400,9 +401,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/noise_uniform/REF_SEIS/Par_file b/EXAMPLES/noise_uniform/REF_SEIS/Par_file index 7562cda89..fd7727895 100644 --- a/EXAMPLES/noise_uniform/REF_SEIS/Par_file +++ b/EXAMPLES/noise_uniform/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Noise_2D @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 1 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 5.d-2 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .false. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1500. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -318,11 +319,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 100 1 80 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -343,11 +344,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -400,9 +401,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/paper_axisymmetry_example/DATA/Par_file b/EXAMPLES/paper_axisymmetry_example/DATA/Par_file index d4a2520c6..a2f8a1156 100644 --- a/EXAMPLES/paper_axisymmetry_example/DATA/Par_file +++ b/EXAMPLES/paper_axisymmetry_example/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid in AXISYM @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 8 +NPROC = 8 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.220703125d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 5 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .true. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .true. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -30. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = MESH_SMALL/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -310,11 +311,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 80 1 20 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -335,11 +336,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -392,9 +393,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/Pekeris_waveguide/DATA/Par_file b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/Pekeris_waveguide/DATA/Par_file index bb1c3db94..54e5e4c26 100644 --- a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/Pekeris_waveguide/DATA/Par_file +++ b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/Pekeris_waveguide/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Underwater acoustics propagation in a Pekeris waveguide @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 8 +NPROC = 8 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.6d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 37.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -301,11 +302,11 @@ nbregions = 2 # then set below the different 1 1550 1 6 1 1 1550 7 12 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -326,11 +327,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -383,9 +384,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_free_bottom_surface/DATA/Par_file b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_free_bottom_surface/DATA/Par_file index 5cc4b648d..987b8e11d 100644 --- a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_free_bottom_surface/DATA/Par_file +++ b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_free_bottom_surface/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Idealized Underwater Acoustics Propagtion @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 8 +NPROC = 8 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.0d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 12.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -299,11 +300,11 @@ absorbleft = .false. nbregions = 1 # then set below the different regions and model number for each region 1 1550 1 6 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -324,11 +325,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -381,9 +382,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_rigid_bottom_surface/DATA/Par_file b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_rigid_bottom_surface/DATA/Par_file index f6a9afa31..874cfadbe 100644 --- a/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_rigid_bottom_surface/DATA/Par_file +++ b/EXAMPLES/perfect_idealized_oceanic_guide_in_underwater_acoustics/with_rigid_bottom_surface/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Perfect oceanic guide @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 8 +NPROC = 8 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 2.0d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/essai.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 12.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 1320 1 6 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/poroelastic_acoustic/DATA/Par_file b/EXAMPLES/poroelastic_acoustic/DATA/Par_file index b7b0c8fc5..d050d5217 100644 --- a/EXAMPLES/poroelastic_acoustic/DATA/Par_file +++ b/EXAMPLES/poroelastic_acoustic/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2 layers: acoustic/poroelastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.2d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 2 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 1867.0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -323,11 +324,11 @@ nbregions = 2 # then set below the different 1 220 1 110 1 1 220 111 220 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -348,11 +349,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -405,9 +406,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/poroelastic_semi_infinite_homogeneous/DATA/Par_file b/EXAMPLES/poroelastic_semi_infinite_homogeneous/DATA/Par_file index 50d107f11..1897341f3 100644 --- a/EXAMPLES/poroelastic_semi_infinite_homogeneous/DATA/Par_file +++ b/EXAMPLES/poroelastic_semi_infinite_homogeneous/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = poroelastic semi-infinite homogeneous @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 4 +NPROC = 4 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.d-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 2 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 400. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 200 1 200 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_homogeneous/DATA/Par_file b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_homogeneous/DATA/Par_file index d6e1f7e96..b9944c23d 100644 --- a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_homogeneous/DATA/Par_file +++ b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_homogeneous/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Salt dome model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.25e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -305,11 +306,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -330,11 +331,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -387,9 +388,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_fluid_solid/DATA/Par_file b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_fluid_solid/DATA/Par_file index 77bb55edf..109ca69dd 100644 --- a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_fluid_solid/DATA/Par_file +++ b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_fluid_solid/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Salt dome model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.25e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 8 @@ -312,11 +313,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -337,11 +338,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -394,9 +395,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_solid_only/DATA/Par_file b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_solid_only/DATA/Par_file index 8440e8c61..d42c49c6b 100644 --- a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_solid_only/DATA/Par_file +++ b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/CPML_normal_solid_only/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Salt dome model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.25e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 7 @@ -311,11 +312,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -336,11 +337,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -393,9 +394,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_homogeneous/DATA/Par_file b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_homogeneous/DATA/Par_file index 91de3481d..83f4bc422 100644 --- a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_homogeneous/DATA/Par_file +++ b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_homogeneous/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Salt dome model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.25e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -305,11 +306,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -330,11 +331,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -387,9 +388,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_normal_fluid_solid/DATA/Par_file b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_normal_fluid_solid/DATA/Par_file index f50ffbb09..94b5c7166 100644 --- a/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_normal_fluid_solid/DATA/Par_file +++ b/EXAMPLES/salt_dome_CUBIT_mesh_from_Ronan_Madec/Stacey_normal_fluid_solid/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Salt dome model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 4.25e-4 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 1100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 8 @@ -312,11 +313,11 @@ nbregions = 7 # then set below the different 1 50 91 100 6 1 50 101 130 7 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -337,11 +338,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -394,9 +395,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file index 7e6cca40b..21ed46ea1 100644 --- a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file +++ b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 48 +NPROC = 48 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./tomo_initial.txt -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .true. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 50 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -315,11 +316,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_adj b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_adj index 8a06cccd9..c1a4729a9 100644 --- a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_adj +++ b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_adj @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 48 +NPROC = 48 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./tomo_initial.txt -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .true. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 1 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -315,11 +316,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_fwd b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_fwd index 9c5934106..296453aa8 100644 --- a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_fwd +++ b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_fwd @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 48 +NPROC = 48 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./tomo_initial.txt -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .true. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 1 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .false. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -315,11 +316,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_kernel b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_kernel index d01379a5a..cf4e0eefa 100644 --- a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_kernel +++ b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_kernel @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 32 +NPROC = 32 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./tomo_initial.txt -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -315,11 +316,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_save_forward b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_save_forward index ed53d78bc..8ff579f9d 100644 --- a/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_save_forward +++ b/EXAMPLES/salt_dome_Vadim/specfem2d_run_input_files_and_scripts/DATA/Par_file_save_forward @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = External mesh with fluid and solid @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .true. # parameters concerning partitioning -NPROC = 32 +NPROC = 32 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.25d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./tomo_initial.txt -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 6 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -100. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .true. @@ -270,6 +270,7 @@ tangential_detection_curve_file = ./MESH/courbe_eros_nodes # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -315,11 +316,11 @@ nbregions = 6 # then set below the different 30 40 50 60 2 35 40 50 60 5 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/semi_infinite_homogeneous/DATA/Par_file b/EXAMPLES/semi_infinite_homogeneous/DATA/Par_file index a32119959..5620837c0 100644 --- a/EXAMPLES/semi_infinite_homogeneous/DATA/Par_file +++ b/EXAMPLES/semi_infinite_homogeneous/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D P-SV elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.8e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 1 @@ -309,11 +310,11 @@ nbregions = 1 # then set below the different # format of each line: nxmin nxmax nzmin nzmax material_number 1 50 1 50 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 50 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/DATA/Par_file b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/DATA/Par_file index d4a2ec8f1..9f9f329a9 100644 --- a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/DATA/Par_file +++ b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with curved interfaces @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.1d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -323,11 +324,11 @@ nbregions = 4 # then set below the different 1 80 41 60 3 60 70 21 40 4 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -348,11 +349,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -405,9 +406,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_KERNEL/Par_file b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_KERNEL/Par_file index a51199527..c18e824aa 100644 --- a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_KERNEL/Par_file +++ b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_KERNEL/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with curved interfaces @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.1d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -323,11 +324,11 @@ nbregions = 4 # then set below the different 1 80 41 60 3 60 70 21 40 4 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -348,11 +349,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -405,9 +406,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_SEIS/Par_file b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_SEIS/Par_file index d4a2ec8f1..9f9f329a9 100644 --- a/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_SEIS/Par_file +++ b/EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with curved interfaces @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.1d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = dummy -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = 0. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 4 @@ -323,11 +324,11 @@ nbregions = 4 # then set below the different 1 80 41 60 3 60 70 21 40 4 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -348,11 +349,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -405,9 +406,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/thermocline/DATA/Par_file b/EXAMPLES/thermocline/DATA/Par_file index c74fe1fc8..b9a215e5b 100644 --- a/EXAMPLES/thermocline/DATA/Par_file +++ b/EXAMPLES/thermocline/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for Abel Balanche UMR 6538 Brest @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 4 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = -4500. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -309,11 +310,11 @@ nbregions = 2 # then set below the different 1 134 1 44 2 1 134 45 84 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -334,11 +335,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -391,9 +392,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/tomographic_ocean_model/DATA/Par_file b/EXAMPLES/tomographic_ocean_model/DATA/Par_file index 18de3470a..6cbd57fbd 100644 --- a/EXAMPLES/tomographic_ocean_model/DATA/Par_file +++ b/EXAMPLES/tomographic_ocean_model/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with tomography model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.5d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = binary # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = -4550. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -321,11 +322,11 @@ nbregions = 3 # then set below the different 1 80 21 40 1 1 80 41 60 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -346,11 +347,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -403,9 +404,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/tomographic_ocean_model/REF_SEIS/Par_file b/EXAMPLES/tomographic_ocean_model/REF_SEIS/Par_file index 18de3470a..6cbd57fbd 100644 --- a/EXAMPLES/tomographic_ocean_model/REF_SEIS/Par_file +++ b/EXAMPLES/tomographic_ocean_model/REF_SEIS/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test of SPECFEM2D with tomography model @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 1 +NPROC = 1 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.5d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = binary # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -201,11 +201,11 @@ zfin = -4550. # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface (z values are ignored if this is set to true, they are replaced with the topography height) -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -216,11 +216,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -245,11 +245,11 @@ STACEY_ABSORBING_CONDITIONS = .true. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -278,6 +278,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -321,11 +322,11 @@ nbregions = 3 # then set below the different 1 80 21 40 1 1 80 41 60 1 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -346,11 +347,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -403,9 +404,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/Par_file_fluid_solid b/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/Par_file_fluid_solid index ac03cba4b..9671ec924 100644 --- a/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/Par_file_fluid_solid +++ b/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/Par_file_fluid_solid @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Flat fluid/solid interface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 5 +NPROC = 5 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.875d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./munkProfile.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -1500.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -317,11 +318,11 @@ nbregions = 2 # then set below the different 1 106 1 33 1 1 106 34 53 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -342,11 +343,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -399,9 +400,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/the_same_bug_appears_from_the_right_PML/Par_file_fluid_solid b/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/the_same_bug_appears_from_the_right_PML/Par_file_fluid_solid index ac03cba4b..9671ec924 100644 --- a/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/the_same_bug_appears_from_the_right_PML/Par_file_fluid_solid +++ b/EXAMPLES/unresolved_bugs/bugPMLs_1_extra_phase_coming_back_from_the_left_PML/the_same_bug_appears_from_the_right_PML/Par_file_fluid_solid @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Flat fluid/solid interface @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 5 +NPROC = 5 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 0.875d-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./munkProfile.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .false. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = -1500.0d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 4000.d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 2 @@ -317,11 +318,11 @@ nbregions = 2 # then set below the different 1 106 1 33 1 1 106 34 53 2 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -342,11 +343,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 10 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -399,9 +400,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/EXAMPLES/unresolved_bugs/bugPMLs_2_weak_instability_in_long_times/DATA/Par_file b/EXAMPLES/unresolved_bugs/bugPMLs_2_weak_instability_in_long_times/DATA/Par_file index 6f7e2f4ec..536bb4b6e 100644 --- a/EXAMPLES/unresolved_bugs/bugPMLs_2_weak_instability_in_long_times/DATA/Par_file +++ b/EXAMPLES/unresolved_bugs/bugPMLs_2_weak_instability_in_long_times/DATA/Par_file @@ -1,8 +1,8 @@ -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# simulation input parameters +# Simulation input parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # title of job title = Test for 2D P-SV elastic @@ -17,7 +17,7 @@ NOISE_TOMOGRAPHY = 0 SAVE_FORWARD = .false. # parameters concerning partitioning -NPROC = 12 +NPROC = 12 # number of processes # time step parameters # total number of time steps @@ -30,7 +30,7 @@ DT = 1.6e-3 # 1 = Newmark (2nd order), 2 = LDDRK4-6 (4th-order 6-stage low storage Runge-Kutta), 3 = classical RK4 4th-order 4-stage Runge-Kutta time_stepping_scheme = 1 -# set the type of calculation (P-SV (EM TE) or SH/membrane waves (EM TM)) +# set the type of calculation (P-SV or SH/membrane waves) P_SV = .true. # axisymmetric (2.5D) or Cartesian planar (2D) simulation @@ -72,20 +72,20 @@ SAVE_MODEL = default # (used for tomography materials with negative material ids and/or MODEL==tomo settings) TOMOGRAPHY_FILE = ./DATA/tomo_file.xyz -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Attenuation # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # attenuation parameters ATTENUATION_VISCOELASTIC = .true. # turn attenuation (viscoelasticity) on or off for non-poroelastic solid parts of the model ATTENUATION_VISCOACOUSTIC = .false. # turn attenuation (viscoacousticity) on or off for non-poroelastic fluid parts of the model -# for viscoelastic attenuation +# for viscoelastic or viscoacoustic attenuation N_SLS = 3 # number of standard linear solids for attenuation (3 is usually the minimum) -ATTENUATION_f0_REFERENCE = 5.196152422706633 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -READ_VELOCITIES_AT_f0 = .false. # shift velocities to account for physical dispersion (see user manual for more information) +ATTENUATION_f0_REFERENCE = 5.196152422706633 # in case of attenuation, reference frequency in Hz at which the velocity values in the velocity model are given (unused otherwise); relevant only if source is a Dirac or a Heaviside, otherwise it is automatically set to f0 the dominant frequency of the source in the DATA/SOURCE file +READ_VELOCITIES_AT_f0 = .false. # read seismic velocities at ATTENUATION_f0_REFERENCE instead of at infinite frequency (see user manual for more information) USE_SOLVOPT = .false. # use more precise but much more expensive way of determining the Q factor relaxation times, as in https://doi.org/10.1093/gji/ggw024 # for poroelastic attenuation @@ -98,8 +98,8 @@ ATTENUATION_PERMITTIVITY = .false. # turn permittivity (Zener mode ATTENUATION_CONDUCTIVITY = .false. # turn conductivity (Kelvin-Voigt model) attenuation on or off for electromagnetic material f0_electromagnetic = 1d9 # (Hz) relevant only if source is a Dirac or a Heaviside, otherwise it is f0 the dominant frequency of the source in the DATA/SOURCE file -# to undo attenuation for sensitivity kernel calculations or forward runs with SAVE_FORWARD -# use the flag below. It performs undoing of attenuation in an exact way for sensitivity kernel calculations +# to undo attenuation and/or PMLs for sensitivity kernel calculations or forward runs with SAVE_FORWARD +# use the flag below. It performs undoing of attenuation and/or of PMLs in an exact way for sensitivity kernel calculations # but requires disk space for temporary storage, and uses a significant amount of memory used as buffers for temporary storage. # When that option is on the second parameter indicates how often the code dumps restart files to disk (if in doubt, use something between 100 and 1000). UNDO_ATTENUATION_AND_OR_PML = .false. @@ -109,11 +109,11 @@ NT_DUMP_ATTENUATION = 500 # Outperforms conventional mode using a value of NTSTEP_BETWEEN_COMPUTE_KERNELS high enough. NO_BACKWARD_RECONSTRUCTION = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Sources # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # source parameters NSOURCES = 1 # number of sources (source information is then read from the DATA/SOURCE file) @@ -142,14 +142,14 @@ noise_source_time_function_type = 4 # This is only useful for GPU version (for now) write_moving_sources_database = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Receivers # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # receiver set parameters for recording stations (i.e. recording points) -# record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field +# seismotype : record 1=displ 2=veloc 3=accel 4=pressure 5=curl of displ 6=the fluid potential 7=electric field seismotype = 1 # several values can be chosen. For example : 1,2,4 # interval in time steps for writing of seismograms @@ -193,11 +193,11 @@ zfin = 99999.d0 # last receiver z in meters (ig record_at_surface_same_vertical = .false. # receivers inside the medium or at the surface -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # -# Adjoint kernel outputs +# adjoint kernel outputs # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format save_ASCII_kernels = .true. @@ -208,11 +208,11 @@ NTSTEP_BETWEEN_COMPUTE_KERNELS = 1 # outputs approximate Hessian for preconditioning APPROXIMATE_HESS_KL = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Boundary conditions # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # Perfectly Matched Layer (PML) boundaries # absorbing boundary active or not @@ -237,11 +237,11 @@ STACEY_ABSORBING_CONDITIONS = .false. ADD_PERIODIC_CONDITIONS = .false. PERIODIC_HORIZ_DIST = 0.3597d0 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # MESHING - Velocity and density models # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # use an external mesh created by an external meshing tool or use the internal mesher read_external_mesh = .false. @@ -270,6 +270,7 @@ tangential_detection_curve_file = dummy # file # PARAMETERS FOR INTERNAL MESHING # #----------------------------------------------------------- + # material properties # number of model materials nbmodels = 3 @@ -315,11 +316,11 @@ nbregions = 3 # then set below the different 1 94 7 77 2 95 100 7 77 3 -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Display parameters # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # interval at which we output time step info and max of norm of displacement # (every how many time steps we display information about the simulation. costly, do not use a very small value) @@ -340,11 +341,11 @@ NTSTEP_BETWEEN_OUTPUT_ENERGY = 50 # the script utils/visualisation/plotIntegratedEnergyFile.py to watch. It is refreshed at the same time than the seismograms COMPUTE_INTEGRATED_ENERGY_FIELD = .false. -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # # Movies/images/snaphots visualizations # -#----------------------------------------------------------------------------- +#----------------------------------------------------------- # every how many time steps we draw JPEG or PostScript pictures of the simulation # and/or we dump results of the simulation as ASCII or binary files (costly, do not use a very small value) @@ -397,9 +398,9 @@ use_binary_for_wavefield_dumps = .false. # use ASCII or single-precision # When that option is on, of course the number of processor cores used to start # the code in the batch system must be a multiple of NUMBER_OF_SIMULTANEOUS_RUNS, # all the individual runs must use the same number of processor cores, -# which as usual is proc in the Par_file, +# which as usual is NPROC in the Par_file, # and thus the total number of processor cores to request from the batch system -# should be NUMBER_OF_SIMULTANEOUS_RUNS * proc. +# should be NUMBER_OF_SIMULTANEOUS_RUNS * NPROC. # All the runs to perform must be placed in directories called run0001, run0002, run0003 and so on # (with exactly four digits). # diff --git a/src/specfem2D/assemble_MPI.F90 b/src/specfem2D/assemble_MPI.F90 index bc9329599..b53e8ec29 100644 --- a/src/specfem2D/assemble_MPI.F90 +++ b/src/specfem2D/assemble_MPI.F90 @@ -47,7 +47,8 @@ subroutine assemble_MPI_scalar(array_val1,npoin_val1, & array_e1,n_sls_loc, & array_val2,npoin_val2, & - array_val3,array_val4,npoin_val3) + array_val3,array_val4,npoin_val3, & + array_val5,npoin_val5) use constants, only: CUSTOM_REAL,NDIM,USE_A_STRONG_FORMULATION_FOR_E1 @@ -79,6 +80,10 @@ subroutine assemble_MPI_scalar(array_val1,npoin_val1, & integer :: npoin_val3 real(kind=CUSTOM_REAL), dimension(npoin_val3), intent(inout) :: array_val3,array_val4 + ! electromagnetic + integer :: npoin_val5 + real(kind=CUSTOM_REAL), dimension(NDIM,npoin_val5), intent(inout) :: array_val5 + ! local parameters integer :: ipoin,iglob,i,idim,iinterface integer :: nbuffer_points diff --git a/src/specfem2D/prepare_assemble_MPI.F90 b/src/specfem2D/prepare_assemble_MPI.F90 index 1c45fd3cb..590b468c5 100644 --- a/src/specfem2D/prepare_assemble_MPI.F90 +++ b/src/specfem2D/prepare_assemble_MPI.F90 @@ -50,19 +50,19 @@ subroutine prepare_assemble_MPI() use constants, only: NGLLX,NGLLZ use specfem_par, only: ibool, knods, NGNOD, nglob, & - ispec_is_elastic, ispec_is_poroelastic, ispec_is_acoustic + ispec_is_elastic, ispec_is_poroelastic, ispec_is_acoustic, ispec_is_electromagnetic use specfem_par, only: ninterface, my_nelmnts_neighbors, my_interfaces, & nibool_interfaces_ext_mesh, ibool_interfaces_ext_mesh_init use specfem_par, only: NPROC, & ibool_interfaces_acoustic, ibool_interfaces_elastic, & - ibool_interfaces_poroelastic, & + ibool_interfaces_poroelastic, ibool_interfaces_electromagnetic, & nibool_interfaces_acoustic, nibool_interfaces_elastic, & - nibool_interfaces_poroelastic, & + nibool_interfaces_poroelastic, nibool_interfaces_electromagnetic, & inum_interfaces_acoustic, inum_interfaces_elastic, & - inum_interfaces_poroelastic, & - ninterface_acoustic, ninterface_elastic, ninterface_poroelastic + inum_interfaces_poroelastic, inum_interfaces_electromagnetic, & + ninterface_acoustic, ninterface_elastic, ninterface_poroelastic, ninterface_electromagnetic implicit none @@ -73,6 +73,7 @@ subroutine prepare_assemble_MPI() logical, dimension(nglob) :: mask_ibool_acoustic logical, dimension(nglob) :: mask_ibool_elastic logical, dimension(nglob) :: mask_ibool_poroelastic + logical, dimension(nglob) :: mask_ibool_electromagnetic logical, dimension(nglob) :: mask_ibool_ext_mesh integer :: ixmin, ixmax, izmin, izmax, ix, iz @@ -81,6 +82,7 @@ subroutine prepare_assemble_MPI() integer :: nglob_interface_acoustic integer :: nglob_interface_elastic integer :: nglob_interface_poroelastic + integer :: nglob_interface_electromagnetic integer :: npoin_interface_ext_mesh ! checks if anything to do @@ -101,6 +103,9 @@ subroutine prepare_assemble_MPI() ibool_interfaces_poroelastic(:,:) = 0 nibool_interfaces_poroelastic(:) = 0 + ibool_interfaces_electromagnetic(:,:) = 0 + nibool_interfaces_electromagnetic(:) = 0 + do iinterface = 1, ninterface ! initializes interface point counters npoin_interface_ext_mesh = 0 @@ -109,10 +114,12 @@ subroutine prepare_assemble_MPI() nglob_interface_acoustic = 0 nglob_interface_elastic = 0 nglob_interface_poroelastic = 0 + nglob_interface_electromagnetic = 0 mask_ibool_acoustic(:) = .false. mask_ibool_elastic(:) = .false. mask_ibool_poroelastic(:) = .false. + mask_ibool_electromagnetic(:) = .false. do ispec_interface = 1, my_nelmnts_neighbors(iinterface) ! element id @@ -179,6 +186,14 @@ subroutine prepare_assemble_MPI() ibool_interfaces_acoustic(nglob_interface_acoustic,iinterface) = iglob endif + else if (ispec_is_electromagnetic(ispec)) then + ! electromagnetic element + if (.not. mask_ibool_electromagnetic(iglob)) then + mask_ibool_electromagnetic(iglob) = .true. + nglob_interface_electromagnetic = nglob_interface_electromagnetic + 1 + ibool_interfaces_electromagnetic(nglob_interface_electromagnetic,iinterface) = iglob + endif + else call stop_the_code('Invalid element type found in prepare_assemble_MPI() routine') endif @@ -195,6 +210,7 @@ subroutine prepare_assemble_MPI() nibool_interfaces_acoustic(iinterface) = nglob_interface_acoustic nibool_interfaces_elastic(iinterface) = nglob_interface_elastic nibool_interfaces_poroelastic(iinterface) = nglob_interface_poroelastic + nibool_interfaces_electromagnetic(iinterface) = nglob_interface_electromagnetic enddo @@ -202,6 +218,7 @@ subroutine prepare_assemble_MPI() ninterface_acoustic = 0 ninterface_elastic = 0 ninterface_poroelastic = 0 + ninterface_electromagnetic = 0 ! loops over all MPI interfaces do iinterface = 1, ninterface @@ -220,6 +237,11 @@ subroutine prepare_assemble_MPI() ninterface_poroelastic = ninterface_poroelastic + 1 inum_interfaces_poroelastic(ninterface_poroelastic) = iinterface endif + ! electromagnetic + if (nibool_interfaces_electromagnetic(iinterface) > 0) then + ninterface_electromagnetic= ninterface_electromagnetic+ 1 + inum_interfaces_electromagnetic(ninterface_electromagnetic) = iinterface + endif enddo end subroutine prepare_assemble_MPI