&GLOBAL
  PRINT_LEVEL LOW
  PROJECT dipole
  RUN_TYPE ENERGY_FORCE
  ##  RUN_TYPE DEBUG
&END GLOBAL

&DEBUG
  DE 0.002
  DEBUG_DIPOLE .TRUE.
  DEBUG_FORCES .FALSE.
  DEBUG_POLARIZABILITY .FALSE.
  DEBUG_STRESS_TENSOR .FALSE.
  STOP_ON_MISMATCH T
&END DEBUG

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    LSD
    &EFIELD
    &END EFIELD
    &EXCITED_STATES T
      STATE 2
    &END EXCITED_STATES
    &MGRID
      CUTOFF 200
      REL_CUTOFF 40
    &END MGRID
    &POISSON
      PERIODIC NONE
      POISSON_SOLVER ANALYTIC
    &END POISSON
    &PRINT
      &MOMENTS ON
        PERIODIC .FALSE.
        REFERENCE COM
      &END MOMENTS
    &END PRINT
    &QS
      METHOD GPW
    &END QS
    &SCF
      EPS_SCF 1.0E-8
      MAX_SCF 50
      SCF_GUESS ATOMIC
      &OT
        MINIMIZER DIIS
        PRECONDITIONER FULL_SINGLE_INVERSE
      &END OT
      &OUTER_SCF
        EPS_SCF 1.0E-8
        MAX_SCF 10
      &END OUTER_SCF
    &END SCF
    &XC
      &XC_FUNCTIONAL PADE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &PROPERTIES
    &TDDFPT
      CONVERGENCE [eV] 1.0e-7
      KERNEL sTDA
      MAX_ITER 50
      NSTATES 4
      &STDA
        FRACTION 0.25
      &END STDA
    &END TDDFPT
  &END PROPERTIES
  &SUBSYS
    &CELL
      ABC [angstrom] 5.0 5.0 5.0
      PERIODIC NONE
    &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 DZV-GTH-PADE
      POTENTIAL GTH-PADE-q1
    &END KIND
    &KIND O
      BASIS_SET DZVP-GTH-PADE
      POTENTIAL GTH-PADE-q6
    &END KIND
    &TOPOLOGY
      &CENTER_COORDINATES
      &END CENTER_COORDINATES
    &END TOPOLOGY
  &END SUBSYS
&END FORCE_EVAL
