DLL Example Files
===================
Some dynamic link library (DLL) files and their Pascal source (PAS)
are provided here. To use one of the DLLs you need to copy it
to the SNOOK directory (\SK\BIN) under the new name USERDEF.DLL e.g.

  copy userdef1.dll \sk\bin\userdef.dll

The DLL routine is not used unless you check the 'User-defined'
option for your .RUN file.

You can write your own DLLs using the templates given here, if
you have access to the Borland Pascal 7 compiler. The file
SNKDEFS.PAS is needed, in addition to standard Borland units.

File List
==========

USERDEF.DLL : This is a back-up of the default version, which
does nothing interesting - simply writes the dynamical variables
for all particles in 'dynvars.dat'.

USERDEF1.DLL : Only writes a particle's dynamical variables if
z is between -5 and +1  (i.e. in the surface region).

USERDEF2.DLL : Only writes a particle's dynamical variables if
its kinetic energy is > 10 eV.

USERDEF3.DLL :  Only writes dynamical variables for the projectile
and its initial collision partner i.e. the atom topmost
in the .TRG file (rw = 1).

