20 namespace UnprecDWFTransfFermActEnv
24 multi1d<LatticeColorMatrix>,
35 multi1d<LatticeColorMatrix>,
68 XMLReader paramtop(xml, path);
71 if (paramtop.count(
"Mass") != 0) {
73 if (paramtop.count(
"Kappa") != 0) {
74 QDPIO::cerr <<
"Error: found both a Kappa and a Mass tag" << std::endl;
78 else if (paramtop.count(
"Kappa") != 0) {
80 read(paramtop,
"Kappa", Kappa);
84 QDPIO::cerr <<
"Error: neither Mass or Kappa found" << std::endl;
95 QDPIO::cerr <<
"Caught exception reading XML " << e << std::endl;
118 multi1d<LatticeColorMatrix>,
119 multi1d<LatticeColorMatrix> >*
Primary include file for CHROMA library code.
Support class for fermion actions and linear operators.
Base class for quadratic matter actions (e.g., fermions)
Class for counted reference semantics.
Unpreconditioned DWFTransf fermion action.
UnprecLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
UnprecDWFTransfFermActParams param
Unpreconditioned linear operator including derivatives.
Wilson-like fermion actions.
All ferm create-state method.
Fermion action factories.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Real kappaToMass(const Real &Kappa)
Convert a Kappa to a mass.
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.
FermionAction< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct(XMLReader &xml_in, const std::string &path)
Callback function.
const std::string name
Name to be used.
WilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct4D(XMLReader &xml_in, const std::string &path)
Callback function.
static bool registered
Local registration flag.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Various parameter structs and reader/writers.
Params for wilson ferm acts.
SysSolverCGParams invParam
UnprecDWFTransfFermActParams()
Unpreconditioned Wilson fermion action.
Unpreconditioned Wilson fermion linear operator.