Skip to content

SCECcode/cvms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Southern California Velocity Model with geotechnical layer (cvms)

License GitHub repo size cvms-ucvm-ci Actions Status

The Southern California Velocity Model developed by SCEC, Caltech and USGS with geotechnical layer

Installation

This package is intended to be installed as part of the UCVM framework, version 25.7 or higher.

Contact the authors

If you would like to contact the authors regarding this software, please e-mail software@scec.org. Note this e-mail address should be used for questions regarding the software itself (e.g. how do I link the library properly?). Questions regarding the model's science (e.g. on what paper is the CVMS based?) should be directed to the model's authors, located in the AUTHORS file.

To build in standalone mode

To install this package on your computer, please run the following commands:

  aclocal
  autoconf
  automake --add-missing --force-missing
  ./configure --prefix=/dir/to/install
  make
  make install

By default, the MPI query interface is not built. To build the MPI version, uncomment the appropriate TARGET line ./src/Makefile and change the compiler FC specification to the appropriate Fortran compiler wrapper.

cvms_query

ASCII query interface(C api) accepts points from stdin with format (lat, lon, dep (m)) and write data material p roperties to stdout.

cvms_txt

ASCII query interface(Fortran api) accepts points from stdin with format (lat, lon, dep (m)) and writes data material properties to stdout with format (lat, lon, dep, vp, vs, density).

cvms_bin

Binary query interface reads a configuration file named 'cvm-input' with the following items:

line 1: number of points
line 2: path to input lon file
line 3: path to input lat file
line 4: path to input dep file
line 5: path to output rho file
line 6: path to output vp file
line 7: path to output vs file

The input and output files are in binary (float) format, with each containing the number of points specified on line 1.

MPI query interface cvms_mpi

Reads a configuration file named 'cvm-input' with the following items:

line 1: number of points
line 2: path to input lon file
line 3: path to input lat file
line 4: path to input dep file
line 5: path to output rho file
line 6: path to output vp file
line 7: path to output vs file

The input and output files are in binary (float) format, with each containing the number of points specified on line 1.

About

CVM-S4(cvms)

Resources

License

Stars

Watchers

Forks

Packages

No packages published