&GLOBAL
  ECHO_INPUT
  PRINT_LEVEL LOW
  PROGRAM CP2K
  PROJECT colvar
  RUN_TYPE md
&END GLOBAL

&MOTION
  &FREE_ENERGY
    &METADYN
      DO_HILLS T
      NT_HILLS 1
      WW 5.0e-3
      &METAVAR
        COLVAR 1
        SCALE 0.1
      &END METAVAR
      &PRINT
        &COLVAR
          COMMON_ITERATION_LEVELS 10
          &EACH
            METADYNAMICS 1
          &END EACH
        &END COLVAR
        &HILLS
          COMMON_ITERATION_LEVELS 10
          &EACH
            METADYNAMICS 1
          &END EACH
        &END HILLS
      &END PRINT
    &END METADYN
  &END FREE_ENERGY
  &MD
    ENSEMBLE NVE
    STEPS 10
    TEMPERATURE 300
    TIMESTEP 0.3
    &PRINT
      &ENERGY
      &END ENERGY
    &END PRINT
  &END MD
&END MOTION

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    &QS
      METHOD PM3
      &SE
      &END SE
    &END QS
    &SCF
      EPS_SCF 1.0E-5
      IGNORE_CONVERGENCE_FAILURE
      MAX_SCF 50
      &OT ON
        MINIMIZER DIIS
        PRECONDITIONER NONE
      &END OT
    &END SCF
  &END DFT
  &SUBSYS
    &CELL
      ABC 15.0 15.0 15.0
      PERIODIC NONE
    &END CELL
    &COLVAR
      &RING_PUCKERING
        ATOMS 3 4 5 1 2
        COORDINATE 2
      &END RING_PUCKERING
    &END COLVAR
    &COORD
      C   0.8190   -0.9550 0.2598
      C   -0.0569 1.2899   0.1354
      C   -1.2696 0.3179   0.0078
      C   -0.6594 -1.1058 -0.1514
      C   1.1776   0.4494 -0.2521
      H   0.0447   1.6311 1.1819
      H   -0.1676 2.1961   -0.4840
      H   -1.9085 0.5740   -0.8546
      H   -1.9140 0.3795   0.9017
      H   -0.7123 -1.4222 -1.2097
      H   -1.1952 -1.8702 0.4367
      H   1.4661   -1.7529 -0.1439
      H   0.9110   -0.9823 1.3629
      H   1.2916   0.4233   -1.3531
      H   2.1199   0.8453   0.1649
    &END COORD
  &END SUBSYS
&END FORCE_EVAL
