[cig-commits] [commit] devel, master: added read_value_parameters.f90 to global code to ignore comments and white lines in Par_file (65b22db)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:00:40 PST 2014


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

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

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

commit 65b22dbdf9da2994dd3f506b4a8f09560a3c8606
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Sun Feb 20 00:48:47 2005 +0000

    added read_value_parameters.f90 to global code to ignore comments and white lines in Par_file


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

65b22dbdf9da2994dd3f506b4a8f09560a3c8606
 Par_file | 48 +++++++++++++++++++++---------------------------
 1 file changed, 21 insertions(+), 27 deletions(-)

diff --git a/Par_file b/Par_file
index 9ef60db..d126b48 100644
--- a/Par_file
+++ b/Par_file
@@ -1,37 +1,34 @@
-# ----------------------------------------------------------------
 #
-#    This is the parameter file
-#    Put variable names first and actual value after 34th column
+# This is the parameter file
+# Put variable names first and actual value after 34th column
 #
-# ----------------------------------------------------------------
-#
-<-                              ->
+#-------------------------------->
 #
 
-! number of chunks (1,2,3 or 6)
+# number of chunks (1,2,3 or 6)
 NCHUNKS                         = 6
 
-! angular width of the first chunk (not used if full sphere with six chunks)
+# angular width of the first chunk (not used if full sphere with six chunks)
 ANGULAR_WIDTH_XI_IN_DEGREES     = 90.d0
 ANGULAR_WIDTH_ETA_IN_DEGREES    = 90.d0
 CENTER_LATITUDE_IN_DEGREES      = 40.d0
 CENTER_LONGITUDE_IN_DEGREES     = 10.d0
 GAMMA_ROTATION_AZIMUTH          = 20.d0
 
-! number of elements at the surface along the two sides of the first chunk
-! (must be 16 * multiple of NPROC below)
+# number of elements at the surface along the two sides of the first chunk
+# (must be 16 * multiple of NPROC below)
 NEX_XI                          = 160
 NEX_ETA                         = 160
 
-! number of MPI processors along the two sides of the first chunk
+# number of MPI processors along the two sides of the first chunk
 NPROC_XI                        = 5
 NPROC_ETA                       = 5
 
-! model (isotropic_prem, transversly_isotropic_prem,
-! iaspei, s20rts, Brian_Savage, Min_Chen)
+# model (isotropic_prem, transversly_isotropic_prem,
+# iaspei, s20rts, Brian_Savage, Min_Chen)
 MODEL                           = isotropic_prem
 
-! parameters describing the Earth model
+# parameters describing the Earth model
 OCEANS                          = .false.
 ELLIPTICITY                     = .false.
 TOPOGRAPHY                      = .false.
@@ -39,39 +36,36 @@ GRAVITY                         = .false.
 ROTATION                        = .false.
 ATTENUATION                     = .false.
 
-! absorbing boundary conditions for a regional simulation
+# absorbing boundary conditions for a regional simulation
 ABSORBING_CONDITIONS            = .false.
 
-! record length in minutes
+# record length in minutes
 RECORD_LENGTH_IN_MINUTES        = 40.d0
 
-! save AVS or OpenDX movies
+# save AVS or OpenDX movies
 MOVIE_SURFACE                   = .false.
 MOVIE_VOLUME                    = .false.
 NTSTEP_BETWEEN_FRAMES           = 100
 
-! save AVS or OpenDX mesh files to check the mesh
+# save AVS or OpenDX mesh files to check the mesh
 SAVE_AVS_DX_MESH_FILES          = .false.
 
-! restart files (number of runs can be 1, 2 or 3, choose 1 for no restart files)
+# restart files (number of runs can be 1, 2 or 3, choose 1 for no restart files)
 NUMBER_OF_RUNS                  = 1
 NUMBER_OF_THIS_RUN              = 1
 
-! path to store the local database files on each node
+# path to store the local database files on each node
 LOCAL_PATH                      = /scratch/DATABASES_MPI_DIMITRI
 
-! machine file for MPI
-MACHINE_FILE                    = mymachines
-
-! interval at which we output time step info and max of norm of displacement
+# interval at which we output time step info and max of norm of displacement
 NTSTEP_BETWEEN_OUTPUT_INFO      = 200
 
-! interval in time steps for temporary writing of seismograms
+# interval in time steps for temporary writing of seismograms
 NTSTEP_BETWEEN_OUTPUT_SEISMOS   = 5000000
 
-! flag to impose receivers at the surface or allow them to be buried
+# flag to impose receivers at the surface or allow them to be buried
 RECEIVERS_CAN_BE_BURIED         = .false.
 
-! print source time function
+# print source time function
 PRINT_SOURCE_TIME_FUNCTION      = .false.
 



More information about the CIG-COMMITS mailing list