1 #ifndef UNPREC_S_CPREC_T_WILSON_FERMACT_W_H
2 #define UNPREC_S_CPREC_T_WILSON_FERMACT_W_H
4 #include "qdp_config.h"
16 namespace UnprecSpaceCentralPrecTimeWilsonFermActEnv
22 class UnprecSpaceCentralPrecTimeWilsonFermAct :
23 public UnprecSpaceCentralPrecTimeWilsonTypeFermAct<
25 multi1d<LatticeColorMatrix>,
26 multi1d<LatticeColorMatrix> >
29 typedef LatticeFermion
T;
30 typedef multi1d<LatticeColorMatrix>
P;
31 typedef multi1d<LatticeColorMatrix>
Q;
34 ~UnprecSpaceCentralPrecTimeWilsonFermAct(){}
37 UnprecSpaceCentralPrecTimeWilsonFermAct( Handle< CreateFermState<T,P,Q> > cfs_,
39 const AnisoParam_t& aniso_) : cfs(cfs_) {
41 param.anisoParam = aniso_;
45 UnprecSpaceCentralPrecTimeWilsonFermAct( Handle< CreateFermState<T,P,Q> > cfs_,
46 const WilsonFermActParams& param_ ) : cfs(cfs_), param(param_) {}
49 UnprecSpaceCentralPrecTimeWilsonFermAct(
const UnprecSpaceCentralPrecTimeWilsonFermAct&
a) :
50 cfs(
a.cfs), param(
a.param) {}
53 UnprecSpaceCentralPrecTimeWilsonFermAct& operator=(
const UnprecSpaceCentralPrecTimeWilsonFermAct&
a)
61 UnprecSpaceCentralPrecTimeLinearOperator<T,P,Q>* linOp( Handle< FermState<T,P,Q> >
state)
const;
64 LinearOperator<T>* hermitianLinOp(Handle< FermState<T,P,Q> >
state)
const
66 return new lgherm<T>(linOp(
state));
71 const CreateFermState<T,P,Q>& getCreateState()
const {
return *cfs;}
74 UnprecSpaceCentralPrecTimeWilsonFermAct(){}
78 Handle< CreateFermState<T,P,Q> > cfs;
79 WilsonFermActParams param;
bool registerAll()
Register all the factories.
const std::string name
Name to be used.
multi1d< LatticeColorMatrix > P
Asqtad Staggered-Dirac operator.
LinOpSysSolverMGProtoClover::Q Q
LinOpSysSolverMGProtoClover::T T
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Unpreconditioned spatial Preconditioned Temporal Wilson like fermion action.
Wilson fermion action parameters.