&GLOBAL
  PRINT_LEVEL MEDIUM
  PROJECT_NAME H2O_constant_extpot
  RUN_TYPE ENERGY
&END GLOBAL

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    BASIS_SET_FILE_NAME BASIS_MOLOPT
    POTENTIAL_FILE_NAME GTH_POTENTIALS
    &EXTERNAL_POTENTIAL
      FUNCTION A
      PARAMETERS A
      VALUES [eV] 5.0
    &END EXTERNAL_POTENTIAL
    &MGRID
      CUTOFF 100
    &END MGRID
    &POISSON
      PERIODIC XYZ
      POISSON_SOLVER PERIODIC
    &END POISSON
    &QS
      METHOD GAPW
    &END QS
    &SCF
      MAX_SCF 10
      SCF_GUESS ATOMIC
    &END SCF
    &XC
      &XC_FUNCTIONAL PBE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      A 8.0 0.0 0.0
      B 0.0 8.0 0.0
      C 0.0 0.0 8.0
      PERIODIC XYZ
    &END CELL
    &COORD
      H 4.0 3.242864 4.293066
      H 4.0 4.757136 4.293066
      O 4.0 4.0 3.706934
    &END COORD
    &KIND H
      BASIS_SET DZVP-MOLOPT-SR-GTH
      ELEMENT H
      POTENTIAL GTH-PBE-q1
    &END KIND
    &KIND O
      BASIS_SET DZVP-MOLOPT-SR-GTH
      ELEMENT O
      POTENTIAL GTH-PBE-q6
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
