Skip to content

Commit

Permalink
Merge pull request #840 from danielpeter/devel
Browse files Browse the repository at this point in the history
updates Par_files and adds more routines for full gravity feature
  • Loading branch information
danielpeter authored May 30, 2024
2 parents 3f24cd9 + a35be1b commit 6748f3a
Show file tree
Hide file tree
Showing 94 changed files with 7,610 additions and 4,962 deletions.
3 changes: 3 additions & 0 deletions DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 2.5d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 55.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 100.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 100.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 90.0d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/global_PREM_kernels/amplitude/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 15.0d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/global_PREM_kernels/traveltime/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 15.0d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/global_s362ani_shakemovie/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 100.0d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/global_small/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 0.5d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/mars_global/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 15.0d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/mars_regional/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 2.5d0
Expand Down
3 changes: 3 additions & 0 deletions EXAMPLES/moon_global/DATA/Par_file
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.5d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 205.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 205.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 205.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 205.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 205.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 50.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .true.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ATTENUATION = .false.
# full gravity calculation by solving Poisson's equation for gravity potential instead of using a Cowling approximation
# (must have also GRAVITY flag set to .true. to become active)
FULL_GRAVITY = .false.
# for full gravity calculation, set to 0 == builtin or 1 == PETSc Poisson solver
# (the PETSc solver option needs the PETSc library installed; code configuration --with-petsc)
POISSON_SOLVER = 0

# record length in minutes
RECORD_LENGTH_IN_MINUTES = 1.0d0
Expand Down
Loading

0 comments on commit 6748f3a

Please sign in to comment.