Fortran 77 package CRT version 5.10
General description
Compiling and linking programs of package CRT
- Copy all files (or at least all *.for and *.inc
files) of package FORMS
into your working directory.
All the files may also be extracted using
pkunzip -d forms.zip or
tar -xvf forms.tar
On a computer with a very small memory (less than 16 MB), you may
need to decrease array dimension MRAM in the include file
ram.inc.
It is also recommended to compile and link all programs of package
FORMS according to the description in
forms.htm.
- Copy all files (or at least all *.for and *.inc
files) of package MODEL
into your working directory.
All the files including subdirectories may also be extracted using
pkunzip -d model.zip or
tar -xvf model.tar
It is also recommended to compile and link all programs of package
MODEL according to the description in
model.htm.
- Copy all files (or at least all *.for and *.inc
files) of package CRT
into your working directory.
All the files including subdirectories may also be extracted using
pkunzip -d crt.zip or
tar -xvf crt.tar
- If you wish to compile programs crtpts.for and
green.for, you need also subroutine
indexx.for of the
Numerical Recipes and the corresponding licence.
Refer to package NR.
- Now you may compile and link following programs of package CRT:
All necessary subroutine files and include files are included
by the Fortran 90 INCLUDE commands located
at the end of above listed files containing main programs.
Under Unix, you may perform the above task by editing script
f
designed to compile and link a single file, and then running script
fcrt.
The scripts must be made executable.
Under MS-DOS, you may perform the above task by editing batch file
f.bat
designed to compile and link a single file, and then running batch file
fcrt.bat.
Running programs of package CRT
- Data from standard input *:
-
Main input data of each program are read from the standard input
(denoted by * in the table below),
and mostly consist of a single line containing filenames and
at most few numerical parameters.
-
Description of input data for CRT
-
Complete Ray Tracing.
-
Description of input data for RPPLOT
-
Plotting ray parameters using the output files of CRT.
-
Description of input data for CRT2D3D
-
Transforming 2-D system of rays to 3-D system of rays
to be processed by program MTT which presently works only in 3-D.
-
Description of input data for MTT
-
Calculation of Multivalued Travel Times on 3-D grids of points,
using the output of CRT.
-
Description of input data for MTTGRD
-
Converting multivalued travel times produced by program
MTT into several singlevalued grids separated according to different ray
histories.
-
Description of input data for CRTRAY
-
Conversion of output rays from CRT to formatted files.
-
Description of input data for CRTPTS
-
Conversion of output points from CRT to formatted files.
-
Description of input data for GREEN
-
Program to convert the unformatted output of program CRT
into a formatted file containing the ray-theory elastodynamic
Green function.
-
Description of input data for GREENSS
-
Program to read a formatted file containing the
ray-theory elastodynamic Green function and to generate
ray-theory time-domain synthetic seismograms (without
attenuation) or frequency-domain response functions
(including causal Futterman's attenuation).
-
Description of input data for SS
-
Program to read or generate
and filter the source time function. It may store the
filtered source time function and its Hilbert transform in
the GSE data exchange format, or read the frequency-domain
response function and generate synthetic seismograms in
the GSE data exchange format.
-
Description of input data for SP
-
Program to plot seismograms
previously stored in the GSE data exchange format.
-
Description of input data for INV1TT
-
Program to evaluate the derivatives of the
travel time with respect to the model coefficients.
Table of data files:
General descriptions of the data forms are available under
the formal names of the data forms in the table header.
Information specific to individual programs is available
under the active items 'in' and 'out' inside the table.
Input data files '*' are read from the standard input and are
unique to each program '*.for'.
Input data files 'main' are unique to each program '*.for'.
Their names often default to '*.dat'
(with the exception of 'greenss.for').
Output log files 'log' are unique to each program '*.for' and their
default names are often '*.out', where the program name stands for *.
'PS' are the output encapsulated PostScript files with figures,
generated by means of calcops.for.
List of error messages
File list of package CRT
- (A) Documentation:
- crt.htm (this file)
- crtdoc.htm (general documentation to CRT)
- crterr.htm (list of error messages)
- (B) Basic complete ray tracing program and subroutines:
- crt.for
- crtin.for
- code.for
- code.inc
- ray.for
- dcrt.inc
- raycb.for
- raycb.inc
- trans.for
- coef.for
- init.for
- initd.inc
- initc.inc
- rpar.for
- rpard.inc
- rparc.inc
- rp2d.for
- rp2d.inc
- rp3d.for
- rp3d.inc
- rp3dnul.for
- writ.for
- writ.inc
- scronum.for
- (C) The following subroutine files may be used to modify the basic
version of the complete ray tracing program by means of
additional screen output routines:
- scronul.for
- scropc.for
- scropc.inc
- plotnul.for
- calcomp.cfg
- (D) Application routines and programs facilitating the processing of
the results of complete ray tracing:
- ap.for
- apvar.for
- pointc.inc
- rpplot.for
- rpplot.inc
- rpsymb.for
- crt2d3d.for
- mtt.for
- mtt.inc
- mttgrd.for
- crt2p.for
- crtout.for
- ttsort.for
- crtray.for
- crtpts.for
- green.for
- greenss.for
- ss.for
- sp.for
- inv1tt.for
- (E) Demo files:
- guide.dat
- crt.dat
- dcrt.dat
- init.dat
- len-src.dat
- code.dat
- code1.dat
- rpar.dat
- writ.dat
- writall.dat
- writsrf.dat
- source.dat
- srpcrt.bat
- srpcrt
- fcrt.bat
- fcrt
- (F) Subdirectories with data files related to particular models:
- len
- (examples for programs crt.for, rpplott.for,
intf.for(MODEL), crtpts.for, mtt.for,
mttgrd.for(MODEL) and grdps.for(MODEL))
- prem
- (example for program crt.for in spherical coordinates)
- elf1
- (examples for programs srp.for(MODEL),
crt.for and crtpts.for)
- u2d
- (examples for programs crt.for, green.for,
greenss.for, ss.for, sp.for
and also inv1tt.for)