23 namespace EvenOddPrecDWFermActArrayEnv
27 multi1d<LatticeColorMatrix>,
38 multi1d<LatticeColorMatrix>,
84 void read(XMLReader& xml,
const std::string& path, ChiralParam_t& param);
87 void write(XMLWriter& xml,
const std::string& path,
const ChiralParam_t& param);
90 ChiralParam_t::ChiralParam_t()
99 void read(XMLReader& xml,
const std::string& path, ChiralParam_t& param)
101 XMLReader paramtop(xml, path);
103 read(paramtop,
"OverMass", param.OverMass);
104 read(paramtop,
"N5", param.N5);
108 if (paramtop.count(xpath) != 0)
109 read(paramtop, xpath, param.a5);
114 if (paramtop.count(xpath) != 0)
115 read(paramtop, xpath, param.NWilsVec);
121 void write(XMLWriter& xml,
const std::string& path,
const ChiralParam_t& param)
125 write(xml,
"OverMass", param.OverMass);
126 write(xml,
"N5", param.N5);
127 write(xml,
"a5", param.a5);
128 write(xml,
"NWilsVec", param.NWilsVec);
141 XMLReader paramtop(xml, path);
144 if (paramtop.count(
"ChiralParam") != 0)
147 read(paramtop,
"ChiralParam", pp);
159 if (paramtop.count(
"a5") != 0)
166 if (paramtop.count(
"AnisoParam") != 0)
182 multi1d<LatticeColorMatrix>,
183 multi1d<LatticeColorMatrix> >*
185 const Real& m_q)
const
192 multi1d<LatticeColorMatrix>,
193 multi1d<LatticeColorMatrix> >*
195 const Real& m_q)
const
215 const LatticePropagator& q_src,
Primary include file for CHROMA library code.
4D style even-odd preconditioned domain-wall fermion action
EvenOddPrecDWLikeLinOpBaseArray< T, P, Q > * precLinOp(Handle< FermState< T, P, Q > > state, const Real &m_q) const
Produce an even-odd preconditioned linear operator for this action with arbitrary quark mass.
Real getQuarkMass() const
Return the quark mass.
UnprecDWLikeLinOpBaseArray< T, P, Q > * unprecLinOp(Handle< FermState< T, P, Q > > state, const Real &m_q) const
Produce an unpreconditioned linear operator for this action with arbitrary quark mass.
SystemSolverArray< T > * qpropT(Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
Return possibly optimized quark prop solver, solution of preconditioned system.
EvenOddPrecDWFermActArrayParams param
void quarkProp(PropTypeTraits< T >::Type_t &q_sol, XMLWriter &xml_out, const PropTypeTraits< T >::Type_t &q_src, int t_src, int j_decay, Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, bool obsvP, int &ncg_had) const
Given a complete propagator as a source, this does all the inversions needed.
virtual EvenOddPrecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * linOp(Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state) const
Override to produce a DWF-link even-odd prec. linear operator for this action.
SystemSolver< LatticeFermion > * qprop(Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const GroupXML_t &invParam) const
Define quark propagator routine for 4D fermions.
4D Even Odd preconditioned domain-wall Dirac operator
4D Even Odd preconditioned domain-wall Dirac operator
Support class for fermion actions and linear operators.
Base class for quadratic matter actions (e.g., fermions)
Class for counted reference semantics.
Unpreconditioned domain-wall Dirac operator.
Unpreconditioned domain-wall Dirac operator.
Wilson-like fermion actions.
virtual LinOpSystemSolverArray< T > * invLinOp(Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
Return a linear operator solver for this action to solve M*psi=chi.
Pick up possibly optimized DWF inverters.
Full quark propagator solver for domain wall fermions.
4D style even-odd preconditioned domain-wall fermion action
4D Even Odd preconditioned domain-wall fermion linear operator
All ferm create-state method.
Fermion action factories.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
QuarkSpinType
Quark spin type.
void dwf_quarkProp4(LatticePropagator &q_sol, XMLWriter &xml_out, const LatticePropagator &q_src, int t_src, int j_decay, Handle< SystemSolverArray< LatticeFermion > > qpropT, Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const Real &m_q, int &ncg_had)
Given a complete propagator as a source, this does all the inversions needed.
void quarkProp4(LatticeStaggeredPropagator &q_sol, XMLWriter &xml_out, const LatticeStaggeredPropagator &q_src, const StaggeredTypeFermAct< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &S_f, Handle< FermState< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const GroupXML_t &invParam, QuarkSpinType quarkSpinType, int &ncg_had)
Given a complete propagator as a source, this does all the inversions needed.
Handle< CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the CreateFermState readers.
bool registerAll()
Register all the factories.
WilsonTypeFermAct5D< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct5D(XMLReader &xml_in, const std::string &path)
Callback function.
FermionAction< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct(XMLReader &xml_in, const std::string &path)
Callback function.
const std::string name
Name to be used.
static bool registered
Local registration flag.
Asqtad Staggered-Dirac operator.
PrecFermAct5DQprop< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > DWFQpropT
push(xml_out,"Condensates")
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Various parameter structs and reader/writers.
Full quark propagator solver.
EvenOddPrecDWFermActArrayParams()
Hold group xml and type id.
Unpreconditioned domain-wall fermion linear operator.