17 namespace UnprecParWilsonFermActEnv
21 multi1d<LatticeColorMatrix>,
32 multi1d<LatticeColorMatrix>,
63 XMLReader paramtop(xml, path);
65 read(paramtop,
"H",
H);
69 if (paramtop.count(
"Mass") != 0)
72 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)
81 read(paramtop,
"Kappa", Kappa);
86 QDPIO::cerr <<
"Error: neither Mass or Kappa found" << std::endl;
109 multi1d<LatticeColorMatrix>,
110 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 linear operator including derivatives.
Unpreconditioned Wilson fermion action with parity breaking term.
UnprecParWilsonFermActParams param
UnprecLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
Unpreconditioned Wilson-Dirac operator with parity breaking term.
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.
static bool registered
Local registration flag.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Various parameter structs and reader/writers.
Params for wilson ferm acts.
UnprecParWilsonFermActParams()
Unpreconditioned Wilson fermion action with parity breaking term.
Unpreconditioned Wilson fermion linear operator with parity breaking term.