/fomosto-psgrn-pscmp

An official read-only mirror of https://git.pyrocko.org/pyrocko/fomosto-psgrn-pscmp. Fomosto backend for psgrn and pscmp

Primary LanguageFortranGNU General Public License v3.0GPL-3.0

PSGRN and PSCMP (packaged as fomosto backend)

Build Status

Code to calculate synthetic stress/strain/tilt/gravitational fields on a layered viscoelastic halfspace.

PSGRN and PSCMP have been written by Rongjiang Wang.

Packaging has been done by Hannes Vasyura-Bathke.

References

  • Wang, R., F. Lorenzo-Martín and F. Roth (2003), Computation of deformation induced by earthquakes in a multi-layered elastic crust - FORTRAN programs EDGRN/EDCMP, Computer and Geosciences, 29(2), 195-207.
  • Wang, R., F. Lorenzo-Martin and F. Roth (2006), PSGRN/PSCMP - a new code for calculating co- and post-seismic deformation, geoid and gravity changes based on the viscoelastic-gravitational dislocation theory, Computers and Geosciences, 32, 527-541. DOI:10.1016/j.cageo.2005.08.006.
  • Wang, R. (2005), The dislocation theory: a consistent way for including the gravity effect in (visco)elastic plane-earth models, Geophysical Journal International, 161, 191-196.

Compile and install PSGRN and PSCMP

autoreconf -i   # only if 'configure' script is missing
./configure
make
sudo make install

To run PSGRN/PSCMP with more receivers/source points

  1. Choose larger values in src/psgrn/psgglob.h, e.g.:

    parameter(lmax=1000)
    parameter(nrmax=4001)
  2. Choose larger values in src/pscmp/pscglob.h, e.g.:

    parameter(NZSMAX=5000,NRMAX=10000)
    parameter(NPSMAX=40000)
    parameter(NRECMAX=40000)
  3. Recompile:

    make clean
    make
    sudo make install