#!/bin/sh

"$AMSBIN/ams" << eor

Task GeometryOptimization
System
    Atoms
        Tc 0.0 0.0 0.0 adf.R=1.967
        O 1.29499911 -1.29499911 1.29499911 adf.R=1.72
        O 1.29499911 1.29499911 -1.29499911 adf.R=1.72
        O -1.29499911 1.29499911 1.29499911 adf.R=1.72
        O -1.29499911 -1.29499911 -1.29499911 adf.R=1.72
    End
    Charge -1
    BondOrders
         2 1 1.0
         3 1 1.0
         4 1 1.0
         5 1 1.0
    End
End

Engine ADF
    Basis
        Type TZP
    End
    SpinPolarization 0.0
    XC
        GGA OPBE
    End
    Unrestricted Yes
    Solvation
        Surf Delley
        Solv name=Water cav0=0.0 cav1=0.0067639
        Charged method=CONJ
        C-Mat POT
        SCF VAR ALL 
        CSMRSP
    End
    NumericalQuality Good
EndEngine
eor

