[cig-commits] r20371 - in seismo/2D/SPECFEM2D/trunk/EXAMPLES: . Abel_Brest Gmsh_example_MPI Gmsh_example_serial INDUSTRIAL_FORMAT M2_UPPA Rayleigh_wave_no_crack Rayleigh_wave_with_crack Tape2007 Tape2007_kernel Tromp2005 Tromp2005_kernel acoustic_poroelastic attenuation canyon fluid_solid/fluid_solid_external_mesh fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom init_plane noise_layered/model_0 noise_layered/model_1 noise_layered/model_2 noise_uniform semi_infinite_homo
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Wed Jun 13 08:43:34 PDT 2012
Author: dkomati1
Date: 2012-06-13 08:43:33 -0700 (Wed, 13 Jun 2012)
New Revision: 20371
Modified:
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in
seismo/2D/SPECFEM2D/trunk/EXAMPLES/INDUSTRIAL_FORMAT/Par_file
seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/Par_file_M2_UPPA
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_132rec_checker
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_onerec
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007_kernel/Par_file_Tape2007_onerec
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005_s100
seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005_kernel/Par_file_Tromp2005
seismo/2D/SPECFEM2D/trunk/EXAMPLES/acoustic_poroelastic/Par_file_acoustic_poroelastic
seismo/2D/SPECFEM2D/trunk/EXAMPLES/attenuation/Par_file_attenuation_2D
seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/Par_file_canyon
seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid
seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid
seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid
seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave
seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_for
seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_kernel
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_fair
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_good
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_best
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_fair
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_good
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_fair
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_good
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_1
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_2
seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_3
seismo/2D/SPECFEM2D/trunk/EXAMPLES/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py
seismo/2D/SPECFEM2D/trunk/EXAMPLES/semi_infinite_homo/Par_file_elastic_2D
Log:
used Paul Cristini's script to add the new PML parameters to all the Par_files
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid 2012-06-13 15:43:33 UTC (rev 20371)
@@ -116,7 +116,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in 2012-06-13 15:43:33 UTC (rev 20371)
@@ -112,7 +112,9 @@
read_external_mesh = .true.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in 2012-06-13 15:43:33 UTC (rev 20371)
@@ -112,7 +112,9 @@
read_external_mesh = .true.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/INDUSTRIAL_FORMAT/Par_file
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/INDUSTRIAL_FORMAT/Par_file 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/INDUSTRIAL_FORMAT/Par_file 2012-06-13 15:43:33 UTC (rev 20371)
@@ -110,7 +110,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/Par_file_M2_UPPA
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/Par_file_M2_UPPA 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/M2_UPPA/Par_file_M2_UPPA 2012-06-13 15:43:33 UTC (rev 20371)
@@ -110,7 +110,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D 2012-06-13 15:43:33 UTC (rev 20371)
@@ -111,7 +111,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_132rec_checker
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_132rec_checker 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_132rec_checker 2012-06-13 15:43:33 UTC (rev 20371)
@@ -893,7 +893,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_onerec
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_onerec 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007/Par_file_Tape2007_onerec 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007_kernel/Par_file_Tape2007_onerec
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007_kernel/Par_file_Tape2007_onerec 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tape2007_kernel/Par_file_Tape2007_onerec 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005_s100
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005_s100 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005/Par_file_Tromp2005_s100 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005_kernel/Par_file_Tromp2005
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005_kernel/Par_file_Tromp2005 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/Tromp2005_kernel/Par_file_Tromp2005 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/acoustic_poroelastic/Par_file_acoustic_poroelastic
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/acoustic_poroelastic/Par_file_acoustic_poroelastic 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/acoustic_poroelastic/Par_file_acoustic_poroelastic 2012-06-13 15:43:33 UTC (rev 20371)
@@ -116,7 +116,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/attenuation/Par_file_attenuation_2D
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/attenuation/Par_file_attenuation_2D 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/attenuation/Par_file_attenuation_2D 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .false.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/Par_file_canyon
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/Par_file_canyon 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/canyon/Par_file_canyon 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .true.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid 2012-06-13 15:43:33 UTC (rev 20371)
@@ -112,7 +112,9 @@
read_external_mesh = .true.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid 2012-06-13 15:43:33 UTC (rev 20371)
@@ -109,7 +109,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid 2012-06-13 15:43:33 UTC (rev 20371)
@@ -109,7 +109,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_for
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_for 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_for 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_kernel
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_kernel 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/init_plane/Par_file_Slave_kernel 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_fair
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_fair 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_fair 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_good
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_good 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_0/Par_file_good 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_best
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_best 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_best 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_fair
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_fair 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_fair 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_good
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_good 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_1/Par_file_good 2012-06-13 15:43:33 UTC (rev 20371)
@@ -108,7 +108,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_fair
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_fair 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_fair 2012-06-13 15:43:33 UTC (rev 20371)
@@ -109,7 +109,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_good
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_good 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_layered/model_2/Par_file_good 2012-06-13 15:43:33 UTC (rev 20371)
@@ -109,7 +109,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_1
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_1 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_1 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_2
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_2 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_2 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_3
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_3 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/noise_uniform/Par_file_noise_3 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py 2012-06-13 15:43:33 UTC (rev 20371)
@@ -383,8 +383,38 @@
fm.close()
#
print 'xxxxx------> '+fic+' processed to r20307'
- return
+ return
#------------------------------------------------------------------------------
+def ProcessParfile_r20359(fic):
+ # Open the file and get all lines from Par_file
+ ligs= LoadLig(fic)
+
+ # Test if already processed
+ for lig in ligs:
+ if 'NELEM_PML_THICKNESS' in lig:
+ print '----> '+fic+' already processed to r20359'
+ return
+ #
+ a1='PML_BOUNDARY_CONDITIONS = .true.\nNELEM_PML_THICKNESS ' + \
+ ' = 3\nSTACEY_ABSORBING_CONDITIONS = .false.\n'
+
+ #--------------------------------------------------------------------------
+ # Add new parameters
+ #
+ for ilg, lig in enumerate(ligs):
+ if lig.startswith('absorbing_conditions'):
+ ligs.pop(ilg)
+ ligs.insert(ilg,a1)
+ #
+ move(fic,fic+'.before_update_to_r20359')
+ #
+ fm = open(fic,'w')
+ fm.writelines(ligs)
+ fm.close()
+ #
+ print 'xxxxx------> '+fic+' processed to r20359'
+ return
+#------------------------------------------------------------------------------
if __name__=='__main__':
## List of all files of current directory
Fichiers=[]
@@ -407,6 +437,7 @@
ProcessParfile_r19521(fic)
ProcessParfile_r19804(fic)
ProcessParfile_r20307(fic)
+ ProcessParfile_r20359(fic)
print '~'*80
#
print 'Number of Par_file analysed : ', Ct_Par_file
Modified: seismo/2D/SPECFEM2D/trunk/EXAMPLES/semi_infinite_homo/Par_file_elastic_2D
===================================================================
--- seismo/2D/SPECFEM2D/trunk/EXAMPLES/semi_infinite_homo/Par_file_elastic_2D 2012-06-13 15:29:13 UTC (rev 20370)
+++ seismo/2D/SPECFEM2D/trunk/EXAMPLES/semi_infinite_homo/Par_file_elastic_2D 2012-06-13 15:43:33 UTC (rev 20371)
@@ -107,7 +107,9 @@
read_external_mesh = .false.
# absorbing boundary active or not
-absorbing_conditions = .true.
+PML_BOUNDARY_CONDITIONS = .true.
+NELEM_PML_THICKNESS = 3
+STACEY_ABSORBING_CONDITIONS = .false.
ADD_SPRING_TO_STACEY = .true.
# for horizontal periodic conditions: detect common points between left and right edges
More information about the CIG-COMMITS
mailing list