Fortran 77 package MODEL version 5.10
General description
Compiling and linking programs of package MODEL
- 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
- Now you may compile and link following programs of package MODEL:
All necessary subroutine files and include files are included
by the Fortran 90 INCLUDE command.
Fortran 77 subroutine files are included 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
fmod.
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
fmod.bat.
Specification of the model
The model is specified in terms of subroutines
(e.g., subroutines to evaluate the values and partial derivatives
of the functions describing surfaces or material parameters)
and of the input data for the subroutines.
Although both the subroutines and the data may be modified by a user,
most of the users wish to modify only the input data, using
the interpolation routines contained within the basic version
of the MODEL package.
Description of input data to specify the model
Running programs of package MODEL
Main input data of each program are read from the standard input,
and mostly consist of a single line containing filenames and
at most few numerical parameters.
List of error messages
File list of package MODEL
- (A) Documentation:
- model.htm (this file)
- modeldoc.htm (general documentation to MODEL)
- modelerr.htm (list of error messages)
- (B) General subroutines dealing with blocky geological structures:
- model.for
- modelv.for
- model.inc
- (C) Sample user-defined model specification routines required for
forward modelling:
- metric.for
- metric.inc
- srfc.for
- parm.for
- parmv.for
- val.for
- valv.for
- val.inc
- fit.for
- fitv.for
- auxmod.inc
- (D) Additional model specification routines related to inverse modelling:
- var.for
- varnul.for
- spsp.for
- soft.for
- (E) Service routines useful to handle the model and to perform
some calculations:
- means.for
- hpcg.for
- rkgs.for
- gels.for
- (F) Sample application programs and routines working with the model:
- modchk.for
- grid.for
- sec.for
- sec.inc
- intf.for
- inv1soft.for
- inv3.for
- inv4.for
- (G) Source code editing program:
- clean.for
- mod.bat
- (H) Demo files:
- model.dat
- modchk.dat
- grid.dat
- gridnet.dat
- sec.dat
- sec-pts.dat
- soft.dat
- inv3.dat
- len-grd.bat
- fmod.bat
- fmod
- (I) Subdirectories with data files related to particular models:
- prem
- elf1
- sd
- slit
- wb
- l7
- mar
- u2d