23 namespace EvenOddPrecCloverExtFieldFermActEnv
28 multi1d<LatticeColorMatrix>,
29 multi1d<LatticeColorMatrix> > >
reader(XMLReader& xml_in,
32 XMLReader top(xml_in, path);
35 std::ostringstream os;
36 top.printCurrentContext(os);
37 cout << __func__ <<
": top = XX" << os.str() <<
"XX" << std::endl;
41 if (top.count(fermstate) == 0)
44 <<
": did not find appropriate FermState" << std::endl;
48 XMLReader paramtop(top, fermstate);
51 multi1d< Handle< ExternalField > > ext_field(
Nd);
55 for(
int mu=0;
mu < ext_field.size(); ++
mu)
58 std::ostringstream element_xpath;
59 element_xpath <<
"ExternalField/elem[" << (
mu+1) <<
"]";
62 read(paramtop, element_xpath.str() +
"/Name",
name);
64 QDPIO::cout <<
"External field type = " <<
name << std::endl;
72 QDPIO::cerr << __func__ <<
": caught exception reading XML: " << e << std::endl;
77 multi1d<LatticeColorMatrix>,
85 multi1d<LatticeColorMatrix>,
96 multi1d<LatticeColorMatrix>,
131 multi1d<LatticeColorMatrix>,
132 multi1d<LatticeColorMatrix> >*
Primary include file for CHROMA library code.
Create a simple ferm connection state.
Create a fermion connection state.
Even-odd preconditioned Clover fermion action with an external field.
EvenOddPrecLogDetLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const
Produce a linear operator for this action.
CloverFermActParams param
Even-odd preconditioned Clover-Dirac operator in an external field.
Even-odd preconditioned linear operator.
Support class for fermion actions and linear operators.
Base class for quadratic matter actions (e.g., fermions)
Class for counted reference semantics.
Wilson-like fermion actions.
Even-odd preconditioned Clover fermion action with an external field.
Even-odd preconditioned Clover fermion linear operator in an external field.
External field functions.
Fermion external field state and a creator.
All ferm create-state method.
Fermion action factories.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
Handle< FermBC< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the FermionAction readers.
Handle< CreateFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the CreateFermState readers.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
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.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
Handle< FermBC< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the FermionAction readers.
Asqtad Staggered-Dirac operator.
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
Params for clover ferm acts.