[cig-commits] [commit] devel, master: Paul changed the old Par_file by adding on term with CPML_element_file (7db41a8)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Jun 18 15:21:30 PDT 2014


Repository : https://github.com/geodynamics/specfem2d

On branches: devel,master
Link       : https://github.com/geodynamics/specfem2d/compare/fc67e6fd7ad890705b2b72b4b3c509accb22249e...e9ca46c40131588d89d7b0883250bc6584ce6b4c

>---------------------------------------------------------------

commit 7db41a814a15d8d5b0f457b15855366f65eadf8d
Author: Xie Zhinan <xiezhinan1984 at gmail.com>
Date:   Thu Aug 9 10:32:09 2012 +0000

    Paul changed the old Par_file by adding on term with CPML_element_file


>---------------------------------------------------------------

7db41a814a15d8d5b0f457b15855366f65eadf8d
 .../Par_file_Abel_Balanche_bathy_source_solid      |  2 +-
 Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in       |  2 +-
 Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in    |  2 +-
 INDUSTRIAL_FORMAT/Par_file                         |  2 +-
 M2_UPPA/Par_file_M2_UPPA                           |  2 +-
 Rayleigh_wave_no_crack/Par_file_Rayleigh_2D        |  2 +-
 Rayleigh_wave_with_crack/Par_file_Rayleigh_2D      |  2 +-
 Tape2007/Par_file_Tape2007_132rec_checker          |  2 +-
 Tape2007/Par_file_Tape2007_onerec                  |  2 +-
 Tape2007_kernel/Par_file_Tape2007_onerec           |  2 +-
 Tromp2005/Par_file_Tromp2005                       |  2 +-
 Tromp2005/Par_file_Tromp2005_s100                  |  2 +-
 Tromp2005_kernel/Par_file_Tromp2005                |  2 +-
 acoustic_poroelastic/Par_file_acoustic_poroelastic |  2 +-
 attenuation/Par_file_attenuation_2D                |  2 +-
 canyon/Par_file_canyon                             |  2 +-
 .../fluid_solid_external_mesh/Par_file_fluid_solid |  2 +-
 .../Par_file_fluid_solid                           |  2 +-
 .../Par_file_fluid_solid                           |  2 +-
 init_plane/Par_file_Slave                          |  2 +-
 init_plane/Par_file_Slave_for                      |  2 +-
 init_plane/Par_file_Slave_kernel                   |  2 +-
 noise_layered/model_0/Par_file_fair                |  2 +-
 noise_layered/model_0/Par_file_good                |  2 +-
 noise_layered/model_1/Par_file_best                |  2 +-
 noise_layered/model_1/Par_file_fair                |  2 +-
 noise_layered/model_1/Par_file_good                |  2 +-
 noise_layered/model_2/Par_file_fair                |  2 +-
 noise_layered/model_2/Par_file_good                |  2 +-
 noise_uniform/Par_file_noise_1                     |  2 +-
 noise_uniform/Par_file_noise_2                     |  2 +-
 noise_uniform/Par_file_noise_3                     |  2 +-
 ...e_their_format_when_new_parameters_are_added.py | 31 +++++++++++++++++
 semi_infinite_homo/Par_file_elastic_2D             |  6 ++--
 .../plot_points_per_wavelength_histogram.gnu       |  2 +-
 .../points_per_wavelength_histogram_S_in_solid.txt | 40 +++++++++++-----------
 36 files changed, 87 insertions(+), 56 deletions(-)

diff --git a/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid b/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid
index 9f5f7e0..4d610fe 100644
--- a/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid
+++ b/Abel_Brest/Par_file_Abel_Balanche_bathy_source_solid
@@ -139,7 +139,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in b/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in
index c9648ab..6573c30 100644
--- a/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in
+++ b/Gmsh_example_MPI/Par_file_Gmsh_SqrCircles.in
@@ -135,7 +135,7 @@ mesh_file                       = Mesh_SqrCirc   # file containing the mesh
 nodes_coords_file               = Nodes_SqrCirc    # file containing the nodes coordinates
 materials_file                  = Material_SqrCirc  # file containing the material number for each element
 free_surface_file               = Surf_free_SqrCirc   # file containing the free surface
-absorbing_surface_file          = Surf_abs_SqrCirc   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in b/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in
index 7fd68ee..21a5ea5 100644
--- a/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in
+++ b/Gmsh_example_serial/Par_file_Gmsh_SqrCircles.in
@@ -135,7 +135,7 @@ mesh_file                       = Mesh_SqrCirc   # file containing the mesh
 nodes_coords_file               = Nodes_SqrCirc    # file containing the nodes coordinates
 materials_file                  = Material_SqrCirc  # file containing the material number for each element
 free_surface_file               = Surf_free_SqrCirc   # file containing the free surface
-absorbing_surface_file          = Surf_abs_SqrCirc   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/INDUSTRIAL_FORMAT/Par_file b/INDUSTRIAL_FORMAT/Par_file
index ae91a8e..6b7fae0 100644
--- a/INDUSTRIAL_FORMAT/Par_file
+++ b/INDUSTRIAL_FORMAT/Par_file
@@ -133,7 +133,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/M2_UPPA/Par_file_M2_UPPA b/M2_UPPA/Par_file_M2_UPPA
index 62499ec..3e5b9b4 100644
--- a/M2_UPPA/Par_file_M2_UPPA
+++ b/M2_UPPA/Par_file_M2_UPPA
@@ -133,7 +133,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D b/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D
index bc5bfca..bc3f0a4 100644
--- a/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D
+++ b/Rayleigh_wave_no_crack/Par_file_Rayleigh_2D
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/mesh/canyon_mesh_file   # file containi
 nodes_coords_file               = ./DATA/mesh/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/mesh/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/mesh/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/mesh/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D b/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D
index 231c7cb..f106dce 100644
--- a/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D
+++ b/Rayleigh_wave_with_crack/Par_file_Rayleigh_2D
@@ -134,7 +134,7 @@ mesh_file                       = ./DATA/mesh/canyon_mesh_file   # file containi
 nodes_coords_file               = ./DATA/mesh/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/mesh/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/mesh/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/mesh/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tape2007/Par_file_Tape2007_132rec_checker b/Tape2007/Par_file_Tape2007_132rec_checker
index 6823e23..0db92d0 100644
--- a/Tape2007/Par_file_Tape2007_132rec_checker
+++ b/Tape2007/Par_file_Tape2007_132rec_checker
@@ -916,7 +916,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tape2007/Par_file_Tape2007_onerec b/Tape2007/Par_file_Tape2007_onerec
index 6968730..bac2027 100644
--- a/Tape2007/Par_file_Tape2007_onerec
+++ b/Tape2007/Par_file_Tape2007_onerec
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tape2007_kernel/Par_file_Tape2007_onerec b/Tape2007_kernel/Par_file_Tape2007_onerec
index 46b9e7c..b907cb7 100644
--- a/Tape2007_kernel/Par_file_Tape2007_onerec
+++ b/Tape2007_kernel/Par_file_Tape2007_onerec
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tromp2005/Par_file_Tromp2005 b/Tromp2005/Par_file_Tromp2005
index 8d07ab9..0a0e2da 100644
--- a/Tromp2005/Par_file_Tromp2005
+++ b/Tromp2005/Par_file_Tromp2005
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tromp2005/Par_file_Tromp2005_s100 b/Tromp2005/Par_file_Tromp2005_s100
index 7b5fdef..efe35ed 100644
--- a/Tromp2005/Par_file_Tromp2005_s100
+++ b/Tromp2005/Par_file_Tromp2005_s100
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/Tromp2005_kernel/Par_file_Tromp2005 b/Tromp2005_kernel/Par_file_Tromp2005
index 210c7e9..d54005c 100644
--- a/Tromp2005_kernel/Par_file_Tromp2005
+++ b/Tromp2005_kernel/Par_file_Tromp2005
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/acoustic_poroelastic/Par_file_acoustic_poroelastic b/acoustic_poroelastic/Par_file_acoustic_poroelastic
index 6b11f94..be9b91d 100644
--- a/acoustic_poroelastic/Par_file_acoustic_poroelastic
+++ b/acoustic_poroelastic/Par_file_acoustic_poroelastic
@@ -139,7 +139,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/attenuation/Par_file_attenuation_2D b/attenuation/Par_file_attenuation_2D
index 1ec59ad..81c83e9 100644
--- a/attenuation/Par_file_attenuation_2D
+++ b/attenuation/Par_file_attenuation_2D
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/canyon/Par_file_canyon b/canyon/Par_file_canyon
index 67b8ee2..90f762f 100644
--- a/canyon/Par_file_canyon
+++ b/canyon/Par_file_canyon
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/mesh/canyon_mesh_file   # file containi
 nodes_coords_file               = ./DATA/mesh/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/mesh/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/mesh/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/mesh/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid b/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid
index c48ee74..34df167 100644
--- a/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid
+++ b/fluid_solid/fluid_solid_external_mesh/Par_file_fluid_solid
@@ -135,7 +135,7 @@ mesh_file                       = ./mesh/mesh          # file containing the mes
 nodes_coords_file               = ./mesh/nodes_coords  # file containing the nodes coordinates
 materials_file                  = ./mesh/mat           # file containing the material number for each element
 free_surface_file               = ./mesh/surface_free  # file containing the free surface
-absorbing_surface_file          = ./mesh/surface_abs   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid b/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid
index 1fdbd71..db11f5d 100644
--- a/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid
+++ b/fluid_solid/from_2000_Geophysics_paper_flat_ocean_bottom/Par_file_fluid_solid
@@ -132,7 +132,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid b/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid
index ac55c14..b8dd0d5 100644
--- a/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid
+++ b/fluid_solid/from_2000_Geophysics_paper_sinusoidal_ocean_bottom/Par_file_fluid_solid
@@ -132,7 +132,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/init_plane/Par_file_Slave b/init_plane/Par_file_Slave
index c34ba6c..988f243 100644
--- a/init_plane/Par_file_Slave
+++ b/init_plane/Par_file_Slave
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/init_plane/Par_file_Slave_for b/init_plane/Par_file_Slave_for
index e31a0f3..73f4c1e 100644
--- a/init_plane/Par_file_Slave_for
+++ b/init_plane/Par_file_Slave_for
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/init_plane/Par_file_Slave_kernel b/init_plane/Par_file_Slave_kernel
index fabb8cd..b565bef 100644
--- a/init_plane/Par_file_Slave_kernel
+++ b/init_plane/Par_file_Slave_kernel
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/ice_water_rock_1D/ice_water_rock_1D_ele
 nodes_coords_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_nodes          # file containing node coordinates
 materials_file                  = ./DATA/ice_water_rock_1D/ice_water_rock_1D_material       # file containing material index for each element
 free_surface_file               = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_free   # file containing free surface
-absorbing_surface_file          = ./DATA/ice_water_rock_1D/ice_water_rock_1D_surface_absorb # file containing absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_0/Par_file_fair b/noise_layered/model_0/Par_file_fair
index c9bc6b0..68626b1 100644
--- a/noise_layered/model_0/Par_file_fair
+++ b/noise_layered/model_0/Par_file_fair
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_0/Par_file_good b/noise_layered/model_0/Par_file_good
index 27051a2..061e3d6 100644
--- a/noise_layered/model_0/Par_file_good
+++ b/noise_layered/model_0/Par_file_good
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_1/Par_file_best b/noise_layered/model_1/Par_file_best
index a700d86..3c0a148 100644
--- a/noise_layered/model_1/Par_file_best
+++ b/noise_layered/model_1/Par_file_best
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_1/Par_file_fair b/noise_layered/model_1/Par_file_fair
index 21551a2..913c28d 100644
--- a/noise_layered/model_1/Par_file_fair
+++ b/noise_layered/model_1/Par_file_fair
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_1/Par_file_good b/noise_layered/model_1/Par_file_good
index 5b5c32e..ba241d6 100644
--- a/noise_layered/model_1/Par_file_good
+++ b/noise_layered/model_1/Par_file_good
@@ -131,7 +131,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_2/Par_file_fair b/noise_layered/model_2/Par_file_fair
index be37570..71b07c0 100644
--- a/noise_layered/model_2/Par_file_fair
+++ b/noise_layered/model_2/Par_file_fair
@@ -132,7 +132,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_layered/model_2/Par_file_good b/noise_layered/model_2/Par_file_good
index 8cd7ba6..4becc4c 100644
--- a/noise_layered/model_2/Par_file_good
+++ b/noise_layered/model_2/Par_file_good
@@ -132,7 +132,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_uniform/Par_file_noise_1 b/noise_uniform/Par_file_noise_1
index 6f9a4f6..1fba4af 100644
--- a/noise_uniform/Par_file_noise_1
+++ b/noise_uniform/Par_file_noise_1
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_uniform/Par_file_noise_2 b/noise_uniform/Par_file_noise_2
index f9e3809..bf8c473 100644
--- a/noise_uniform/Par_file_noise_2
+++ b/noise_uniform/Par_file_noise_2
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/noise_uniform/Par_file_noise_3 b/noise_uniform/Par_file_noise_3
index 42306b9..c5fa1c4 100644
--- a/noise_uniform/Par_file_noise_3
+++ b/noise_uniform/Par_file_noise_3
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py b/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py
index d3554d0..ae1ec3a 100755
--- a/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py
+++ b/process_DATA_Par_files_to_update_their_format_when_new_parameters_are_added.py
@@ -415,6 +415,36 @@ def ProcessParfile_r20359(fic):
     print 'xxxxx------> '+fic+' processed to r20359'
     return
 #------------------------------------------------------------------------------
+def ProcessParfile_r20561(fic):
+    # Open the file and get all lines from Par_file
+    ligs= LoadLig(fic)
+
+    # Test if already processed
+    for lig in ligs:
+        if 'CPML_element_file' in lig:
+            print '----> '+fic+' already processed to r20561'            
+            return
+    #
+    a1='CPML_element_file               = EltPML_xxxxxx  ' + \
+    '# file containing the CPML element numbers\n'
+
+    #--------------------------------------------------------------------------
+    # Add new parameters
+    # 
+    for ilg, lig in enumerate(ligs):
+        if lig.startswith('absorbing_surface_file'):
+            ligs.pop(ilg)
+            ligs.insert(ilg,a1)
+    #
+    move(fic,fic+'.before_update_to_r20561')
+    #
+    fm = open(fic,'w')
+    fm.writelines(ligs)
+    fm.close()
+    #
+    print 'xxxxx------> '+fic+' processed to r20561'
+    return
+#------------------------------------------------------------------------------
 if __name__=='__main__':
     ## List of all files of current directory
     Fichiers=[]
@@ -438,6 +468,7 @@ if __name__=='__main__':
                     ProcessParfile_r19804(fic)
                     ProcessParfile_r20307(fic)
                     ProcessParfile_r20359(fic)
+                    ProcessParfile_r20561(fic)
                 print '~'*80
     #                
     print 'Number of Par_file analysed : ', Ct_Par_file   
diff --git a/semi_infinite_homo/Par_file_elastic_2D b/semi_infinite_homo/Par_file_elastic_2D
index ee5ee2e..4a22f97 100644
--- a/semi_infinite_homo/Par_file_elastic_2D
+++ b/semi_infinite_homo/Par_file_elastic_2D
@@ -109,8 +109,8 @@ read_external_mesh              = .false.
 # absorbing boundary active or not
 PML_BOUNDARY_CONDITIONS         = .false.
 NELEM_PML_THICKNESS             = 3
-STACEY_ABSORBING_CONDITIONS     = .false.
-ADD_SPRING_TO_STACEY            = .true.
+STACEY_ABSORBING_CONDITIONS     = .true.
+ADD_SPRING_TO_STACEY            = .false.
 
 # for horizontal periodic conditions: detect common points between left and right edges
 ADD_PERIODIC_CONDITIONS         = .false.
@@ -130,7 +130,7 @@ mesh_file                       = ./DATA/Mesh_canyon/canyon_mesh_file   # file c
 nodes_coords_file               = ./DATA/Mesh_canyon/canyon_nodes_coords_file   # file containing the nodes coordinates
 materials_file                  = ./DATA/Mesh_canyon/canyon_materials_file   # file containing the material number for each element
 free_surface_file               = ./DATA/Mesh_canyon/canyon_free_surface_file   # file containing the free surface
-absorbing_surface_file          = ./DATA/Mesh_canyon/canyon_absorbing_surface_file   # file containing the absorbing surface
+CPML_element_file               = EltPML_xxxxxx  # file containing the CPML element numbers
 tangential_detection_curve_file = ./DATA/courbe_eros_nodes # file containing the curve delimiting the velocity model
 
 #-----------------------------------------------------------------------------
diff --git a/semi_infinite_homo/plot_points_per_wavelength_histogram.gnu b/semi_infinite_homo/plot_points_per_wavelength_histogram.gnu
index c345139..0f77db4 100644
--- a/semi_infinite_homo/plot_points_per_wavelength_histogram.gnu
+++ b/semi_infinite_homo/plot_points_per_wavelength_histogram.gnu
@@ -2,7 +2,7 @@
  #set term gif
  #set output "points_per_wavelength_histogram_S_in_solid.gif"
  
- set boxwidth   8.66025500E-03
+ set boxwidth   8.6602550E-03
  set xlabel "Range of min number of points per S wavelength in solid"
  set ylabel "Percentage of elements (%)"
  plot "points_per_wavelength_histogram_S_in_solid.txt" with boxes
diff --git a/semi_infinite_homo/points_per_wavelength_histogram_S_in_solid.txt b/semi_infinite_homo/points_per_wavelength_histogram_S_in_solid.txt
index 2e24674..dd6e32f 100644
--- a/semi_infinite_homo/points_per_wavelength_histogram_S_in_solid.txt
+++ b/semi_infinite_homo/points_per_wavelength_histogram_S_in_solid.txt
@@ -1,20 +1,20 @@
-   8.5779819         0.0000000    
-   8.5866432         0.0000000    
-   8.5953026         0.0000000    
-   8.6039639         0.0000000    
-   8.6126232         0.0000000    
-   8.6212845         0.0000000    
-   8.6299438         0.0000000    
-   8.6386051         0.0000000    
-   8.6472645         0.0000000    
-   8.6559258         14.000000    
-   8.6645851         86.000000    
-   8.6732445         0.0000000    
-   8.6819057         0.0000000    
-   8.6905651         0.0000000    
-   8.6992264         0.0000000    
-   8.7078857         0.0000000    
-   8.7165470         0.0000000    
-   8.7252064         0.0000000    
-   8.7338676         0.0000000    
-   8.7425270         0.0000000    
+   8.577982        0.0000000E+00
+   8.586643        0.0000000E+00
+   8.595303        0.0000000E+00
+   8.603964        0.0000000E+00
+   8.612623        0.0000000E+00
+   8.621284        0.0000000E+00
+   8.629944        0.0000000E+00
+   8.638605        0.0000000E+00
+   8.647264        0.0000000E+00
+   8.655926         2.000000    
+   8.664585         98.00000    
+   8.673244        0.0000000E+00
+   8.681906        0.0000000E+00
+   8.690565        0.0000000E+00
+   8.699226        0.0000000E+00
+   8.707886        0.0000000E+00
+   8.716547        0.0000000E+00
+   8.725206        0.0000000E+00
+   8.733868        0.0000000E+00
+   8.742527        0.0000000E+00



More information about the CIG-COMMITS mailing list