Namespaces | |
| namespace | Chroma::HeatbathTypeEnv |
| Heatbath type. | |
| namespace | Chroma::PlusMinusEnv |
| PlusMinus type. | |
| namespace | Chroma::QDPVolfmtEnv |
| QDP volfmt type. | |
| namespace | Chroma::QuarkSpinTypeEnv |
| Quark spin type env. | |
| namespace | Chroma::StochSrcEnv |
Modules | |
| Enums | |
Classes | |
| struct | Chroma::AnisoParam_t |
| Parameters for anisotropy. More... | |
| struct | Chroma::Cfg_t |
| Gauge configuration structure. More... | |
| struct | Chroma::RitzParams_t |
| Struct for parameters needed for a Ritz KS type solve. More... | |
| struct | Chroma::EigenIO_t |
| Struct for dumping the eigenvalues/vectors. More... | |
| struct | Chroma::ChromaWilsonRitz_t |
| Struct for the overall application. More... | |
| class | Chroma::EnumTypeMap< EnumType > |
| Main enum map holder. More... | |
| struct | Chroma::PropSourceConst_t |
| Propagator source construction parameters. More... | |
| struct | Chroma::GroupXML_t |
| Hold group xml and type id. More... | |
| typedef SingletonHolder< EnumTypeMap< QuarkSpinType > > | Chroma::theQuarkSpinTypeMap |
| A singleton to hold the typemap. | |
| enum | Chroma::QuarkSpinType { Chroma::QUARK_SPIN_TYPE_FULL, Chroma::QUARK_SPIN_TYPE_UPPER, Chroma::QUARK_SPIN_TYPE_LOWER } |
| Quark spin type. More... | |
| void | Chroma::read (XMLReader &xml_in, const string &path, QuarkSpinType &t) |
| Read a quark spin type enum. | |
| void | Chroma::write (XMLWriter &xml_out, const string &path, const QuarkSpinType &t) |
| Write a quark spin type enum. | |
| enum | Chroma::QudaSolverType { Chroma::CG, Chroma::BICGSTAB } |
| Quda Solver type. More... | |
| enum | Chroma::CfgType { Chroma::CFG_TYPE_MILC = 0, Chroma::CFG_TYPE_NERSC, Chroma::CFG_TYPE_SCIDAC, Chroma::CFG_TYPE_SZIN, Chroma::CFG_TYPE_SZINQIO, Chroma::CFG_TYPE_KYU, Chroma::CFG_TYPE_DISORDERED, Chroma::CFG_TYPE_UNIT, Chroma::CFG_TYPE_CPPACS, Chroma::CFG_TYPE_WEAK_FIELD, Chroma::CFG_TYPE_CLASSICAL_SF } |
| Configuration type. More... | |
| enum | Chroma::CoeffType { Chroma::COEFF_TYPE_ZOLOTAREV = 0, Chroma::COEFF_TYPE_TANH, Chroma::COEFF_TYPE_TANH_UNSCALED } |
| Coeffs type. More... | |
| enum | Chroma::EigenVecType { Chroma::EVEC_TYPE_SCIDAC = 2, Chroma::EVEC_TYPE_SZIN } |
| Eigenvector type. More... | |
| enum | Chroma::FermType { Chroma::FERM_TYPE_WILSON, Chroma::FERM_TYPE_STAGGERED } |
| Fermion type. More... | |
| enum | Chroma::GaugeActType { Chroma::GAUGE_ACT_WILSON = 0, Chroma::GAUGE_ACT_SYMZK_1X2, Chroma::GAUGE_ACT_IWASAKI, Chroma::GAUGE_ACT_DBW2, Chroma::GAUGE_ACT_5_LOOP_IMP, Chroma::GAUGE_ACT_4_LOOP_IMP, Chroma::GAUGE_ACT_3_LOOP_IMP } |
| GaugeAct type. More... | |
| enum | Chroma::OverlapInnerSolverType { Chroma::OVERLAP_INNER_CG_SINGLE_PASS, Chroma::OVERLAP_INNER_CG_DOUBLE_PASS } |
| OverlapInnerSolver type. More... | |
| enum | Chroma::MDIntegratorType { Chroma::MD_PQP_LEAPFROG, Chroma::MD_QPQ_LEAPFROG } |
| MDIntegrator type. More... | |
| enum | Chroma::MesonOpType { Chroma::MESON_OP_TYPE_SOURCE_SOURCE = 0, Chroma::MESON_OP_TYPE_SOURCE_SOLUTION, Chroma::MESON_OP_TYPE_SOLUTION_SOURCE, Chroma::MESON_OP_TYPE_SOLUTION_SOLUTION } |
| Meson operator contraction orderings. More... | |
| enum | Chroma::PropType { Chroma::PROP_TYPE_SCIDAC = 2, Chroma::PROP_TYPE_SZIN, Chroma::PROP_TYPE_KYU } |
| Propagator type. More... | |
| enum | Chroma::SimpleBCType { Chroma::BC_TYPE_ANTIPERIODIC = -1, Chroma::BC_TYPE_DIRICHLET, Chroma::BC_TYPE_PERIODIC } |
| SimpleBC type. More... | |
| enum | Chroma::WaveStateType { Chroma::WAVE_TYPE_S_WAVE, Chroma::WAVE_TYPE_P_WAVE, Chroma::WAVE_TYPE_D_WAVE } |
| Wave state type. More... | |
| void | Chroma::read (XMLReader &xml, const string &path, RitzParams_t &header) |
| void | Chroma::write (XMLWriter &xml, const string &path, const RitzParams_t &header) |
| void | Chroma::read (XMLReader &xml, const string &path, EigenIO_t &io_header) |
| void | Chroma::write (XMLWriter &xml, const string &path, const EigenIO_t &io_header) |
| void | Chroma::read (XMLReader &xml, const string &path, ChromaWilsonRitz_t ¶m) |
| void | Chroma::write (XMLWriter &xml, const string &path, const ChromaWilsonRitz_t ¶m) |
| void | Chroma::writeEigen (const ChromaWilsonRitz_t &header, multi1d< Real > &lambda_lo, multi1d< LatticeFermion > &eigv_lo, Real &lambda_hi, QDP_serialparallel_t serpar) |
| void | Chroma::readEigenPair (Real &lambda_lo, int &eig_index, LatticeFermion &eigv, const string &filename, QDP_serialparallel_t serpar, XMLReader &file_xml) |
| void | Chroma::readEigen (ChromaWilsonRitz_t &header, multi1d< Real > &lambda_lo, multi1d< LatticeFermion > &eigv_lo, Real &lambda_hi, const string &filename_stem, int Neig, QDP_serialparallel_t serpar) |
| void | Chroma::readEigenSzin (multi1d< Real > &lambda_lo, multi1d< LatticeFermion > &eigv_lo, Real &lambda_hi, const int Neig, const string &filename_stem) |
| Real | Chroma::kappaToMass (const Real &Kappa) |
| Convert a Kappa to a mass. | |
| multi1d< Real > | Chroma::kappaToMass (const multi1d< Real > &Kappa) |
| Convert a Kappa to a mass. | |
| Real | Chroma::massToKappa (const Real &Mass) |
| Convert a Kappa to a mass. | |
| multi1d< Real > | Chroma::massToKappa (const multi1d< Real > &Mass) |
| Convert a mass to a Kappa. | |
Typedefs | |
| typedef SingletonHolder< XMLFileWriter, CreateUsingNew, DefaultLifetime1, SingleThreaded > | Chroma::TheXMLOutputWriter |
| XML output holder. | |
| typedef SingletonHolder< XMLFileWriter, CreateUsingNew, DefaultLifetime2, SingleThreaded > | Chroma::TheXMLLogWriter |
| XML log holder. | |
Functions | |
| void | Chroma::read (XMLReader &xml, const string &path, Cfg_t &input) |
| Configuration input. | |
| void | Chroma::write (XMLWriter &xml, const string &path, const Cfg_t &input) |
| Configuration input. | |
| void | Chroma::readGauge (XMLReader &file_xml, XMLReader &record_xml, multi1d< LatticeColorMatrix > &u, const std::string &file, QDP_serialparallel_t serpar) |
| Read a gauge config in QIO format. | |
| void | Chroma::writeGauge (XMLBufferWriter &file_xml, XMLBufferWriter &record_xml, const multi1d< LatticeColorMatrix > &u, const std::string &file, QDP_volfmt_t volfmt, QDP_serialparallel_t serpar) |
| Write a gauge config in QIO format. | |
| void | Chroma::read (XMLReader &xml, const std::string &path, Handle< ExactLatColMatHamiltonian > &H_handle) |
| void | Chroma::readKYU (multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Read a Kentucky gauge configuration. | |
| void | Chroma::writeKYU (const multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a Kentucky gauge configuration. | |
| void | Chroma::readKYUQprop (LatticePropagator &q, const string &file) |
| Read a KYU propagator file. | |
| void | Chroma::readNamedMonomial (XMLReader &xml, const std::string &path, std::string &monomial_id) |
| Read a named monomial from an XML reader, use factory to create and assign the pointer to a handle in the named object map of monomial handles. | |
| void | Chroma::read (XMLReader &xml, const std::string &path, Handle< Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > &mon_handle) |
| void | Chroma::read (XMLReader &xml, const std::string &path, Handle< ExactMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > &mon_handle) |
| Read a monomial from an XML reader, use a factory to create and assign the pointer to the handle... | |
| void | Chroma::readNamedMonomialArray (XMLReader &xml, const std::string &path) |
| Read an array of named monomials from an XML reader. use factory to create the monomials and put them in a named object map of monomial handles. | |
| void | Chroma::readCPPACS (CPPACSGauge_t &header, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Read a CPPACS gauge configuration written in the 1997 format. | |
| void | Chroma::readCPPACS (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Read a CPPACS gauge configuration. | |
| void | Chroma::readMILC (MILCGauge_t &header, multi1d< LatticeColorMatrixF > &u, const string &cfg_file) |
| Read a MILC gauge configuration written in the 1997 format. | |
| void | Chroma::readMILC (XMLReader &xml, multi1d< LatticeColorMatrixF > &u, const string &cfg_file) |
| Read a MILC gauge configuration written in the 1997 format. | |
| void | Chroma::readMILC (XMLReader &xml, multi1d< LatticeColorMatrixD > &u, const string &cfg_file) |
| Read a MILC gauge configuration written in the 1997 format. | |
| void | Chroma::readSzin (SzinGauge_t &header, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Read a SZIN configuration file. | |
| void | Chroma::readSzin (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Read a SZIN configuration file. | |
| void | Chroma::readSzinFerm (LatticeFermion &q, const string &file) |
| Read an old SZIN-style (checkerboarded) lattice Dirac fermion. | |
| void | Chroma::readSzinQprop (XMLReader &xml, LatticePropagator &q, const string &file) |
| Read a SZIN propagator file. This is a simple memory dump readr. | |
| void | Chroma::writeSzinQprop (const LatticePropagator &q, const string &file, const Real kappa) |
| Write a SZIN propagator file. This is a simple memory dump writer. | |
| void | Chroma::readSzinQprop (LatticePropagator &q, const string &file, const Real &kappa) |
| Read a SZIN propagator file. This is a simple memory dump readr. | |
| void | Chroma::writeMILC (const MILCGauge_t &header, const multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a MILC gauge configuration in the 1997 format. | |
| void | Chroma::writeMILC (XMLBufferWriter &xml, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a MILC configuration file. | |
| void | Chroma::writeMILC (XMLBufferWriter &xml, const multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a MILC gauge configuration in the 1997 format. | |
| static void | Chroma::writeSzinHeader (BinaryWriter &cfg_out, const SzinGauge_t &header) |
| Write a SZIN header to a binary file. | |
| void | Chroma::writeSzin (const SzinGauge_t &header, const multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a SZIN configuration file. | |
| void | Chroma::writeSzin (XMLBufferWriter &xml, multi1d< LatticeColorMatrix > &u, const string &cfg_file) |
| Write a SZIN configuration file. | |
| void | Chroma::writeSzinTrunc (const SzinGauge_t &header0, const multi1d< LatticeColorMatrix > &u, int j_decay, int t_start, int t_end, const string &cfg_file) |
| Write a truncated SZIN configuration file. | |
| void | Chroma::writeSzinReplica (SzinGauge_t &header, const multi1d< LatticeColorMatrix > &u, int j_decay, int n_replica, const string &cfg_file) |
| Write a replicated (in time direction) SZIN configuration file. | |
| void | Chroma::writeSzinQprop (const LatticePropagator &q, const string &file, const Real &kappa) |
| Write a SZIN propagator file. This is a simple memory dump writer. | |
| GroupXML_t | Chroma::readXMLGroup (XMLReader &xml, const std::string &path, const std::string &type_name) |
| Read group and return as a string. | |
| multi1d< GroupXML_t > | Chroma::readXMLArrayGroup (XMLReader &xml, const std::string &path, const std::string &type_name) |
| Read group and return as a string. | |
| void | readSzinFerm (multi1d< LatticeFermion > &q, const string &file) |
| Read a SZIN fermion. This is a simple memory dump reader. | |
| typedef SingletonHolder<EnumTypeMap<QuarkSpinType> > Chroma::theQuarkSpinTypeMap |
| typedef SingletonHolder<XMLFileWriter, CreateUsingNew, DefaultLifetime2, SingleThreaded> Chroma::TheXMLLogWriter |
| typedef SingletonHolder<XMLFileWriter, CreateUsingNew, DefaultLifetime1, SingleThreaded> Chroma::TheXMLOutputWriter |
| enum Chroma::CfgType |
Configuration type.
Types and structures
| CFG_TYPE_MILC | |
| CFG_TYPE_NERSC | |
| CFG_TYPE_SCIDAC | |
| CFG_TYPE_SZIN | |
| CFG_TYPE_SZINQIO | |
| CFG_TYPE_KYU | |
| CFG_TYPE_DISORDERED | |
| CFG_TYPE_UNIT | |
| CFG_TYPE_CPPACS | |
| CFG_TYPE_WEAK_FIELD | |
| CFG_TYPE_CLASSICAL_SF |
Definition at line 26 of file enum_cfgtype_io.h.
| enum Chroma::CoeffType |
| enum Chroma::EigenVecType |
| enum Chroma::FermType |
| enum Chroma::GaugeActType |
GaugeAct type.
Types and structures
| GAUGE_ACT_WILSON | |
| GAUGE_ACT_SYMZK_1X2 | |
| GAUGE_ACT_IWASAKI | |
| GAUGE_ACT_DBW2 | |
| GAUGE_ACT_5_LOOP_IMP | |
| GAUGE_ACT_4_LOOP_IMP | |
| GAUGE_ACT_3_LOOP_IMP |
Definition at line 30 of file enum_gaugeacttype_io.h.
| enum Chroma::MesonOpType |
Meson operator contraction orderings.
Types and structures
| MESON_OP_TYPE_SOURCE_SOURCE | |
| MESON_OP_TYPE_SOURCE_SOLUTION | |
| MESON_OP_TYPE_SOLUTION_SOURCE | |
| MESON_OP_TYPE_SOLUTION_SOLUTION |
Definition at line 25 of file enum_mesonop_io.h.
OverlapInnerSolver type.
Types and structures
Definition at line 26 of file enum_inner_solver_type_io.h.
| enum Chroma::PropType |
| enum Chroma::SimpleBCType |
| multi1d< Real > Chroma::kappaToMass | ( | const multi1d< Real > & | Kappa | ) |
| Real Chroma::kappaToMass | ( | const Real & | Kappa | ) |
Convert a Kappa to a mass.
Types and structures
Definition at line 13 of file param_io.cc.
Referenced by Chroma::getMass(), and read().
| multi1d< Real > Chroma::massToKappa | ( | const multi1d< Real > & | Mass | ) |
| Real Chroma::massToKappa | ( | const Real & | Mass | ) |
Convert a Kappa to a mass.
Definition at line 32 of file param_io.cc.
Referenced by Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getKappa(), and Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::init().
| void Chroma::read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| ChromaWilsonRitz_t & | param | |||
| ) |
Definition at line 90 of file eigen_io.cc.
References Chroma::ChromaWilsonRitz_t::cfg, Chroma::ChromaWilsonRitz_t::eigen_io_params, Chroma::ChromaWilsonRitz_t::fermact, Chroma::ChromaWilsonRitz_t::nrow, Chroma::read(), Chroma::ChromaWilsonRitz_t::ritz_params, Chroma::ChromaWilsonRitz_t::seed, Chroma::ChromaWilsonRitz_t::state_info, and Chroma::ChromaWilsonRitz_t::version.
| void Chroma::read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| EigenIO_t & | io_header | |||
| ) |
Definition at line 54 of file eigen_io.cc.
References Chroma::EigenIO_t::eigen_file, Chroma::EigenIO_t::eigen_filefmt, Chroma::EigenIO_t::eigen_volfmt, Chroma::EVEC_TYPE_SCIDAC, and Chroma::read().
| void Chroma::read | ( | XMLReader & | xml, | |
| const std::string & | path, | |||
| Handle< ExactMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > & | mon_handle | |||
| ) |
Read a monomial from an XML reader, use a factory to create and assign the pointer to the handle...
Definition at line 25 of file monomial_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), m, and Chroma::read().
| void Chroma::read | ( | XMLReader & | xml, | |
| const std::string & | path, | |||
| Handle< Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > & | mon_handle | |||
| ) |
Definition at line 8 of file monomial_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), and Chroma::read().
| void Chroma::read | ( | XMLReader & | xml, | |
| const std::string & | path, | |||
| Handle< ExactLatColMatHamiltonian > & | H_handle | |||
| ) |
| void Chroma::read | ( | XMLReader & | xml_in, | |
| const string & | path, | |||
| QuarkSpinType & | t | |||
| ) |
Read a quark spin type enum.
Definition at line 27 of file enum_quarkspintype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), and Chroma::QudaSolverTypeEnv::typeIDString.
| void Chroma::read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| RitzParams_t & | header | |||
| ) |
Definition at line 9 of file eigen_io.cc.
References Chroma::RitzParams_t::GammaFactor, Chroma::RitzParams_t::MaxCG, Chroma::RitzParams_t::MaxKS, Chroma::RitzParams_t::MaxKSIter, Chroma::RitzParams_t::MinKSIter, Chroma::RitzParams_t::Ndummy, Chroma::RitzParams_t::Neig, Chroma::RitzParams_t::Nrenorm, Chroma::RitzParams_t::ProjApsiP, Chroma::read(), Chroma::RitzParams_t::RsdA, Chroma::RitzParams_t::RsdR, and Chroma::RitzParams_t::RsdZero.
| void Chroma::read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| Cfg_t & | input | |||
| ) |
Configuration input.
Definition at line 14 of file cfgtype_io.cc.
References Chroma::Cfg_t::cfg_file, Chroma::Cfg_t::cfg_type, and Chroma::read().
| void Chroma::readCPPACS | ( | XMLReader & | xml, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a CPPACS gauge configuration.
| xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 147 of file readcppacs.cc.
References END_CODE, Chroma::readCPPACS(), and START_CODE.
| void Chroma::readCPPACS | ( | CPPACSGauge_t & | header, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a CPPACS gauge configuration written in the 1997 format.
Based on the C-routine ToSTDConf.c available at http://www.lqa.rccp.tsukuba.ac.jp/tools.html
Author: Andreas Juettner
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 28 of file readcppacs.cc.
References END_CODE, Chroma::read(), and START_CODE.
Referenced by Chroma::gaugeStartup(), Chroma::CPPACSGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readCPPACS().
| void Chroma::readEigen | ( | ChromaWilsonRitz_t & | header, | |
| multi1d< Real > & | lambda_lo, | |||
| multi1d< LatticeFermion > & | eigv_lo, | |||
| Real & | lambda_hi, | |||
| const string & | filename_stem, | |||
| int | Neig, | |||
| QDP_serialparallel_t | serpar | |||
| ) |
Definition at line 276 of file eigen_io.cc.
References Chroma::RitzParams_t::Neig, Chroma::read(), Chroma::readEigenPair(), and Chroma::ChromaWilsonRitz_t::ritz_params.
Referenced by Chroma::OverlapConnectState::init(), and main().
| void Chroma::readEigenPair | ( | Real & | lambda_lo, | |
| int & | eig_index, | |||
| LatticeFermion & | eigv, | |||
| const string & | filename, | |||
| QDP_serialparallel_t | serpar, | |||
| XMLReader & | file_xml | |||
| ) |
Definition at line 217 of file eigen_io.cc.
References Chroma::read().
Referenced by Chroma::readEigen().
| void Chroma::readEigenSzin | ( | multi1d< Real > & | lambda_lo, | |
| multi1d< LatticeFermion > & | eigv_lo, | |||
| Real & | lambda_hi, | |||
| const int | Neig, | |||
| const string & | filename_stem | |||
| ) |
Definition at line 353 of file eigen_io.cc.
References Chroma::read(), Chroma::StaggeredTypeFermBCEnv::reader(), and Chroma::readSzinFerm().
| void Chroma::readGauge | ( | XMLReader & | file_xml, | |
| XMLReader & | record_xml, | |||
| multi1d< LatticeColorMatrix > & | u, | |||
| const std::string & | file, | |||
| QDP_serialparallel_t | serpar | |||
| ) |
Read a gauge config in QIO format.
| file_xml | xml reader holding config info ( Modify ) | |
| record_xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| file | path ( Read ) | |
| serpar | either QDPIO_SERIAL, QDPIO_PARALLEL ( Read ) |
| void Chroma::readKYU | ( | multi1d< LatticeColorMatrix > & | u, | |
| const string & | cfg_file | |||
| ) |
Read a Kentucky gauge configuration.
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 21 of file kyugauge_io.cc.
References END_CODE, Chroma::read(), and START_CODE.
Referenced by Chroma::gaugeStartup(), main(), and Chroma::KYUGaugeInitEnv::GaugeIniter::operator()().
| void Chroma::readKYUQprop | ( | LatticePropagator & | q, | |
| const string & | file | |||
| ) |
Read a KYU propagator file.
| q | propagator ( Modify ) | |
| file | path ( Read ) |
Definition at line 23 of file kyuqprop_io.cc.
References Chroma::DiracToDRMat(), END_CODE, Chroma::FermToProp(), Chroma::SftMom::getSet(), j_decay, Chroma::read(), START_CODE, U, and Chroma::write().
Referenced by main().
| void Chroma::readMILC | ( | XMLReader & | xml, | |
| multi1d< LatticeColorMatrixD > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a MILC gauge configuration written in the 1997 format.
| xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 155 of file readmilc.cc.
References END_CODE, Chroma::readMILC(), and START_CODE.
| void Chroma::readMILC | ( | XMLReader & | xml, | |
| multi1d< LatticeColorMatrixF > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a MILC gauge configuration written in the 1997 format.
| xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 120 of file readmilc.cc.
References END_CODE, Chroma::readMILC(), START_CODE, and Chroma::write().
| void Chroma::readMILC | ( | MILCGauge_t & | header, | |
| multi1d< LatticeColorMatrixF > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a MILC gauge configuration written in the 1997 format.
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 23 of file readmilc.cc.
References Chroma::MILCGauge_t::date, END_CODE, Chroma::MILCGauge_t::nrow, Chroma::read(), and START_CODE.
Referenced by Chroma::gaugeStartup(), main(), Chroma::MILCGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readMILC().
| void Chroma::readNamedMonomial | ( | XMLReader & | xml, | |
| const std::string & | path, | |||
| std::string & | monomial_id | |||
| ) |
Read a named monomial from an XML reader, use factory to create and assign the pointer to a handle in the named object map of monomial handles.
Definition at line 57 of file monomial_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), and Chroma::read().
Referenced by Chroma::readNamedMonomialArray().
| void Chroma::readNamedMonomialArray | ( | XMLReader & | xml, | |
| const std::string & | path | |||
| ) |
Read an array of named monomials from an XML reader. use factory to create the monomials and put them in a named object map of monomial handles.
Definition at line 106 of file monomial_io.cc.
References Chroma::readNamedMonomial().
Referenced by main().
| void Chroma::readSzin | ( | XMLReader & | xml, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a SZIN configuration file.
Gauge field layout is (fortran ordering) u(real/imag,color_row,color_col,site,cb,Nd) = u(2,Nc,Nc,VOL_CB,2,4)
| xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 311 of file readszin.cc.
References END_CODE, Chroma::readSzin(), START_CODE, and Chroma::write().
| void Chroma::readSzin | ( | SzinGauge_t & | header, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Read a SZIN configuration file.
Gauge field layout is (fortran ordering) u(real/imag,color_row,color_col,site,cb,Nd) = u(2,Nc,Nc,VOL_CB,2,4)
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Read ) |
Definition at line 32 of file readszin.cc.
References Chroma::SzinGauge_t::AlpExp, Chroma::SzinGauge_t::AlpLog, Chroma::SzinGauge_t::banner, Chroma::SzinGauge_t::BetaMC, Chroma::SzinGauge_t::BetaMD, Chroma::SzinGauge_t::cfg_version, Chroma::SzinGauge_t::date, Chroma::SzinGauge_t::dt, Chroma::SzinGauge_t::FermTypeP, Chroma::SzinGauge_t::KappaMC, Chroma::SzinGauge_t::KappaMD, Chroma::SzinGauge_t::LamMi, Chroma::SzinGauge_t::LamPl, Chroma::SzinGauge_t::MassMC, Chroma::SzinGauge_t::MassMD, Chroma::SzinGauge_t::MesTrj, Chroma::SzinGauge_t::Nc, Chroma::SzinGauge_t::Nd, Chroma::SzinGauge_t::Nf, Chroma::SzinGauge_t::NOver, Chroma::SzinGauge_t::Npf, Chroma::SzinGauge_t::nrow, Chroma::read(), Chroma::SzinGauge_t::RefFnoiseTrj, Chroma::SzinGauge_t::RefMomTrj, Chroma::SzinGauge_t::spec_acc, START_CODE, SZIN_WILSON_FERMIONS, Chroma::SzinGauge_t::TotalCG, Chroma::SzinGauge_t::TotalFail, Chroma::SzinGauge_t::TotalTrj, and Chroma::SzinGauge_t::TotalTry.
Referenced by Chroma::gaugeStartup(), main(), Chroma::SZINGaugeInitEnv::GaugeIniter::operator()(), Chroma::readSzin(), and Chroma::SZINReadObjCallMapEnv::SZINReadArrayLatColMat().
| void readSzinFerm | ( | multi1d< LatticeFermion > & | q, | |
| const string & | file | |||
| ) |
Read a SZIN fermion. This is a simple memory dump reader.
| q | lattice fermion ( Modify ) | |
| file | path ( Read ) |
Definition at line 21 of file t_dwflinop.cc.
References m, and Chroma::read().
| void Chroma::readSzinFerm | ( | LatticeFermion & | q, | |
| const string & | file | |||
| ) |
Read an old SZIN-style (checkerboarded) lattice Dirac fermion.
| q | lattice fermion ( Modify ) | |
| file | path ( Read ) |
Definition at line 22 of file readszinferm_w.cc.
References m, and Chroma::read().
Referenced by main(), Chroma::readEigenSzin(), and readEigenVecs().
| void Chroma::readSzinQprop | ( | LatticePropagator & | q, | |
| const string & | file, | |||
| const Real & | kappa | |||
| ) |
Read a SZIN propagator file. This is a simple memory dump readr.
| q | propagator ( Read ) | |
| file | path ( Read ) | |
| kappa | kappa value (Read) |
| void Chroma::readSzinQprop | ( | XMLReader & | xml, | |
| LatticePropagator & | q, | |||
| const string & | file | |||
| ) |
Read a SZIN propagator file. This is a simple memory dump readr.
| xml | xml reader holding prop info ( Modify ) | |
| q | propagator ( Modify ) | |
| file | path ( Read ) |
Definition at line 27 of file readszinqprop_w.cc.
References m, Chroma::read(), and Chroma::write().
Referenced by main(), and Chroma::SZINReadObjCallMapEnv::SZINReadLatProp().
| multi1d< GroupXML_t > Chroma::readXMLArrayGroup | ( | XMLReader & | xml_in, | |
| const std::string & | path, | |||
| const std::string & | type_name | |||
| ) |
Read group and return as a string.
Definition at line 41 of file xml_group_reader.cc.
References Chroma::read().
Referenced by Chroma::InlineStochHadronEnv::read(), Chroma::InlineStochGroupMesonEnv::read(), Chroma::InlineStochGroupBaryonEnv::read(), Chroma::InlineProp3ptEnv::read(), Chroma::InlineHadronContractEnv::read(), Chroma::InlineDiscoEnv::read(), Chroma::InlineDiscoEOPrecEnv::read(), Chroma::InlineDiscoEoEigCGEnv::read(), and Chroma::InlineDiscoEigCGEnv::read().
| GroupXML_t Chroma::readXMLGroup | ( | XMLReader & | xml_in, | |
| const std::string & | path, | |||
| const std::string & | type_name | |||
| ) |
Read group and return as a string.
Definition at line 12 of file xml_group_reader.cc.
References Chroma::GroupXML_t::id, Chroma::GroupXML_t::path, Chroma::read(), and Chroma::GroupXML_t::xml.
Referenced by Chroma::EvenOddPrecLogDetEvenEvenMonomialParams::EvenOddPrecLogDetEvenEvenMonomialParams(), Chroma::FixedRandomFermMonomialParams::FixedRandomFermMonomialParams(), Chroma::InlineStaggeredSpectrum::func(), Chroma::InlineMultiPropagator::func(), Chroma::InlineMesonGridMatElemEnv::InlineMeas::func(), Chroma::InlineBlockOrthogColorVecsEnv::InlineMeas::func(), ElementalOpMap::getSinkOp(), ElementalOpMap::getSourceOp(), Chroma::InlineEigBndsMdagMParams::InlineEigBndsMdagMParams(), main(), Chroma::ShellQuarkSourceConstEnv::Params::Params(), Chroma::SFShellQuarkSourceConstEnv::Params::Params(), Chroma::NormShellQuarkSourceConstEnv::Params::Params(), Chroma::InlineLinkSmearEnv::Params::Params(), Chroma::GroupBaryonOperatorEnv::Params::Params(), Chroma::InlineStochHadronEnv::read(), Chroma::InlineStochGroupMesonEnv::read(), Chroma::InlineStochGroupBaryonEnv::read(), Chroma::InlineQTopEnv::read(), Chroma::InlineQActDenEnv::read(), Chroma::InlineMesonMatElemColorVecEnv::read(), Chroma::InlineMesonGridMatElemEnv::read(), Chroma::InlineMesonBlockMatElemEnv::read(), Chroma::InlineLaplaceEigsEnv::read(), Chroma::InlineGridPropEnv::read(), Chroma::InlineGenPropMatElemColorVecEnv::read(), Chroma::InlineDiscoEOPrecEnv::read(), Chroma::InlineDiscoEoEigCGEnv::read(), Chroma::InlineDiscoEigCGEnv::read(), Chroma::InlineCreateColorVecsEnv::read(), Chroma::InlineBlockOrthogColorVecsEnv::read(), Chroma::InlineBlockGenPropMatElemEnv::read(), Chroma::InlineBlockColorVecsEnv::read(), Chroma::InlineBaryonMatElemColorVecEnv::read(), Chroma::InlineBaryonBlockMatElemEnv::read(), Chroma::InlineStaggeredFermStateEnv::read(), Chroma::read(), read(), and Chroma::SysSolverRichardsonCloverParams::SysSolverRichardsonCloverParams().
| void Chroma::write | ( | XMLWriter & | xml, | |
| const string & | path, | |||
| const ChromaWilsonRitz_t & | param | |||
| ) |
Definition at line 129 of file eigen_io.cc.
References Chroma::ChromaWilsonRitz_t::cfg, Chroma::ChromaWilsonRitz_t::eigen_io_params, Chroma::ChromaWilsonRitz_t::fermact, Chroma::ChromaWilsonRitz_t::nrow, Chroma::ChromaWilsonRitz_t::ritz_params, Chroma::ChromaWilsonRitz_t::seed, Chroma::ChromaWilsonRitz_t::state_info, Chroma::ChromaWilsonRitz_t::version, and Chroma::write().
| void Chroma::write | ( | XMLWriter & | xml, | |
| const string & | path, | |||
| const EigenIO_t & | io_header | |||
| ) |
Definition at line 80 of file eigen_io.cc.
References Chroma::EigenIO_t::eigen_file, Chroma::EigenIO_t::eigen_filefmt, Chroma::EigenIO_t::eigen_volfmt, and Chroma::write().
| void Chroma::write | ( | XMLWriter & | xml, | |
| const string & | path, | |||
| const RitzParams_t & | header | |||
| ) |
Definition at line 35 of file eigen_io.cc.
References Chroma::RitzParams_t::GammaFactor, Chroma::RitzParams_t::MaxCG, Chroma::RitzParams_t::MaxKS, Chroma::RitzParams_t::MaxKSIter, Chroma::RitzParams_t::MinKSIter, Chroma::RitzParams_t::Ndummy, Chroma::RitzParams_t::Neig, Chroma::RitzParams_t::Nrenorm, Chroma::RitzParams_t::ProjApsiP, Chroma::RitzParams_t::RsdA, Chroma::RitzParams_t::RsdR, Chroma::RitzParams_t::RsdZero, and Chroma::write().
| void Chroma::write | ( | XMLWriter & | xml_out, | |
| const string & | path, | |||
| const QuarkSpinType & | t | |||
| ) |
Write a quark spin type enum.
Definition at line 33 of file enum_quarkspintype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), and Chroma::QudaSolverTypeEnv::typeIDString.
| void Chroma::write | ( | XMLWriter & | xml, | |
| const string & | path, | |||
| const Cfg_t & | cfg | |||
| ) |
Configuration input.
Definition at line 23 of file cfgtype_io.cc.
References Chroma::Cfg_t::cfg_file, Chroma::Cfg_t::cfg_type, and Chroma::write().
| void Chroma::writeEigen | ( | const ChromaWilsonRitz_t & | header, | |
| multi1d< Real > & | lambda_lo, | |||
| multi1d< LatticeFermion > & | eigv_lo, | |||
| Real & | lambda_hi, | |||
| QDP_serialparallel_t | serpar | |||
| ) |
Definition at line 170 of file eigen_io.cc.
References Chroma::EigenIO_t::eigen_file, Chroma::EigenIO_t::eigen_filefmt, Chroma::ChromaWilsonRitz_t::eigen_io_params, Chroma::EigenIO_t::eigen_volfmt, Chroma::EVEC_TYPE_SCIDAC, Chroma::RitzParams_t::Neig, Chroma::ChromaWilsonRitz_t::ritz_params, and Chroma::write().
Referenced by RitzCode4DHw().
| void Chroma::writeGauge | ( | XMLBufferWriter & | file_xml, | |
| XMLBufferWriter & | record_xml, | |||
| const multi1d< LatticeColorMatrix > & | u, | |||
| const std::string & | file, | |||
| QDP_volfmt_t | volfmt, | |||
| QDP_serialparallel_t | serpar | |||
| ) |
Write a gauge config in QIO format.
| file_xml | xml reader holding config info ( Modify ) | |
| record_xml | xml reader holding config info ( Modify ) | |
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) | |
| volfmt | either QDPIO_SINGLEFILE, QDPIO_MULTIFILE ( Read ) | |
| serpar | either QDPIO_SERIAL, QDPIO_PARALLEL ( Read ) |
| void Chroma::writeKYU | ( | const multi1d< LatticeColorMatrix > & | u, | |
| const string & | cfg_file | |||
| ) |
Write a Kentucky gauge configuration.
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 72 of file kyugauge_io.cc.
References END_CODE, START_CODE, and Chroma::write().
Referenced by main().
| void Chroma::writeMILC | ( | XMLBufferWriter & | xml, | |
| const multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Write a MILC gauge configuration in the 1997 format.
| xml | xml writer holding config info ( Read ) | |
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) |
| void Chroma::writeMILC | ( | XMLBufferWriter & | xml, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Write a MILC configuration file.
| xml | xml writer holding config info ( Modify ) | |
| u | gauge configuration ( Modify ) | |
| cfg_file | path ( Write ) |
Definition at line 88 of file writemilc.cc.
References END_CODE, Chroma::read(), START_CODE, and Chroma::writeMILC().
| void Chroma::writeMILC | ( | const MILCGauge_t & | header, | |
| const multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Write a MILC gauge configuration in the 1997 format.
| header | structure holding config info ( Read ) | |
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 27 of file writemilc.cc.
References Chroma::MILCGauge_t::date, END_CODE, Chroma::MILCGauge_t::nrow, START_CODE, and Chroma::write().
Referenced by main(), and Chroma::writeMILC().
| void Chroma::writeSzin | ( | XMLBufferWriter & | xml, | |
| multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Write a SZIN configuration file.
Gauge field layout is (fortran ordering) u(real/imag,color_row,color_col,site,cb,Nd) = u(2,Nc,Nc,VOL_CB,2,4)
| xml | xml writer holding config info ( Read ) | |
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 173 of file writeszin.cc.
References END_CODE, Chroma::read(), START_CODE, and Chroma::writeSzin().
| void Chroma::writeSzin | ( | const SzinGauge_t & | header, | |
| const multi1d< LatticeColorMatrix > & | u, | |||
| const string & | cfg_file | |||
| ) |
Write a SZIN configuration file.
Gauge field layout is (fortran ordering) u(real/imag,color_row,color_col,site,cb,Nd) = u(2,Nc,Nc,VOL_CB,2,4)
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 113 of file writeszin.cc.
References END_CODE, m, START_CODE, Chroma::write(), and Chroma::writeSzinHeader().
Referenced by main(), and Chroma::writeSzin().
| static void Chroma::writeSzinHeader | ( | BinaryWriter & | cfg_out, | |
| const SzinGauge_t & | header | |||
| ) | [static] |
Write a SZIN header to a binary file.
Writes a version 7 header
| cfg_out | binary writer object ( Modify ) | |
| header | structure holding config info ( Modify ) |
Definition at line 27 of file writeszin.cc.
References Chroma::SzinGauge_t::AlpExp, Chroma::SzinGauge_t::AlpLog, Chroma::SzinGauge_t::banner, Chroma::SzinGauge_t::BetaMC, Chroma::SzinGauge_t::BetaMD, Chroma::SzinGauge_t::cfg_version, Chroma::SzinGauge_t::date, Chroma::SzinGauge_t::dt, END_CODE, Chroma::SzinGauge_t::FermTypeP, Chroma::SzinGauge_t::KappaMC, Chroma::SzinGauge_t::KappaMD, Chroma::SzinGauge_t::LamMi, Chroma::SzinGauge_t::LamPl, Chroma::SzinGauge_t::MassMC, Chroma::SzinGauge_t::MassMD, Chroma::SzinGauge_t::MesTrj, Chroma::SzinGauge_t::Nc, Chroma::SzinGauge_t::Nd, Chroma::SzinGauge_t::Nf, Chroma::SzinGauge_t::NOver, Chroma::SzinGauge_t::Npf, Chroma::SzinGauge_t::nrow, Chroma::SzinGauge_t::RefFnoiseTrj, Chroma::SzinGauge_t::RefMomTrj, Chroma::SzinGauge_t::seed, Chroma::SzinGauge_t::spec_acc, START_CODE, Chroma::SzinGauge_t::TotalCG, Chroma::SzinGauge_t::TotalFail, Chroma::SzinGauge_t::TotalTrj, Chroma::SzinGauge_t::TotalTry, and Chroma::write().
Referenced by Chroma::writeSzin(), Chroma::writeSzinReplica(), and Chroma::writeSzinTrunc().
| void Chroma::writeSzinQprop | ( | const LatticePropagator & | q, | |
| const string & | file, | |||
| const Real & | kappa | |||
| ) |
Write a SZIN propagator file. This is a simple memory dump writer.
| q | propagator ( Read ) | |
| file | path ( Read ) | |
| kappa | kappa value (Read) |
Definition at line 23 of file writeszinqprop_w.cc.
References m, and Chroma::write().
| void Chroma::writeSzinQprop | ( | const LatticePropagator & | q, | |
| const string & | file, | |||
| const Real | kappa | |||
| ) |
Write a SZIN propagator file. This is a simple memory dump writer.
| q | propagator ( Read ) | |
| file | path ( Read ) | |
| kappa | kappa value (Read) |
Definition at line 104 of file readszinqprop_w.cc.
References m, and Chroma::write().
Referenced by main(), and Chroma::SZINWriteObjCallMapEnv::SZINWriteLatProp().
| void Chroma::writeSzinReplica | ( | SzinGauge_t & | header, | |
| const multi1d< LatticeColorMatrix > & | u, | |||
| int | j_decay, | |||
| int | n_replica, | |||
| const string & | cfg_file | |||
| ) |
Write a replicated (in time direction) SZIN configuration file.
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Read ) | |
| j_decay | direction for replication ( Read ) | |
| n_replica | number of replicas in j_decay direction ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 301 of file writeszin.cc.
References END_CODE, m, Chroma::SzinGauge_t::nrow, START_CODE, Chroma::write(), and Chroma::writeSzinHeader().
Referenced by main().
| void Chroma::writeSzinTrunc | ( | const SzinGauge_t & | header, | |
| const multi1d< LatticeColorMatrix > & | u, | |||
| int | j_decay, | |||
| int | t_start, | |||
| int | t_end, | |||
| const string & | cfg_file | |||
| ) |
Write a truncated SZIN configuration file.
| header | structure holding config info ( Modify ) | |
| u | gauge configuration ( Read ) | |
| j_decay | direction which will be truncated ( Read ) | |
| t_start | starting slice in j_decay direction ( Read ) | |
| t_end | ending slice in j_decay direction ( Read ) | |
| cfg_file | path ( Read ) |
Definition at line 199 of file writeszin.cc.
References END_CODE, m, Chroma::SzinGauge_t::nrow, START_CODE, Chroma::write(), and Chroma::writeSzinHeader().
Referenced by Chroma::SZINWriteObjCallMapEnv::SZINWriteArrayLatColMat().
1.4.7