&GLOBAL
 PRINT_LEVEL low
 RUN_TYPE DEBUG
&END GLOBAL

&DEBUG
 DEBUG_FORCES yes
 DEBUG_STRESS_TENSOR yes
 EPS_NO_ERROR_CHECK 1.0E-4
 DX 1.E-3
 STOP_ON_MISMATCH yes
&END DEBUG

&FORCE_EVAL
 METHOD Quickstep
 STRESS_TENSOR analytical
 &PRINT
    &STRESS_TENSOR ON
       COMPONENTS
    &END STRESS_TENSOR
 &END
 &DFT
  &QS
   EPS_DEFAULT 1.0E-14
   EXTRAPOLATION USE_PREV_P
   METHOD xTB
   &xTB
      DO_EWALD T
   &END xTB
  &END QS
  &SCF
   EPS_SCF 1.0E-7
   MAX_SCF 100
   &MIXING
       METHOD DIRECT_P_MIXING
       ALPHA   0.15
   &END
  &END SCF
  &PERIODIC_EFIELD
    POLARISATION 1 1 1
    INTENSITY 0.005
  &END
 &END DFT
  &SUBSYS
    &CELL
      ABC 4.0000 4.0000 4.0000
    &END CELL
    &COORD
     O     0.051368    0.000000    0.000000
     C     1.278612    0.000000    0.000000
     H     1.870460    0.939607    0.000000
     H     1.870460   -0.939607    0.000000
    &END COORD
  &END SUBSYS
&END FORCE_EVAL

