18 namespace UnprecHamberWuFermActEnv
22 multi1d<LatticeColorMatrix>,
33 multi1d<LatticeColorMatrix>,
64 XMLReader paramtop(xml, path);
67 if (paramtop.count(
"Mass") != 0)
70 if (paramtop.count(
"Kappa") != 0)
72 QDPIO::cerr <<
"Error: found both a Kappa and a Mass tag" << std::endl;
76 else if (paramtop.count(
"Kappa") != 0)
79 read(paramtop,
"Kappa", Kappa);
84 QDPIO::cerr <<
"Error: neither Mass or Kappa found" << std::endl;
91 if (paramtop.count(
"AnisoParam") != 0)
112 multi1d<LatticeColorMatrix>,
113 multi1d<LatticeColorMatrix> >*
118 QDPIO::cerr <<
"UnprecHamberWuFermAct::linOp - currently no aniso support" << std::endl;
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 HamberWu fermion action.
UnprecLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
UnprecHamberWuFermActParams param
Unpreconditioned Hamber-Wu operator.
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.
WilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct4D(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.
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
const std::string name
Name to be used.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Various parameter structs and reader/writers.
Params for wilson ferm acts.
UnprecHamberWuFermActParams()
Unpreconditioned Hamber-Wu fermion action.
Unpreconditioned Hamber-Wu fermion linear operator.