&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME BASIS_SET
    POTENTIAL_FILE_NAME POTENTIAL
    &MGRID
      CUTOFF 200
    &END MGRID
    &QS
    &END QS
    &SCF
      SCF_GUESS ATOMIC
    &END SCF
    &XC
      &XC_FUNCTIONAL Pade
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ABC 5.0 5.0 5.0
    &END CELL
    &COORD
    O   0.000000    0.000000   -0.065587
    H   0.000000   -0.757136    0.520545
    H   0.000000    0.757136    0.520545
    &END COORD
    &KIND H
      BASIS_SET DZVP-GTH-PADE
      POTENTIAL GTH-PADE-q1
    &END KIND
    &KIND O
      BASIS_SET DZVP-GTH-PADE
      POTENTIAL GTH-PADE-q6
    &END KIND
    &COLVAR
       &COORDINATION
          ATOMS_FROM 1
          ATOMS_TO 2 3
          R_0 2.3
       &END COORDINATION
    &END COLVAR
    &COLVAR
       &COORDINATION
          ATOMS_FROM  2
            ATOMS_TO  3
          R_0 2.3
        &END COORDINATION
    &END COLVAR
  &END SUBSYS
&END FORCE_EVAL
&GLOBAL
  PROJECT H2O-meta
  RUN_TYPE MD
  PRINT_LEVEL LOW
&END GLOBAL
&MOTION
  &MD
    ENSEMBLE NVT
    STEPS 9
    TIMESTEP 0.5
    TEMPERATURE 300.0
    &THERMOSTAT
      &NOSE
        LENGTH 3
        YOSHIDA 3
        TIMECON 100.0
        MTS 2
      &END NOSE
    &END
  &END MD
  &FREE_ENERGY
    &METADYN
      DO_HILLS
      LAGRANGE
      NT_HILLS 3
      WW 1.0e-3
      &METAVAR
        LAMBDA 0.1
        MASS 10.0
        SCALE 0.02
        COLVAR 1
      &END METAVAR
      &METAVAR
        LAMBDA 0.1
        MASS 10.0
        SCALE 0.02
        COLVAR 2
      &END METAVAR
    &END METADYN
  &END
&END MOTION
