@SET NREP 1
&FORCE_EVAL
  METHOD QS
  &DFT
    BASIS_SET_FILE_NAME BASIS_SET
    POTENTIAL_FILE_NAME GTH_POTENTIALS
    &MGRID
      CUTOFF 200
    &END MGRID
    &QS
      EPS_DEFAULT 1.0E-8
      LS_SCF
      &DISTRIBUTION
        BASIC_OPTIMIZATION .FALSE.
        BASIC_SPATIAL_OPTIMIZATION .TRUE.
      &END
    &END QS
    &LS_SCF
      MAX_SCF    20
      EPS_FILTER 1.0E-7
      EPS_SCF    1.0E-7
      MU        -0.20
      MIXING_FRACTION 0.45
      S_PRECONDITIONER NONE
      REPORT_ALL_SPARSITIES OFF
      PERFORM_MU_SCAN OFF
      PURIFICATION_METHOD TRS4
      &CHEBYSHEV
        N_CHEBYSHEV 400
        &DOS
           N_GRIDPOINTS 2000
        &END DOS
        &PRINT_SPECIFIC_E_DENSITY_CUBE
           MIN_ENERGY -0.28 -0.14 0.01
           MAX_ENERGY -0.15  0.00 0.15
        &END PRINT_SPECIFIC_E_DENSITY_CUBE
      &END CHEBYSHEV
    &END
    &SCF
      MAX_SCF    30
      EPS_SCF    1.0E-7
      &PRINT
        &RESTART OFF
        &END
      &END
    &END
    &XC
      &XC_FUNCTIONAL PADE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &SUBSYS
    &TOPOLOGY
      MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
    &END
    &CELL
      ABC 9.8528 9.8528 9.8528
      MULTIPLE_UNIT_CELL ${NREP} ${NREP} ${NREP}
    &END CELL
    # 32 H2O (TIP5P,1bar,300K) a = 9.8528
    &COORD
   O       2.280398       9.146539       5.088696 H2O
   H       1.762019       9.820429       5.528454 H2O
   H       3.095987       9.107088       5.588186 H2O
   O       1.251703       2.406261       7.769908 H2O
   H       0.554129       2.982634       8.082024 H2O
   H       1.771257       2.954779       7.182181 H2O
   O       1.596302       6.920128       0.656695 H2O
   H       2.112148       6.126321       0.798136 H2O
   H       1.776389       7.463264       1.424030 H2O
    &END COORD
    &KIND H
      BASIS_SET DZVP-GTH-PADE
      POTENTIAL GTH-PADE-q1
    &END KIND
    &KIND O
      BASIS_SET DZVP-GTH-PADE
      POTENTIAL GTH-PADE-q6
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
&GLOBAL
  PROJECT ECUBE
  RUN_TYPE ENERGY
  PRINT_LEVEL MEDIUM
  &TIMINGS
     THRESHOLD 0.000001
  &END
  ! EXTENDED_FFT_LENGTHS ! enable for large systems and FFTW
&END GLOBAL
