As for the other modules filenames are passed to the code via environmental parameters. In Unix systems a typical command file oassp (in $HOME/oases/bin) is:
#!/bin/csh setenv FOR001 $1.dat # input file setenv FOR002 $1.src # Source array input file setenv FOR015 $1.strf # Source array trf file setenv FOR019 $1.plp # plot parameter file setenv FOR020 $1.plt # plot data file setenv FOR028 $1.cdr # contour plot parameter file setenv FOR029 $1.bdr # contour plot data file setenv FOR045 $2.rhs # mean field amplitudes at rough interface setenv FOR046 $2.vol # mean field in volume scattering layer oassp2 # executable
After preparing an OASP data file with the name input-rhs.dat , OASP is executed by the command:
> oasp input-rhs
To generate the associated scattered field transfer functions, OASSP is then executed,
> oassp input-scat input-rhs
where input-scat.dat is the input file for OASSP.