Sources

POLAIR heavily employs the FORTRAN-90 'subroutine/function' construct. Every submodel has a sources subdirectory containing its subroutines and functions. See the code tree for a schematic representation of the physical placement of sources. To access, for example the coupler interface sources, the user types cd cs (or cd $cs).
As an example of a sources file, the coupler file c_init.f shows how the coupler initializes the POLAIR system.
A user can edit any existing source, and the system scripts will automatically perform all the necessary actions to have that change properly integrated across the POLAIR system.
A user can add a new source file, to the coupler for example, by following the naming convention c_new_file.f. Once created, the user integrates the new source into the POLAIR system by:
cd c (or cd $c) command. Editing the make file make_coupler.m and adding (deleting) the name of the new source.|
. © David Holland. All Rights Reserved. |
|
If you would like further information concerning any of the above topics please send email . |