--------------------------------------------------------------
 Purpose: Converts a diabatic wavefunction to adiabatic.
 Usage:   di2ad [-i -f -p -o -w -ver -h -?]

Options : 
 -i DIR  : data is stored in directory DIR
 -f FILE : the wavefunction is read from FILE rather than from ./psi
           The string FILE may be a relative or a full path-name.
 -p FILE : the PES is read from FILE rather than from ./oper
           The string FILE may be a relative or a full path-name.
 -o FILE : The ouput is written to file FILE rather than to ./psi.ad
           The string FILE may be a relative or a full path-name.
 -w      : An existing output file is overwritten.
 -ver    : Version information about the program 
 -h      : Print this help text. 
 -?      : Print this help text. 

The wavefunction and the oper-file must be in "exact" format.
One may use psi2ex to transform the WF.
--------------------------------------------------------------