CHROMA
|
Typedefs | |
typedef SingletonHolder< ObjectFactory< Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, std::string, TYPELIST_2(XMLReader &, const std::string &), Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > *(*)(XMLReader &, const std::string &), StringFactoryError > > | Chroma::TheMonomialFactory |
A factory for exact non-fermionic monomials. More... | |
typedef SingletonHolder< ObjectFactory< RationalApprox, std::string, TYPELIST_2(XMLReader &, const std::string &), RationalApprox *(*)(XMLReader &, const std::string &), StringFactoryError > > | Chroma::TheRationalApproxFactory |
A factory for creating rational approximation. More... | |
typedef RemezStub | Chroma::Remez |
Functions | |
void | Chroma::read (XMLReader &xml, const std::string &path, TermApprox_t ¶m) |
Remez param. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const TermApprox_t ¶m) |
Remez param. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, CompApprox_t ¶m) |
Remez param. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const CompApprox_t ¶ms) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, CompAction_t ¶m) |
Remez param. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const CompAction_t ¶ms) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, CompActionInv_t ¶m) |
Remez param. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const CompActionInv_t ¶ms) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &r, const std::string &path, EvenOddPrecLogDetEvenEvenMonomialParams &p) |
void | Chroma::write (XMLWriter &xml, const std::string &path, const EvenOddPrecLogDetEvenEvenMonomialParams &p) |
void | Chroma::write (XMLWriter &xml_out, const std::string &path, const ForceMonitors ¶m) |
Writes a ForceCalc_t. More... | |
void | Chroma::forceMonitorCalc (const multi1d< LatticeColorMatrix > &F, ForceMonitors &forces) |
Helper function for calculating forces. More... | |
void | Chroma::monitorForces (XMLWriter &xml_out, const std::string &path, const multi1d< LatticeColorMatrix > &F) |
Calculate and write out forces. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, OneFlavorWilsonTypeFermRatioRatRatMonomialParams ¶ms) |
Read Parameters. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const OneFlavorWilsonTypeFermRatioRatRatMonomialParams ¶ms) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, ReadRatApproxEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ReadRatApproxEnv::Params ¶m) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, RemezRatApproxEnv::Params ¶m) |
Remez param. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const RemezRatApproxEnv::Params ¶m) |
Write Parameters. More... | |
void | Chroma::read (XMLReader &r, const std::string &path, SymEvenOddPrecLogDetDiagMonomialParams &p) |
void | Chroma::write (XMLWriter &xml, const std::string &path, const SymEvenOddPrecLogDetDiagMonomialParams &p) |
void | Chroma::read (XMLReader &xml, const std::string &path, TwoFlavorRatioConvRatWilsonTypeFermMonomialParams ¶ms) |
Read Parameters. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const TwoFlavorRatioConvRatWilsonTypeFermMonomialParams ¶ms) |
Write Parameters. More... | |
Chroma::ReadRatApproxEnv::Params::Params (XMLReader &in, const std::string &path) | |
Params for Remez type rational approximation. More... | |
Monomials for HMC
Monomials for actions within Molecular dynamics
typedef RemezStub Chroma::Remez |
typedef SingletonHolder< ObjectFactory< Monomial< multi1d<LatticeColorMatrix>, multi1d<LatticeColorMatrix> >, std::string, TYPELIST_2(XMLReader&, const std::string&), Monomial< multi1d<LatticeColorMatrix>, multi1d<LatticeColorMatrix> >* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheMonomialFactory |
A factory for exact non-fermionic monomials.
Definition at line 32 of file monomial_factory.h.
typedef SingletonHolder< ObjectFactory<RationalApprox, std::string, TYPELIST_2(XMLReader&, const std::string&), RationalApprox* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheRationalApproxFactory |
A factory for creating rational approximation.
Definition at line 26 of file rat_approx_factory.h.
|
inline |
Helper function for calculating forces.
Helper function for monitoring forces.
Definition at line 35 of file force_monitors.cc.
References Chroma::END_CODE(), F, std::tr1::f1, std::tr1::f2, Chroma::ForceMonitors::F_avg, Chroma::ForceMonitors::F_avg_dir, Chroma::ForceMonitors::F_max, Chroma::ForceMonitors::F_max_dir, Chroma::ForceMonitors::F_max_dt, Chroma::ForceMonitors::F_max_dt_dir, Chroma::ForceMonitors::F_sq, Chroma::ForceMonitors::F_sq_dir, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), mu, Nd, Chroma::START_CODE(), sum, Chroma::taproj(), and Chroma::zero.
Referenced by Chroma::monitorForces().
void Chroma::monitorForces | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const multi1d< LatticeColorMatrix > & | F | ||
) |
Calculate and write out forces.
Definition at line 130 of file force_monitors.cc.
References F, Chroma::forceMonitorCalc(), Chroma::ForceMonitorEnv::monitorForcesP, and Chroma::write().
Referenced by Chroma::EvenOddPrecLogDetEvenEvenMonomial< P, Q, Phi >::dsdq(), Chroma::GaugeMonomial::dsdq(), Chroma::OneFlavorRatExactWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), Chroma::OneFlavorRatExactWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::OneFlavorRatioRatConvExactWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), Chroma::OneFlavorRatioRatConvExactWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::OneFlavorRatioRatRatExactWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), Chroma::OneFlavorRatioRatRatExactWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::SymEvenOddPrecLogDetDiagMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactEOPrecLogDetWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >::dsdq(), Chroma::PrecConstDetTwoFlavorWilsonMultihasenCancelMonomial< T, P, Q, FAType, LOType >::dsdq(), Chroma::TwoFlavorExactPolynomialWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactPolyPrecWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactRatioConvConvWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactRatioConvConvWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::PrecConstDetTwoFlavorRatioConvConvMultihasenWilsonTypeFermMonomial< T, P, Q, FAType, LOType >::dsdq(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial5D< P, Q, Phi >::dsdq(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::dsdq().
Chroma::ReadRatApproxEnv::Params::Params | ( | XMLReader & | in, |
const std::string & | path | ||
) |
Params for Remez type rational approximation.
Definition at line 38 of file read_rat_approx.cc.
References Chroma::in, Chroma::ReadRatApproxEnv::Params::ipfe, Chroma::RemezCoeff_t::norm, Chroma::ReadRatApproxEnv::Params::pfe, Chroma::RemezCoeff_t::pole, Chroma::read(), and Chroma::RemezCoeff_t::res.
void Chroma::read | ( | XMLReader & | r, |
const std::string & | path, | ||
EvenOddPrecLogDetEvenEvenMonomialParams & | p | ||
) |
Definition at line 56 of file eoprec_logdet_ee_monomial_w.cc.
References Chroma::p, Chroma::r, and Chroma::tmp.
void Chroma::read | ( | XMLReader & | r, |
const std::string & | path, | ||
SymEvenOddPrecLogDetDiagMonomialParams & | p | ||
) |
Definition at line 56 of file seoprec_logdet_diag_monomial_w.cc.
References Chroma::p, Chroma::r, and Chroma::tmp.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
CompAction_t & | param | ||
) |
Remez param.
Definition at line 63 of file comp_approx.cc.
References Chroma::CompAction_t::fermact, and Chroma::readXMLGroup().
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
CompActionInv_t & | param | ||
) |
Remez param.
Definition at line 86 of file comp_approx.cc.
References Chroma::CompActionInv_t::fermact, Chroma::GroupXML_t::id, Chroma::CompActionInv_t::invParam, Chroma::GroupXML_t::path, Chroma::readXMLGroup(), and Chroma::GroupXML_t::xml.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
CompApprox_t & | param | ||
) |
Remez param.
Definition at line 36 of file comp_approx.cc.
References Chroma::CompApprox_t::action, Chroma::CompApprox_t::fermact, Chroma::CompApprox_t::force, Chroma::read(), and Chroma::readXMLGroup().
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
OneFlavorWilsonTypeFermRatioRatRatMonomialParams & | params | ||
) |
Read Parameters.
Definition at line 30 of file one_flavor_ratio_rat_rat_monomial_params_w.cc.
References params, and Chroma::tmp.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ReadRatApproxEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
RemezRatApproxEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
TermApprox_t & | param | ||
) |
Remez param.
Definition at line 12 of file comp_approx.cc.
References Chroma::TermApprox_t::invParam, Chroma::TermApprox_t::ratApprox, and Chroma::readXMLGroup().
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
TwoFlavorRatioConvRatWilsonTypeFermMonomialParams & | params | ||
) |
Read Parameters.
Definition at line 38 of file two_flavor_ratio_conv_rat_monomial_params_w.cc.
References params, and Chroma::tmp.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const CompAction_t & | params | ||
) |
Write Parameters.
Definition at line 73 of file comp_approx.cc.
References params, Chroma::pop(), and Chroma::push().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const CompActionInv_t & | params | ||
) |
Write Parameters.
Definition at line 107 of file comp_approx.cc.
References params, Chroma::pop(), and Chroma::push().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const CompApprox_t & | params | ||
) |
Write Parameters.
Definition at line 48 of file comp_approx.cc.
References params, Chroma::pop(), Chroma::push(), and Chroma::write().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const EvenOddPrecLogDetEvenEvenMonomialParams & | p | ||
) |
Definition at line 62 of file eoprec_logdet_ee_monomial_w.cc.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const OneFlavorWilsonTypeFermRatioRatRatMonomialParams & | params | ||
) |
Write Parameters.
Definition at line 39 of file one_flavor_ratio_rat_rat_monomial_params_w.cc.
References params, Chroma::pop(), Chroma::push(), and Chroma::write().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ReadRatApproxEnv::Params & | param | ||
) |
Write Parameters.
Reader.
Definition at line 84 of file read_rat_approx.cc.
References Chroma::ReadRatApproxEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const RemezRatApproxEnv::Params & | param | ||
) |
Write Parameters.
Reader.
Definition at line 23 of file remez_rat_approx.cc.
References Chroma::RemezRatApproxEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const SymEvenOddPrecLogDetDiagMonomialParams & | p | ||
) |
Definition at line 62 of file seoprec_logdet_diag_monomial_w.cc.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const TermApprox_t & | param | ||
) |
Remez param.
Definition at line 22 of file comp_approx.cc.
References Chroma::TermApprox_t::invParam, Chroma::pop(), Chroma::push(), Chroma::TermApprox_t::ratApprox, and Chroma::GroupXML_t::xml.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const TwoFlavorRatioConvRatWilsonTypeFermMonomialParams & | params | ||
) |
Write Parameters.
Definition at line 46 of file two_flavor_ratio_conv_rat_monomial_params_w.cc.
References params, and Chroma::write().
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const ForceMonitors & | param | ||
) |
Writes a ForceCalc_t.
Definition at line 15 of file force_monitors.cc.
References Chroma::ForceMonitors::F_avg, Chroma::ForceMonitors::F_avg_dir, Chroma::ForceMonitors::F_max, Chroma::ForceMonitors::F_max_dir, Chroma::ForceMonitors::F_max_dt, Chroma::ForceMonitors::F_max_dt_dir, Chroma::ForceMonitors::F_sq, Chroma::ForceMonitors::F_sq_dir, Chroma::pop(), Chroma::push(), and Chroma::write().