!===============================================================================
!
! module_switches.F90
!
!-------------------------------------------------------------------------------
!
! Copyright (C) 2003-2016 Hinnerk Stueben, Yoshifumi Nakamura 
!
! This file is part of BQCD -- Berlin Quantum ChromoDynamics program
!
! BQCD is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
!
! BQCD is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with BQCD.  If not, see <http://www.gnu.org/licenses/>.
!
!-------------------------------------------------------------------------------
! Added extra switches for PFHMC, tRHMC,
! and the generalized integrator.
!
! Editor: Taylor Haar
! Last modified: 17/03/2017
!-------------------------------------------------------------------------------

module module_switches

  type type_switches
     character(40) :: main_task

     logical :: quenched
     logical :: dynamical
     logical :: tempering
     logical :: clover
     logical :: h_ext
     logical :: qed
     logical :: hasenbusch
     logical :: hmc_test
     logical :: axion
     logical :: measure_polyakov_loop
     logical :: measure_traces
     logical :: measure_chemical
     logical :: measure_schrpcac
     logical :: measure_wilson_flow
     logical :: measure_wilson_flow_qed

     logical :: improved_gauge
     logical :: rhmc
     logical :: theta
     logical :: mass_kappa ! hasenbusch by kappa not rho
     logical :: stout
     logical :: stout_ds
     logical :: stout_cl
     logical :: start_continue
     logical :: measure_minmax
     logical :: measure_only, smearing_only
     logical :: boundary_sf
     logical :: replay

     logical :: feynman_hellmann

     logical :: convert_to_ildg

     ! Switches added by TH
     logical :: poly ! PFHMC?
     logical :: genint ! Use generalized integrators?

     ! Using the zolotarev approximation?
     logical :: zolotarev

     ! Rescale RHMC?
     logical :: rescale_rhmc

  end type type_switches

  type (type_switches), save :: switches

end module module_switches
!===============================================================================
