6 #ifndef SYSSOLVER_LINOP_MDWF_ARRAY_H
7 #define SYSSOLVER_LINOP_MDWF_ARRAY_H
11 struct QOP_MDWF_State;
12 struct QOP_MDWF_Parameters;
25 namespace LinOpSysSolverMDWFArrayEnv
41 typedef LatticeFermion
T;
42 typedef multi1d<LatticeColorMatrix>
P;
43 typedef multi1d<LatticeColorMatrix>
Q;
50 :
A(A_), invParam(invParam_) {
53 b5_in.resize(invParam.N5);
54 c5_in.resize(invParam.N5);
57 for(
int s =0 ;
s < invParam.N5;
s++ ) {
58 b5_in[
s] = toDouble(invParam.b5);
59 c5_in[
s] = toDouble(invParam.c5);
79 const multi1d<LatticeFermion>&
chi)
const;
84 int size()
const {
return invParam.N5; }
85 const Subset&
subset()
const {
return all; }
92 multi1d<LatticeColorMatrix>
u;
Support class for fermion actions and linear operators.
Class for counted reference semantics.
AVP's DWF Solver interface.
const Subset & subset() const
Return the subset on which the operator acts.
int size() const
Expected length of array index.
multi1d< LatticeColorMatrix > P
multi1d< LatticeColorMatrix > u
~LinOpSysSolverMDWFArray()
Handle< LinearOperatorArray< T > > A
SysSolverMDWFParams invParam
QOP_MDWF_Parameters * params
multi1d< LatticeColorMatrix > Q
LinOpSysSolverMDWFArray(Handle< LinearOperatorArray< T > > A_, Handle< FermState< T, P, Q > > fs_, const SysSolverMDWFParams &invParam_)
SystemSolver disambiguator.
Linear Operator to arrays.
Even-odd const determinant Wilson-like fermact.
bool registerAll()
Register all the factories.
void init(MesonSpecData_t &data, XMLWriter &xml, const std::string &path, const std::string &id_tag, const Params ¶ms)
Do some initialization.
multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Holds return info from SystemSolver call.