#! /bin/tcsh

# Computes the electrostatic interaction energy between the two specified
# selections for each frame of the dcd file.

set MDE_PATH=../src                                                                                                    
                            
# determine type of machine, and run appropriate executable
set MACHARCH=`uname -s`
switch ($MACHARCH)
case *IRIX*:
    set MDENERGY=mdenergy.IRIX
breaksw
case *Linux*:
    set MDENERGY=mdenergy.Linux
breaksw
case *SunOS*:
    set MDENERGY=mdenergy.SunOS
breaksw
endsw
set MDE_RUN="$MDE_PATH"/"$MDENERGY"
                                                                                                                                             
              
$MDE_RUN -par par_all27_prot_lipid_ret.inp -switch 10 -cutoff 12 \
  -sel tyr268.sel -psf rh_protein.psf -dcd rh_iso.dcd -fvdw -f force.out

