19 namespace PolyChebFermActEnv
23 multi1d<LatticeColorMatrix>,
34 multi1d<LatticeColorMatrix>,
66 XMLReader paramtop(xml, path);
70 XMLReader chebtop(paramtop,
"PolyParams");
80 if(paramtop.count(
"AuxFermAct") == 1 )
82 XMLReader xml_tmp(paramtop,
"AuxFermAct");
83 std::ostringstream os;
110 cfs(cfs_), param(param_)
112 QDPIO::cout <<
"Constructing PolyChebFermAct from params" << std::endl;
114 XMLReader fermacttop(xml_s);
120 read(fermacttop, fermact_path +
"/FermAct", auxfermact);
121 QDPIO::cout <<
"AuxFermAct: " << auxfermact << std::endl;
134 QDPIO::cerr <<
"Error reading data: " << e << std::endl;
142 multi1d<LatticeColorMatrix>,
143 multi1d<LatticeColorMatrix> >*
159 multi1d<LatticeColorMatrix>,
160 multi1d<LatticeColorMatrix> >*
175 std::istringstream xml(invParam.
xml);
176 XMLReader paramtop(xml);
Primary include file for CHROMA library code.
Create a fermion connection state.
Differentiable Linear Operator.
Support class for fermion actions and linear operators.
Base class for quadratic matter actions (e.g., fermions)
Class for counted reference semantics.
Chebyshev Polynomial fermion action.
Handle< WilsonTypeFermAct< T, P, Q > > fermact
PolyChebFermActParams param
PolyLinearOperator< T, P, Q > * polyLinOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator M^dag.M for this action.
DiffLinearOperator< T, P, Q > * polyPrecLinOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
PolyPrecSystemSolver< T > * invPolyPrec(Handle< FermState< T, P, Q > > state, const GroupXML_t &invParam) const
Return a linear operator solver for this action to solve M*psi=chi.
Polynomial linear operator including derivatives.
Polynomial preconditioner.
Wilson-like fermion actions.
All ferm create-state method.
Fermion action factories.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Handle< CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the CreateFermState readers.
const std::string name
Name to be used.
static bool registered
Local registration flag.
WilsonTypeFermAct< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct4D(XMLReader &xml_in, const std::string &path)
Callback function.
bool registerAll()
Register all the factories.
FermionAction< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermAct(XMLReader &xml_in, const std::string &path)
Callback function.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
const WilsonTypeFermAct< multi1d< LatticeFermion > > & S_f
Maybe usefull for polynomial preconditioning. It contructs an operator that is , where ,...
Chebyshev polynomial fermion action.
Polynomial filter for 4D Dirac operators. It creates an approximation to 1/Q^2 in the range with wh...
Hold group xml and type id.
Params for Chebyshev polynomial preconditioner.
struct Chroma::PolyChebFermActParams::PolyParams polyParams
SystemSolver disambiguator.
Handle< LinearOperator< T > > MdagM
Register linop system solvers that solve PolyPrec*psi=chi.
Factory for solving PolyPrec*psi=chi where PolyPrec is hermitian and pos. def.