6 namespace IntegratorShared {
9 multi1d<LatticeColorMatrix> >*
13 std::istringstream is( subintegrator_xml );
18 read(top,
"/SubIntegrator/Name", subint_name);
21 QDPIO::cerr <<
"Failed to extract name of subintegrator in LatColMatSTSLeapfrogRecursiveIntegrator: " << e << std::endl;
27 multi1d<LatticeColorMatrix> >* ret_val=
28 TheMDComponentIntegratorFactory::Instance().createObject(subint_name, top, root);
33 multi1d< MonomialPair >& monomials ) {
34 QDPIO::cout <<
"Binding Monomials" << std::endl;
35 QDPIO::cout <<
"There are " << monomial_ids.size() <<
" IDs to bind " << std::endl;
37 monomials.resize(monomial_ids.size());
38 for(
int i=0;
i < monomial_ids.size();
i++) {
44 monomials[
i].id = monomial_ids[
i];
46 QDPIO::cout <<
"Monomial with ID = " << monomial_ids[
i] <<
" bound" << std::endl;
49 QDPIO::cout <<
"Caught exception with message : " << e << std::endl;
52 catch(std::bad_cast) {
53 QDPIO::cout <<
"Failed to cast to return type in bind_monomials" << std::endl;
58 QDPIO::cout <<
"All monomials successfully bound" << std::endl;
Primary include file for CHROMA library code.
MD integrator that can be used as a component for other integrators.
Class for counted reference semantics.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
AbsComponentIntegrator< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createSubIntegrator(const std::string &subintegrator_xml)
A routine to create a sub integrator from a generic piece of subintegrator XML.
void bindMonomials(const multi1d< std::string > &monomial_ids, multi1d< MonomialPair > &monomials)
A routine to bind Monomial IDs to an array of Monomial Handles.
Asqtad Staggered-Dirac operator.