&GLOBAL
  PRINT_LEVEL LOW
  PROJECT H2O-field
  RUN_TYPE DEBUG
&END GLOBAL

&DEBUG
  DEBUG_FORCES T
  DEBUG_STRESS_TENSOR F
  DX 0.002
  STOP_ON_MISMATCH T
&END DEBUG

&FORCE_EVAL
  METHOD Quickstep
  &DFT
    &KPOINTS
      SCHEME GAMMA
    &END KPOINTS
    &PERIODIC_EFIELD
      INTENSITY 0.005
      POLARISATION 0 0 1
    &END PERIODIC_EFIELD
    &PRINT
      &DERIVATIVES
      &END DERIVATIVES
      &MOMENTS
        PERIODIC T
      &END MOMENTS
    &END PRINT
    &QS
      EPS_DEFAULT 1.E-14
      METHOD xTB
      &XTB
        DO_EWALD T
      &END XTB
    &END QS
    &SCF
      EPS_SCF 1.e-7
      MAX_SCF 30
      &MIXING
        ALPHA 0.40
        METHOD DIRECT_P_MIXING
      &END MIXING
    &END SCF
  &END DFT
  &SUBSYS
    &CELL
      ABC 5.0 5.0 5.0
    &END CELL
    &COORD
      O   0.000000    0.000000   -0.065587 H2O
      H   0.000000   -0.757136    0.520545 H2O
      H   0.000000    0.757136    0.520545 H2O
    &END COORD
  &END SUBSYS
&END FORCE_EVAL
