@SET RESTART_WFN          TRUE
@SET WFN_FILE_1           HeH-cdft-state-1-1_0.wfn
@SET WFN_FILE_2           HeH-cdft-state-2-reversed-1_0.wfn
@SET PROJECT_NAME         HeH-mixed-cdft-reversed-1
@SET NAME                 ${PROJECT_NAME}
@SET WRITE_WFN            0
@SET CHARGE               1
@SET WRITE_CUBE           FALSE
@SET XYZFILE              HeH.xyz
@SET BECKE_ACTIVE         TRUE
@SET BECKE_FRAGMENT       FALSE
@SET MAX_SCF              5
! He+ H
@SET BECKE_TARGET_1       0.0
@SET BECKE_STR_1          0.707924969261
@SET BECKE_INC_FILE_1     becke_qs.inc
! He H+
@SET BECKE_TARGET_2       -2.0
@SET BECKE_STR_2          1.007327782392
@SET BECKE_INC_FILE_2     becke_qs_reversed.inc
@SET BECKE_GLOBAL_CUTOFF  FALSE
@SET BECKE_CUTOFF_ELEMENT TRUE
@SET BECKE_ADJUST_SIZE    TRUE
@SET BECKE_ATOMIC_CHARGES FALSE
@SET BECKE_CAVITY_CONFINE TRUE
@SET BECKE_CAVITY_SHAPE   VDW
@SET BECKE_CAVITY_PRINT   FALSE
@SET BECKE_SHOULD_SKIP    TRUE
@SET BECKE_IN_MEMORY      TRUE
@SET USE_DLB              FALSE
@SET COMPUTE_METRIC       TRUE
@SET WFN_OVERLAP_METHOD   TRUE
@SET NGROUPS              1
&GLOBAL
  PREFERRED_DIAG_LIBRARY SL
  PRINT_LEVEL MEDIUM
  PROJECT ${PROJECT_NAME}
  RUN_TYPE ENERGY
&END GLOBAL

&MULTIPLE_FORCE_EVALS
  FORCE_EVAL_ORDER 2 3
  MULTIPLE_SUBSYS F
&END MULTIPLE_FORCE_EVALS

&FORCE_EVAL
  METHOD MIXED
  &MIXED
    MIXING_TYPE MIXED_CDFT
    NGROUPS ${NGROUPS}
    &MIXED_CDFT
      LAMBDA 1.0
      COUPLING 1
      @IF ( ${USE_DLB} == TRUE )
      ! Defaults to FALSE
      DLB TRUE
      LOAD_SCALE 2
      MORE_WORK 0
      VERY_OVERLOADED 15
      @ENDIF
      @IF ( ${COMPUTE_METRIC} == TRUE )
      ! Defaults to FALSE
      METRIC TRUE
      @ENDIF
      @IF ( ${WFN_OVERLAP_METHOD} == TRUE )
      ! Defaults to FALSE
      WFN_OVERLAP TRUE
      WFN_RESTART_FILE_NAME HeH-noconstraint-1_0.wfn
      @ENDIF
    &END MIXED_CDFT
    &PRINT
      &PROGRAM_RUN_INFO
      &END PROGRAM_RUN_INFO
    &END PRINT
  &END MIXED
  @INCLUDE subsys.inc
&END FORCE_EVAL

&FORCE_EVAL
  METHOD QS
  @SET BECKE_STR    ${BECKE_STR_1}
  @SET BECKE_TARGET ${BECKE_TARGET_1}
  @SET PROJECT_NAME ${NAME}-state-1
  @SET WFN_FILE     ${WFN_FILE_1}
  @SET BECKE_INC    ${BECKE_INC_FILE_1}
  @INCLUDE dft-common-params.inc
&END FORCE_EVAL

&FORCE_EVAL
  METHOD QS
  @SET BECKE_STR    ${BECKE_STR_2}
  @SET BECKE_TARGET ${BECKE_TARGET_2}
  @SET PROJECT_NAME ${NAME}-state-2
  @SET WFN_FILE     ${WFN_FILE_2}
  @SET BECKE_INC    ${BECKE_INC_FILE_2}
  @INCLUDE dft-common-params.inc
&END FORCE_EVAL
