| [0b990d] | 1 | % emacs should use -*- KeyVal -*- mode
 | 
|---|
 | 2 | % molecule specification
 | 
|---|
 | 3 | molecule<Molecule>: (
 | 
|---|
 | 4 |   symmetry = C1
 | 
|---|
 | 5 |   { atoms geometry } = {
 | 
|---|
 | 6 |       H    [ 0.088    2.006    1.438 ]
 | 
|---|
 | 7 |       O    [ 0.123    3.193    0.000 ]
 | 
|---|
 | 8 |       H    [ 0.088    2.006   -1.438 ]
 | 
|---|
 | 9 |       O    [ 4.502    5.955   -0.000 ]
 | 
|---|
 | 10 |       H    [ 2.917    4.963   -0.000 ]
 | 
|---|
 | 11 |       H    [ 3.812    7.691   -0.000 ]
 | 
|---|
 | 12 |   }
 | 
|---|
 | 13 | )
 | 
|---|
 | 14 | % basis set specification
 | 
|---|
 | 15 | basis<GaussianBasisSet>: (
 | 
|---|
 | 16 |   name = "STO-3G"
 | 
|---|
 | 17 |   molecule = $:molecule
 | 
|---|
 | 18 | )
 | 
|---|
 | 19 | mpqc: (
 | 
|---|
 | 20 |   checkpoint = no
 | 
|---|
 | 21 |   savestate = no
 | 
|---|
 | 22 |   % method for computing the molecule's energy
 | 
|---|
 | 23 |   mole<CLHF>: (
 | 
|---|
 | 24 |     molecule = $:molecule
 | 
|---|
 | 25 |     basis = $:basis
 | 
|---|
 | 26 |     coor = $..:coor
 | 
|---|
 | 27 |     memory = 16000000
 | 
|---|
 | 28 |   )
 | 
|---|
 | 29 |   % molecular coordinates for optimization
 | 
|---|
 | 30 |   coor<SymmMolecularCoor>: (
 | 
|---|
 | 31 |     molecule = $:molecule
 | 
|---|
 | 32 |     generator<IntCoorGen>: (
 | 
|---|
 | 33 |       molecule = $:molecule
 | 
|---|
 | 34 |       extra_bonds = [ 2 5 ]
 | 
|---|
 | 35 |     )
 | 
|---|
 | 36 |     % use these instead of generated coordinates
 | 
|---|
 | 37 |     variable<SetIntCoor>: [
 | 
|---|
 | 38 |       <StreSimpleCo>:( atoms = [ 2 5 ] )
 | 
|---|
 | 39 |       <BendSimpleCo>:( atoms = [ 2 5 4 ] )
 | 
|---|
 | 40 |       <OutSimpleCo>: ( atoms = [ 5 2 1 3 ] )
 | 
|---|
 | 41 |       <SumIntCoor>: (
 | 
|---|
 | 42 |         coor: [
 | 
|---|
 | 43 |           <StreSimpleCo>:( atoms = [ 1 2 ] )
 | 
|---|
 | 44 |           <StreSimpleCo>:( atoms = [ 2 3 ] )
 | 
|---|
 | 45 |           ]
 | 
|---|
 | 46 |         coef = [ 1.0 1.0 ]
 | 
|---|
 | 47 |         )
 | 
|---|
 | 48 |       <SumIntCoor>: (
 | 
|---|
 | 49 |         coor: [
 | 
|---|
 | 50 |           <StreSimpleCo>:( atoms = [ 4 5 ] )
 | 
|---|
 | 51 |           <StreSimpleCo>:( atoms = [ 4 6 ] )
 | 
|---|
 | 52 |           ]
 | 
|---|
 | 53 |         coef = [ 1.0 1.0 ]
 | 
|---|
 | 54 |         )
 | 
|---|
 | 55 |       <BendSimpleCo>:( atoms = [ 1 2 3 ] )
 | 
|---|
 | 56 |       <BendSimpleCo>:( atoms = [ 5 4 6 ] )
 | 
|---|
 | 57 |     ]
 | 
|---|
 | 58 |     % these are fixed by symmetry anyway,
 | 
|---|
 | 59 |     fixed<SetIntCoor>: [
 | 
|---|
 | 60 |       <SumIntCoor>: (
 | 
|---|
 | 61 |         coor: [
 | 
|---|
 | 62 |           <StreSimpleCo>:( atoms = [ 1 2 ] )
 | 
|---|
 | 63 |           <StreSimpleCo>:( atoms = [ 2 3 ] )
 | 
|---|
 | 64 |           ]
 | 
|---|
 | 65 |         coef = [ 1.0 -1.0 ]
 | 
|---|
 | 66 |         )
 | 
|---|
 | 67 |       <SumIntCoor>: (
 | 
|---|
 | 68 |         coor: [
 | 
|---|
 | 69 |           <StreSimpleCo>:( atoms = [ 4 5 ] )
 | 
|---|
 | 70 |           <StreSimpleCo>:( atoms = [ 4 6 ] )
 | 
|---|
 | 71 |           ]
 | 
|---|
 | 72 |         coef = [ 1.0 -1.0 ]
 | 
|---|
 | 73 |         )
 | 
|---|
 | 74 |       <TorsSimpleCo>:( atoms = [ 2 5 4 6] )
 | 
|---|
 | 75 |       <OutSimpleCo>:( atoms = [ 3 2 6 4 ] )
 | 
|---|
 | 76 |       <OutSimpleCo>:( atoms = [ 1 2 6 4 ] )
 | 
|---|
 | 77 |     ]
 | 
|---|
 | 78 |   )
 | 
|---|
 | 79 |   % optimizer object for the molecular geometry
 | 
|---|
 | 80 |   opt<QNewtonOpt>: (
 | 
|---|
 | 81 |     function = $..:mole
 | 
|---|
 | 82 |     update<BFGSUpdate>: ()
 | 
|---|
 | 83 |     convergence<MolEnergyConvergence>: (
 | 
|---|
 | 84 |       cartesian = yes
 | 
|---|
 | 85 |       energy = $..:..:mole
 | 
|---|
 | 86 |     )
 | 
|---|
 | 87 |     % give a partial guess hessian in internal coordinates
 | 
|---|
 | 88 |     % the missing elements will be filled in automatically
 | 
|---|
 | 89 |     hessian = [
 | 
|---|
 | 90 |         [  0.0109261670 ]
 | 
|---|
 | 91 |         [ -0.0004214845    0.0102746106  ]
 | 
|---|
 | 92 |         [ -0.0008600592    0.0030051330    0.0043149957 ]
 | 
|---|
 | 93 |         [  0.0             0.0             0.0          ]
 | 
|---|
 | 94 |         [  0.0             0.0             0.0          ]
 | 
|---|
 | 95 |         [  0.0             0.0             0.0          ]
 | 
|---|
 | 96 |         [  0.0             0.0             0.0          ]
 | 
|---|
 | 97 |      ]
 | 
|---|
 | 98 |   )
 | 
|---|
 | 99 | )
 | 
|---|