&GLOBAL
  PRINT_LEVEL LOW
  PROJECT Ar-kpoints-gapw-accurate
  RUN_TYPE ENERGY
&END GLOBAL

&FORCE_EVAL
  &DFT
    BASIS_SET_FILE_NAME ALL_BASIS_SETS
    POTENTIAL_FILE_NAME POTENTIAL
    &KPOINTS
      EPS_GEO 1.e-8
      FULL_GRID ON
      PARALLEL_GROUP_SIZE 0
      SCHEME MONKHORST-PACK 2 2 2
      SYMMETRY ON
      VERBOSE F
    &END KPOINTS
    &MGRID
      CUTOFF 120
      REL_CUTOFF 30
    &END MGRID
    &QS
      EPS_DEFAULT 1.0E-12
      EXTRAPOLATION USE_GUESS
      GAPW_ACCURATE_XCINT T
      METHOD GAPW
    &END QS
    &RELATIVISTIC
      DKH_ORDER 3
      METHOD DKH
      POTENTIAL ERFC
      TRANSFORMATION ATOM
    &END RELATIVISTIC
    &SCF
      ADDED_MOS 0
      EPS_SCF 1.0E-6
      MAX_SCF 50
      SCF_GUESS ATOMIC
      &MIXING
        ALPHA 0.50
        METHOD DIRECT_P_MIXING
      &END MIXING
      &PRINT
        &RESTART off
        &END RESTART
      &END PRINT
    &END SCF
    &XC
      &XC_FUNCTIONAL PADE
      &END XC_FUNCTIONAL
    &END XC
  &END DFT
  &SUBSYS
    &CELL
      ABC 5.00000 5.00000 5.00000
    &END CELL
    &COORD
      SCALED
      Ar    0.000000    0.000000    0.000000
      Ar    0.450000    0.550000    0.490000
    &END COORD
    &KIND Ar
      BASIS_SET DZVP-ALL
      POTENTIAL ALL
    &END KIND
  &END SUBSYS
&END FORCE_EVAL
