CHROMA
Modules | Classes | Typedefs | Functions

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 std::map holder. More...
 
struct  Chroma::PropSourceConst_t
 Propagator source construction parameters. More...
 
struct  Chroma::GroupXML_t
 Hold group xml and type id. More...
 

Typedefs

typedef SingletonHolder< XMLFileWriter, CreateUsingNew, DefaultLifetime1, SingleThreadedChroma::TheXMLOutputWriter
 XML output holder. More...
 
typedef SingletonHolder< XMLFileWriter, CreateUsingNew, DefaultLifetime2, SingleThreadedChroma::TheXMLLogWriter
 XML log holder. More...
 

Functions

void Chroma::read (XMLReader &xml, const std::string &path, Cfg_t &input)
 Configuration input. More...
 
void Chroma::write (XMLWriter &xml, const std::string &path, const Cfg_t &input)
 Configuration input. More...
 
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. More...
 
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. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, Handle< ExactLatColMatHamiltonian > &H_handle)
 
void Chroma::readKYU (multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a Kentucky gauge configuration. More...
 
void Chroma::writeKYU (const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a Kentucky gauge configuration. More...
 
void Chroma::readKYUQprop (LatticePropagator &q, const std::string &file)
 Read a Kentucky quark propagator. More...
 
void Chroma::readNamedMonomial (XMLReader &xml, const std::string &path, std::string &monomial_id)
 Read a named monomial from an XML reader, usa factory to create and assign the pointer to a handle in the named object std::map of monomial handles. More...
 
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... More...
 
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 std::map of monomial handles. More...
 
void Chroma::readCPPACS (CPPACSGauge_t &header, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a CPPACCPPACS configuration file. More...
 
void Chroma::readCPPACS (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a CPPACS configuration file. More...
 
void Chroma::readMILC (MILCGauge_t &header, multi1d< LatticeColorMatrixF > &u, const std::string &cfg_file)
 Read a MILC configuration file. More...
 
void Chroma::readMILC (XMLReader &xml, multi1d< LatticeColorMatrixF > &u, const std::string &cfg_file)
 Read a MILC configuration file. More...
 
void Chroma::readMILC (XMLReader &xml, multi1d< LatticeColorMatrixD > &u, const std::string &cfg_file)
 Read a MILC configuration file. More...
 
void Chroma::readSzin (SzinGauge_t &header, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a SZIN configuration file. More...
 
void Chroma::readSzin (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a SZIN configuration file. More...
 
void Chroma::readSzinFerm (LatticeFermion &q, const std::string &file)
 Read a SZIN fermion. This is a simple memory dump reader. More...
 
void Chroma::readSzinQprop (XMLReader &xml, LatticePropagator &q, const std::string &file)
 Read a SZIN propagator file. This is a simple memory dump reader. More...
 
void Chroma::writeSzinQprop (const LatticePropagator &q, const std::string &file, const Real kappa)
 Write a SZIN propagator file. This is a simple memory dump writer. More...
 
void Chroma::readSzinQprop (LatticePropagator &q, const std::string &file, const Real &kappa)
 Read a SZIN propagator file. This is a simple memory dump readr. More...
 
void Chroma::readWupp (multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a WUPP configuration file. More...
 
void Chroma::readWupp (XMLReader &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Read a Wupp configuration file. More...
 
void Chroma::writeMILC (const MILCGauge_t &header, const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a MILC configuration file. More...
 
void Chroma::writeMILC (XMLBufferWriter &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a MILC configuration file. More...
 
void Chroma::writeMILC (XMLBufferWriter &xml, const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a MILC gauge configuration in the 1997 format. More...
 
static void Chroma::writeSzinHeader (BinaryWriter &cfg_out, const SzinGauge_t &header)
 Write a SZIN header to a binary file. More...
 
void Chroma::writeSzin (const SzinGauge_t &header, const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a SZIN configuration file. More...
 
void Chroma::writeSzin (XMLBufferWriter &xml, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
 Write a SZIN configuration file. More...
 
void Chroma::writeSzinTrunc (const SzinGauge_t &header0, const multi1d< LatticeColorMatrix > &u, int j_decay, int t_start, int t_end, const std::string &cfg_file)
 Write a truncated SZIN configuration file. More...
 
void Chroma::writeSzinReplica (SzinGauge_t &header, const multi1d< LatticeColorMatrix > &u, int j_decay, int n_replica, const std::string &cfg_file)
 Write a replicated (in time direction) SZIN configuration file. More...
 
void Chroma::writeSzinQprop (const LatticePropagator &q, const std::string &file, const Real &kappa)
 Write a SZIN propagator file. This is a simple memory dump writer. More...
 
GroupXML_t Chroma::readXMLGroup (XMLReader &xml, const std::string &path, const std::string &type_name)
 Read group and return as a std::string. More...
 
multi1d< GroupXML_tChroma::readXMLArrayGroup (XMLReader &xml, const std::string &path, const std::string &type_name)
 Read group and return as a std::string. More...
 
void readSzinFerm (multi1d< LatticeFermion > &q, const std::string &file)
 Read a SZIN fermion. This is a simple memory dump reader. More...
 
enum  Chroma::QudaSolverType {
  Chroma::CG , Chroma::BICGSTAB , Chroma::GCR , Chroma::CA_GCR ,
  Chroma::MR
}
 Quda Solver type. More...
 
enum  Chroma::QudaPrecisionType {
  Chroma::DEFAULT , Chroma::QUARTER , Chroma::HALF , Chroma::SINGLE ,
  Chroma::DOUBLE
}
 Quda Precision type. More...
 
enum  Chroma::QudaReconsType { Chroma::RECONS_NONE , Chroma::RECONS_8 , Chroma::RECONS_12 }
 Quda Gauge Reconstruct type. More...
 
enum  Chroma::QudaSchwarzMethod { Chroma::INVALID_SCHWARZ , Chroma::ADDITIVE_SCHWARZ , Chroma::MULTIPLICATIVE_SCHWARZ }
 
typedef SingletonHolder< EnumTypeMap< QudaSolverType > > Chroma::theQudaSolverTypeMap
 
typedef SingletonHolder< std::map< QudaSolverType, QudaInverterType > > Chroma::theChromaToQudaSolverTypeMap
 
typedef SingletonHolder< EnumTypeMap< QudaPrecisionType > > Chroma::theQudaPrecisionTypeMap
 
typedef SingletonHolder< std::map< QudaPrecisionType, QudaPrecision > > Chroma::theChromaToQudaPrecisionTypeMap
 
typedef SingletonHolder< EnumTypeMap< QudaReconsType > > Chroma::theQudaReconsTypeMap
 
typedef SingletonHolder< std::map< QudaReconsType, QudaReconstructType > > Chroma::theChromaToQudaReconsTypeMap
 
typedef SingletonHolder< EnumTypeMap< QudaSchwarzMethod > > Chroma::theQudaSchwarzMethodMap
 
typedef SingletonHolder< std::map< QudaSchwarzMethod, QudaSchwarzType > > Chroma::theChromaToQudaSchwarzTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, QudaSolverType &t)
 Read an QudaSolverType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const QudaSolverType &t)
 Write an QudaSolverType enum. More...
 
void Chroma::read (XMLReader &xml_in, const std::string &path, QudaPrecisionType &t)
 Read an QudaSolverType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const QudaPrecisionType &t)
 Write an QudaSolverType enum. More...
 
void Chroma::read (XMLReader &xml_in, const std::string &path, QudaReconsType &t)
 Read an QudaSolverType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const QudaReconsType &t)
 Write an QudaSolverType enum. More...
 
void Chroma::read (XMLReader &xml_in, const std::string &path, QudaSchwarzMethod &t)
 Read an QudaSolverType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const QudaSchwarzMethod &t)
 Write an QudaSolverType enum. 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_CERN , Chroma::CFG_TYPE_WEAK_FIELD , Chroma::CFG_TYPE_CLASSICAL_SF ,
  Chroma::CFG_TYPE_WUPP
}
 Configuration type. More...
 
typedef SingletonHolder< EnumTypeMap< CfgType > > Chroma::theCfgTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, CfgType &t)
 read a configuration type enum More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const CfgType &t)
 write a configuration type enum More...
 
enum  Chroma::CoeffType { Chroma::COEFF_TYPE_ZOLOTAREV = 0 , Chroma::COEFF_TYPE_TANH , Chroma::COEFF_TYPE_TANH_UNSCALED }
 Coeffs type. More...
 
typedef SingletonHolder< EnumTypeMap< CoeffType > > Chroma::theCoeffTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, CoeffType &t)
 read an approximation coefficient type enum More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const CoeffType &t)
 write an approximation coefficient type enum More...
 
enum  Chroma::EigenVecType { Chroma::EVEC_TYPE_SCIDAC = 2 , Chroma::EVEC_TYPE_SZIN }
 Eigenstd::vector type. More...
 
typedef SingletonHolder< EnumTypeMap< EigenVecType > > Chroma::theEigenVecTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, EigenVecType &t)
 Read an eigenvectype enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const EigenVecType &t)
 Write an eigenvectype enum. More...
 
enum  Chroma::FermType { Chroma::FERM_TYPE_WILSON , Chroma::FERM_TYPE_STAGGERED }
 Fermion type. More...
 
typedef SingletonHolder< EnumTypeMap< FermType > > Chroma::theFermTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, FermType &t)
 Read an fermion type enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const FermType &t)
 Write an fermion type enum. 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...
 
typedef SingletonHolder< EnumTypeMap< GaugeActType > > Chroma::theGaugeActTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, GaugeActType &t)
 Read an GaugeActType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const GaugeActType &t)
 Write an GaugeActType enum. More...
 
enum  Chroma::OverlapInnerSolverType { Chroma::OVERLAP_INNER_CG_SINGLE_PASS , Chroma::OVERLAP_INNER_CG_DOUBLE_PASS }
 OverlapInnerSolver type. More...
 
typedef SingletonHolder< EnumTypeMap< OverlapInnerSolverType > > Chroma::theOverlapInnerSolverTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, OverlapInnerSolverType &t)
 Read an OverlapInnerSolverType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const OverlapInnerSolverType &t)
 Write an OverlapInnerSolverType enum. More...
 
enum  Chroma::MDIntegratorType { Chroma::MD_PQP_LEAPFROG , Chroma::MD_QPQ_LEAPFROG }
 MDIntegrator type. More...
 
typedef SingletonHolder< EnumTypeMap< MDIntegratorType > > Chroma::theMDIntegratorTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, MDIntegratorType &t)
 Read an MDIntegratorType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const MDIntegratorType &t)
 Write an MDIntegratorType enum. 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...
 
typedef SingletonHolder< EnumTypeMap< MesonOpType > > Chroma::theMesonOpTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, MesonOpType &t)
 read an approximation coefficient type enum More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const MesonOpType &t)
 write an approximation coefficient type enum More...
 
enum  Chroma::PropDistType { Chroma::PROP_DIST_TYPE_SOURCE = 19 , Chroma::PROP_DIST_TYPE_SOLUTION = 41 }
 Distillution line types. More...
 
typedef SingletonHolder< EnumTypeMap< PropDistType > > Chroma::thePropDistTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, PropDistType &t)
 Reader. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const PropDistType &t)
 Writer. More...
 
void Chroma::read (BinaryReader &bin_in, PropDistType &t)
 Reader. More...
 
void Chroma::write (BinaryWriter &bin_out, const PropDistType &t)
 Writer. More...
 
enum  Chroma::PropLineType { Chroma::PROP_LINE_TYPE_CONN = 43 , Chroma::PROP_LINE_TYPE_DISC = 47 }
 Distillution line types. More...
 
typedef SingletonHolder< EnumTypeMap< PropLineType > > Chroma::thePropLineTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, PropLineType &t)
 Reader. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const PropLineType &t)
 Writer. More...
 
void Chroma::read (BinaryReader &bin_in, PropLineType &t)
 Reader. More...
 
void Chroma::write (BinaryWriter &bin_out, const PropLineType &t)
 Writer. More...
 
enum  Chroma::PropType { Chroma::PROP_TYPE_SCIDAC = 2 , Chroma::PROP_TYPE_SZIN , Chroma::PROP_TYPE_KYU }
 Propagator type. More...
 
typedef SingletonHolder< EnumTypeMap< PropType > > Chroma::thePropTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, PropType &t)
 Read a propagator type enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const PropType &t)
 Write a propagator type enum. More...
 
enum  Chroma::QuarkSpinType { Chroma::QUARK_SPIN_TYPE_FULL , Chroma::QUARK_SPIN_TYPE_UPPER , Chroma::QUARK_SPIN_TYPE_LOWER }
 Quark spin type. More...
 
typedef SingletonHolder< EnumTypeMap< QuarkSpinType > > Chroma::theQuarkSpinTypeMap
 A singleton to hold the typemap. More...
 
void Chroma::read (XMLReader &xml_in, const std::string &path, QuarkSpinType &t)
 Read a quark spin type enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const QuarkSpinType &t)
 Write a quark spin type enum. More...
 
enum  Chroma::SimpleBCType { Chroma::BC_TYPE_ANTIPERIODIC = -1 , Chroma::BC_TYPE_DIRICHLET , Chroma::BC_TYPE_PERIODIC }
 SimpleBC type. More...
 
typedef SingletonHolder< EnumTypeMap< SimpleBCType > > Chroma::theSimpleBCTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, SimpleBCType &t)
 Read an simpleBC type enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const SimpleBCType &t)
 Write an simpleBC type enum. More...
 
enum  Chroma::WaveStateType { Chroma::WAVE_TYPE_S_WAVE , Chroma::WAVE_TYPE_P_WAVE , Chroma::WAVE_TYPE_D_WAVE }
 Wave state type. More...
 
typedef SingletonHolder< EnumTypeMap< WaveStateType > > Chroma::theWaveStateTypeMap
 
void Chroma::read (XMLReader &xml_in, const std::string &path, WaveStateType &t)
 Read an WaveType enum. More...
 
void Chroma::write (XMLWriter &xml_out, const std::string &path, const WaveStateType &t)
 Write an WaveType enum. More...
 
void Chroma::read (XMLReader &xml, const std::string &path, RitzParams_t &header)
 
void Chroma::write (XMLWriter &xml, const std::string &path, const RitzParams_t &header)
 
void Chroma::read (XMLReader &xml, const std::string &path, EigenIO_t &io_header)
 
void Chroma::write (XMLWriter &xml, const std::string &path, const EigenIO_t &io_header)
 
void Chroma::read (XMLReader &xml, const std::string &path, ChromaWilsonRitz_t &param)
 
void Chroma::write (XMLWriter &xml, const std::string &path, const ChromaWilsonRitz_t &param)
 
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 std::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 std::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 std::string &filename_stem)
 
Real Chroma::kappaToMass (const Real &Kappa)
 Convert a Kappa to a mass. More...
 
multi1d< Real > Chroma::kappaToMass (const multi1d< Real > &Kappa)
 Convert a Kappa to a mass. More...
 
Real Chroma::massToKappa (const Real &Mass)
 Convert a Kappa to a mass. More...
 
multi1d< Real > Chroma::massToKappa (const multi1d< Real > &Mass)
 Convert a mass to a Kappa. More...
 

Detailed Description

Readers and writers of gauge fields and propagators

Typedef Documentation

◆ theCfgTypeMap

Definition at line 49 of file enum_cfgtype_io.h.

◆ theChromaToQudaPrecisionTypeMap

Definition at line 66 of file enum_quda_io.h.

◆ theChromaToQudaReconsTypeMap

typedef SingletonHolder<std::map<QudaReconsType,QudaReconstructType> > Chroma::theChromaToQudaReconsTypeMap

Definition at line 91 of file enum_quda_io.h.

◆ theChromaToQudaSchwarzTypeMap

Definition at line 115 of file enum_quda_io.h.

◆ theChromaToQudaSolverTypeMap

Definition at line 38 of file enum_quda_io.h.

◆ theCoeffTypeMap

Definition at line 38 of file enum_coeffs_io.h.

◆ theEigenVecTypeMap

Definition at line 38 of file enum_eigenvectype_io.h.

◆ theFermTypeMap

Definition at line 40 of file enum_fermtype_io.h.

◆ theGaugeActTypeMap

Definition at line 52 of file enum_gaugeacttype_io.h.

◆ theMDIntegratorTypeMap

Definition at line 38 of file enum_md_integrator_type_io.h.

◆ theMesonOpTypeMap

Definition at line 41 of file enum_mesonop_io.h.

◆ theOverlapInnerSolverTypeMap

Definition at line 37 of file enum_inner_solver_type_io.h.

◆ thePropDistTypeMap

Definition at line 37 of file enum_prop_dist_io.h.

◆ thePropLineTypeMap

Definition at line 37 of file enum_prop_line_io.h.

◆ thePropTypeMap

Definition at line 39 of file enum_proptype_io.h.

◆ theQuarkSpinTypeMap

A singleton to hold the typemap.

Definition at line 49 of file enum_quarkspintype_io.h.

◆ theQudaPrecisionTypeMap

Definition at line 65 of file enum_quda_io.h.

◆ theQudaReconsTypeMap

Definition at line 90 of file enum_quda_io.h.

◆ theQudaSchwarzMethodMap

Definition at line 114 of file enum_quda_io.h.

◆ theQudaSolverTypeMap

Definition at line 37 of file enum_quda_io.h.

◆ theSimpleBCTypeMap

Definition at line 39 of file enum_simplebctype_io.h.

◆ theWaveStateTypeMap

Definition at line 40 of file enum_wavetype_io.h.

◆ TheXMLLogWriter

XML log holder.

Definition at line 31 of file xmllog_io.h.

◆ TheXMLOutputWriter

XML output holder.

Definition at line 25 of file xmllog_io.h.

Enumeration Type Documentation

◆ CfgType

Configuration type.

Types and structures

Enumerator
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_CERN 
CFG_TYPE_WEAK_FIELD 
CFG_TYPE_CLASSICAL_SF 
CFG_TYPE_WUPP 

Definition at line 25 of file enum_cfgtype_io.h.

◆ CoeffType

Coeffs type.

Types and structures

Enumerator
COEFF_TYPE_ZOLOTAREV 
COEFF_TYPE_TANH 
COEFF_TYPE_TANH_UNSCALED 

Definition at line 24 of file enum_coeffs_io.h.

◆ EigenVecType

Eigenstd::vector type.

Types and structures

Enumerator
EVEC_TYPE_SCIDAC 
EVEC_TYPE_SZIN 

Definition at line 25 of file enum_eigenvectype_io.h.

◆ FermType

Fermion type.

Types and structures

Enumerator
FERM_TYPE_WILSON 
FERM_TYPE_STAGGERED 

Definition at line 27 of file enum_fermtype_io.h.

◆ GaugeActType

GaugeAct type.

Types and structures

Enumerator
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 29 of file enum_gaugeacttype_io.h.

◆ MDIntegratorType

MDIntegrator type.

Types and structures

Enumerator
MD_PQP_LEAPFROG 
MD_QPQ_LEAPFROG 

Definition at line 25 of file enum_md_integrator_type_io.h.

◆ MesonOpType

Meson operator contraction orderings.

Types and structures

Enumerator
MESON_OP_TYPE_SOURCE_SOURCE 
MESON_OP_TYPE_SOURCE_SOLUTION 
MESON_OP_TYPE_SOLUTION_SOURCE 
MESON_OP_TYPE_SOLUTION_SOLUTION 

Definition at line 24 of file enum_mesonop_io.h.

◆ OverlapInnerSolverType

OverlapInnerSolver type.

Types and structures

Enumerator
OVERLAP_INNER_CG_SINGLE_PASS 
OVERLAP_INNER_CG_DOUBLE_PASS 

Definition at line 25 of file enum_inner_solver_type_io.h.

◆ PropDistType

Distillution line types.

Types and structures

Enumerator
PROP_DIST_TYPE_SOURCE 
PROP_DIST_TYPE_SOLUTION 

Definition at line 24 of file enum_prop_dist_io.h.

◆ PropLineType

Distillution line types.

Types and structures

Enumerator
PROP_LINE_TYPE_CONN 
PROP_LINE_TYPE_DISC 

Definition at line 24 of file enum_prop_line_io.h.

◆ PropType

Propagator type.

Types and structures

Enumerator
PROP_TYPE_SCIDAC 
PROP_TYPE_SZIN 
PROP_TYPE_KYU 

Definition at line 25 of file enum_proptype_io.h.

◆ QuarkSpinType

Quark spin type.

Types and structures

Enumerator
QUARK_SPIN_TYPE_FULL 
QUARK_SPIN_TYPE_UPPER 
QUARK_SPIN_TYPE_LOWER 

Definition at line 30 of file enum_quarkspintype_io.h.

◆ QudaPrecisionType

Quda Precision type.

Enumerator
DEFAULT 
QUARTER 
HALF 
SINGLE 
DOUBLE 

Definition at line 50 of file enum_quda_io.h.

◆ QudaReconsType

Quda Gauge Reconstruct type.

Enumerator
RECONS_NONE 
RECONS_8 
RECONS_12 

Definition at line 77 of file enum_quda_io.h.

◆ QudaSchwarzMethod

Enumerator
INVALID_SCHWARZ 
ADDITIVE_SCHWARZ 
MULTIPLICATIVE_SCHWARZ 

Definition at line 101 of file enum_quda_io.h.

◆ QudaSolverType

Quda Solver type.

Types and structures

Enumerator
CG 
BICGSTAB 
GCR 
CA_GCR 
MR 

Definition at line 21 of file enum_quda_io.h.

◆ SimpleBCType

SimpleBC type.

Types and structures

Enumerator
BC_TYPE_ANTIPERIODIC 
BC_TYPE_DIRICHLET 
BC_TYPE_PERIODIC 

Definition at line 25 of file enum_simplebctype_io.h.

◆ WaveStateType

Wave state type.

Types and structures

Enumerator
WAVE_TYPE_S_WAVE 
WAVE_TYPE_P_WAVE 
WAVE_TYPE_D_WAVE 

Definition at line 26 of file enum_wavetype_io.h.

Function Documentation

◆ kappaToMass() [1/2]

multi1d< Real > Chroma::kappaToMass ( const multi1d< Real > &  Kappa)

Convert a Kappa to a mass.

Definition at line 19 of file param_io.cc.

References Chroma::i, Chroma::Mass, and Nd.

◆ kappaToMass() [2/2]

Real Chroma::kappaToMass ( const Real &  Kappa)

◆ massToKappa() [1/2]

multi1d< Real > Chroma::massToKappa ( const multi1d< Real > &  Mass)

Convert a mass to a Kappa.

Definition at line 38 of file param_io.cc.

References Chroma::i, Chroma::Mass, and Nd.

◆ massToKappa() [2/2]

Real Chroma::massToKappa ( const Real &  Mass)

◆ read() [1/27]

void Chroma::read ( BinaryReader &  bin_in,
PropDistType t 
)

◆ read() [2/27]

void Chroma::read ( BinaryReader &  bin_in,
PropLineType t 
)

◆ read() [3/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
Cfg_t input 
)

Configuration input.

Definition at line 13 of file cfgtype_io.cc.

References Chroma::Cfg_t::cfg_file, Chroma::Cfg_t::cfg_type, and Chroma::read().

◆ read() [4/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
ChromaWilsonRitz_t param 
)

◆ read() [5/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
EigenIO_t io_header 
)

◆ read() [6/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
Handle< ExactLatColMatHamiltonian > &  H_handle 
)

Definition at line 5 of file hamiltonian_io.cc.

References Chroma::read(), and Chroma::tmp.

◆ read() [7/27]

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().

◆ read() [8/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
Handle< Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > &  mon_handle 
)

◆ read() [9/27]

void Chroma::read ( XMLReader &  xml,
const std::string &  path,
RitzParams_t header 
)

◆ read() [10/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
CfgType t 
)

◆ read() [11/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
CoeffType t 
)

read an approximation coefficient type enum

Read an approximation coefficient type enum.

Definition at line 29 of file enum_coeffs_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::CoeffTypeEnv::typeIDString.

◆ read() [12/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
EigenVecType t 
)

Read an eigenvectype enum.

Read an eigenstd::vector enum.

Definition at line 28 of file enum_eigenvectype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::EigenVecTypeEnv::typeIDString.

◆ read() [13/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
FermType t 
)

Read an fermion type enum.

Read an Fermion Type enum.

Definition at line 30 of file enum_fermtype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::FermTypeEnv::typeIDString.

◆ read() [14/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
GaugeActType t 
)

Read an GaugeActType enum.

Read a GaugeActType enum.

Definition at line 41 of file enum_gaugeacttype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::GaugeActTypeEnv::typeIDString.

◆ read() [15/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
MDIntegratorType t 
)

Read an MDIntegratorType enum.

Read an MD Integrator Type enum.

Definition at line 28 of file enum_md_integrator_type_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::MDIntegratorTypeEnv::typeIDString.

◆ read() [16/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
MesonOpType t 
)

read an approximation coefficient type enum

Read an approximation coefficient type enum.

Definition at line 30 of file enum_mesonop_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::MesonOpTypeEnv::typeIDString.

◆ read() [17/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
OverlapInnerSolverType t 
)

Read an OverlapInnerSolverType enum.

Read a OverlapInnerSolverType enum.

Definition at line 29 of file enum_inner_solver_type_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::OverlapInnerSolverTypeEnv::typeIDString.

◆ read() [18/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
PropDistType t 
)

◆ read() [19/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
PropLineType t 
)

◆ read() [20/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
PropType t 
)

◆ read() [21/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
QuarkSpinType t 
)

◆ read() [22/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
QudaPrecisionType t 
)

◆ read() [23/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
QudaReconsType t 
)

Read an QudaSolverType enum.

Read an QudaReconsType enum.

Definition at line 98 of file enum_quda_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaReconsTypeEnv::typeIDString.

◆ read() [24/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
QudaSchwarzMethod t 
)

Read an QudaSolverType enum.

Read an QudaSchwarzMethod enum.

Definition at line 126 of file enum_quda_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaSchwarzMethodEnv::typeIDString.

◆ read() [25/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
QudaSolverType t 
)

◆ read() [26/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
SimpleBCType t 
)

Read an simpleBC type enum.

Read an SimpleBCType enum.

Definition at line 30 of file enum_simplebctype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::SimpleBCTypeEnv::typeIDString.

◆ read() [27/27]

void Chroma::read ( XMLReader &  xml_in,
const std::string &  path,
WaveStateType t 
)

Read an WaveType enum.

Read an WaveStateType enum.

Definition at line 35 of file enum_wavetype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::WaveStateTypeEnv::typeIDString.

◆ readCPPACS() [1/2]

void Chroma::readCPPACS ( CPPACSGauge_t header,
multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Read a CPPACCPPACS configuration 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

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )
headerstructure holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 27 of file readcppacs.cc.

References coord(), Chroma::END_CODE(), mu, Nd, Chroma::QDP_error_exit(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::zero.

Referenced by Chroma::gaugeStartup(), Chroma::CPPACSGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readCPPACS().

◆ readCPPACS() [2/2]

void Chroma::readCPPACS ( XMLReader &  xml,
multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Read a CPPACS configuration file.

Read a CPPACS gauge configuration.

Parameters
xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 130 of file readcppacs.cc.

References Chroma::END_CODE(), Chroma::QDP_error_exit(), Chroma::readCPPACS(), Chroma::START_CODE(), and Chroma::u.

◆ readEigen()

void Chroma::readEigen ( ChromaWilsonRitz_t header,
multi1d< Real > &  lambda_lo,
multi1d< LatticeFermion > &  eigv_lo,
Real &  lambda_hi,
const std::string &  filename_stem,
int  Neig,
QDP_serialparallel_t  serpar 
)

◆ readEigenPair()

void Chroma::readEigenPair ( Real &  lambda_lo,
int &  eig_index,
LatticeFermion &  eigv,
const std::string &  filename,
QDP_serialparallel_t  serpar,
XMLReader &  file_xml 
)

Definition at line 217 of file eigen_io.cc.

References Chroma::QDP_error_exit(), and Chroma::read().

Referenced by Chroma::readEigen().

◆ readEigenSzin()

void Chroma::readEigenSzin ( multi1d< Real > &  lambda_lo,
multi1d< LatticeFermion > &  eigv_lo,
Real &  lambda_hi,
const int  Neig,
const std::string &  filename_stem 
)

◆ readGauge()

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.

Parameters
file_xmlxml reader holding config info ( Modify )
record_xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
filepath ( Read )
serpareither QDPIO_SERIAL, QDPIO_PARALLEL ( Read )

Definition at line 19 of file gauge_io.cc.

References mu, Chroma::read(), and Chroma::u.

Referenced by Chroma::gaugeStartup(), main(), and Chroma::SZINQIOGaugeInitEnv::GaugeIniter::operator()().

◆ readKYU()

void Chroma::readKYU ( multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Read a Kentucky gauge configuration.

Parameters
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 20 of file kyugauge_io.cc.

References Chroma::END_CODE(), mu, Nd, Chroma::read(), Chroma::START_CODE(), and Chroma::u.

Referenced by Chroma::gaugeStartup(), main(), and Chroma::KYUGaugeInitEnv::GaugeIniter::operator()().

◆ readKYUQprop()

void Chroma::readKYUQprop ( LatticePropagator &  q,
const std::string &  file 
)

Read a Kentucky quark propagator.

Read a KYU propagator file.

Parameters
qpropagator ( Modify )
filepath ( Read )
qpropagator ( Read )
filepath ( Read )

Definition at line 22 of file kyuqprop_io.cc.

References Chroma::DiracToDRMat(), Chroma::END_CODE(), Chroma::FermToProp(), Chroma::SftMom::getSet(), Chroma::i, j_decay, Nd, Chroma::one, Chroma::pop(), Chroma::push(), q, Chroma::read(), Chroma::START_CODE(), Chroma::write(), and Chroma::zero.

Referenced by main().

◆ readMILC() [1/3]

void Chroma::readMILC ( MILCGauge_t header,
multi1d< LatticeColorMatrixF > &  u,
const std::string &  cfg_file 
)

Read a MILC configuration file.

Read a MILC gauge configuration written in the 1997 format.

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 22 of file readmilc.cc.

References coord(), Chroma::MILCGauge_t::date, Chroma::END_CODE(), j, mu, Nd, Chroma::MILCGauge_t::nrow, Chroma::QDP_error_exit(), Chroma::read(), Chroma::s(), Chroma::START_CODE(), and Chroma::u.

Referenced by Chroma::gaugeStartup(), main(), Chroma::MILCGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readMILC().

◆ readMILC() [2/3]

void Chroma::readMILC ( XMLReader &  xml,
multi1d< LatticeColorMatrixD > &  u,
const std::string &  cfg_file 
)

Read a MILC configuration file.

Read a MILC gauge configuration written in the 1997 format.

Parameters
xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )
headerstructure holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 154 of file readmilc.cc.

References Chroma::END_CODE(), mu, Chroma::readMILC(), Chroma::START_CODE(), and Chroma::u.

◆ readMILC() [3/3]

void Chroma::readMILC ( XMLReader &  xml,
multi1d< LatticeColorMatrixF > &  u,
const std::string &  cfg_file 
)

Read a MILC configuration file.

Read a MILC gauge configuration written in the 1997 format.

Parameters
xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 119 of file readmilc.cc.

References Chroma::END_CODE(), Chroma::QDP_error_exit(), Chroma::readMILC(), Chroma::START_CODE(), Chroma::u, and Chroma::write().

◆ readNamedMonomial()

void Chroma::readNamedMonomial ( XMLReader &  xml,
const std::string &  path,
std::string &  monomial_id 
)

Read a named monomial from an XML reader, usa factory to create and assign the pointer to a handle in the named object std::map of monomial handles.

Read a named monomial from an XML reader, use factory to create and assign the pointer to a handle in the named object std::map of monomial handles.

Definition at line 57 of file monomial_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::pop(), Chroma::push(), and Chroma::read().

Referenced by Chroma::readNamedMonomialArray().

◆ 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 std::map of monomial handles.

Definition at line 106 of file monomial_io.cc.

References Chroma::i, and Chroma::readNamedMonomial().

Referenced by main().

◆ readSzin() [1/2]

void Chroma::readSzin ( SzinGauge_t header,
multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

◆ readSzin() [2/2]

void Chroma::readSzin ( XMLReader &  xml,
multi1d< LatticeColorMatrix > &  u,
const std::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)

Parameters
xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 310 of file readszin.cc.

References Chroma::END_CODE(), Chroma::readSzin(), Chroma::START_CODE(), Chroma::u, and Chroma::write().

◆ readSzinFerm() [1/2]

void Chroma::readSzinFerm ( LatticeFermion &  q,
const std::string &  file 
)

Read a SZIN fermion. This is a simple memory dump reader.

Read an old SZIN-style (checkerboarded) lattice Dirac fermion.

Parameters
qlattice fermion ( Modify )
filepath ( Read )
qfermion ( Modify )
cfg_filepath ( Read )

Definition at line 21 of file readszinferm_w.cc.

References Chroma::cb, coord(), index, m, Nd, q, Chroma::read(), and sum.

Referenced by main(), Chroma::readEigenSzin(), and readEigenVecs().

◆ readSzinFerm() [2/2]

void readSzinFerm ( multi1d< LatticeFermion > &  q,
const std::string &  file 
)

Read a SZIN fermion. This is a simple memory dump reader.

Parameters
qlattice fermion ( Modify )
filepath ( Read )

Definition at line 20 of file t_dwflinop.cc.

References Chroma::cb, coord(), m, Nd, q, Chroma::read(), Chroma::s(), and sum.

◆ readSzinQprop() [1/2]

void Chroma::readSzinQprop ( LatticePropagator &  q,
const std::string &  file,
const Real &  kappa 
)

Read a SZIN propagator file. This is a simple memory dump readr.

Parameters
qpropagator ( Read )
filepath ( Read )
kappakappa value (Read)

◆ readSzinQprop() [2/2]

void Chroma::readSzinQprop ( XMLReader &  xml,
LatticePropagator &  q,
const std::string &  file 
)

Read a SZIN propagator file. This is a simple memory dump reader.

Read a SZIN propagator file. This is a simple memory dump readr.

Parameters
xmlxml reader holding prop info ( Modify )
qpropagator ( Modify )
filepath ( Read )
xmlxml readr holding prop info ( Read )
qpropagator ( Read )
filepath ( Read )

Definition at line 26 of file readszinqprop_w.cc.

References Chroma::cb, coord(), m, Nd, Chroma::pop(), Chroma::push(), q, Chroma::QDP_error_exit(), Chroma::read(), sum, Chroma::transpose(), and Chroma::write().

Referenced by main().

◆ readWupp() [1/2]

void Chroma::readWupp ( multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Read a WUPP configuration file.

Code written by Sara collins Need to first run a conversion code supplied by Kalman Szabo

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 27 of file readwupp.cc.

References coord(), Chroma::END_CODE(), mu, Nd, Chroma::QDP_error_exit(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::zero.

Referenced by Chroma::gaugeStartup(), Chroma::WUPPGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readWupp().

◆ readWupp() [2/2]

void Chroma::readWupp ( XMLReader &  xml,
multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Read a Wupp configuration file.

Read an expanded BMW configuration file.

Parameters
xmlxml reader holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Read )

Definition at line 135 of file readwupp.cc.

References Chroma::END_CODE(), Chroma::readWupp(), Chroma::START_CODE(), Chroma::u, and Chroma::write().

◆ readXMLArrayGroup()

multi1d< GroupXML_t > Chroma::readXMLArrayGroup ( XMLReader &  xml_in,
const std::string &  path,
const std::string &  type_name 
)

◆ readXMLGroup()

GroupXML_t Chroma::readXMLGroup ( XMLReader &  xml_in,
const std::string &  path,
const std::string &  type_name 
)

Read group and return as a std::string.

Definition at line 11 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::InlineMultiPropagator::func(), Chroma::InlineStaggeredSpectrum::func(), Chroma::InlineEigBndsMdagMParams::InlineEigBndsMdagMParams(), Chroma::InlineQpropMatMulParams::InlineQpropMatMulParams(), main(), Chroma::GroupBaryonOperatorEnv::Params::Params(), Chroma::SimpleBaryonOperatorEnv::Params::Params(), Chroma::NormShellQuarkSinkSmearingEnv::Params::Params(), Chroma::PointQuarkSinkSmearingEnv::Params::Params(), Chroma::ShellQuarkSinkSmearingEnv::Params::Params(), Chroma::DiluteGridQuarkSourceConstEnv::Params::Params(), Chroma::DiluteZNQuarkSourceConstEnv::Params::Params(), Chroma::NormShellQuarkSourceConstEnv::Params::Params(), Chroma::PointQuarkSourceConstEnv::Params::Params(), Chroma::PointQuarkSourceSmearingEnv::Params::Params(), Chroma::RandZNWallQuarkSourceConstEnv::Params::Params(), Chroma::SFPointQuarkSourceConstEnv::Params::Params(), Chroma::SFShellQuarkSourceConstEnv::Params::Params(), Chroma::SFWallQuarkSourceConstEnv::Params::Params(), Chroma::SFWaveQuarkSourceConstEnv::Params::Params(), Chroma::ShellQuarkSourceConstEnv::Params::Params(), Chroma::ShellQuarkSourceSmearingEnv::Params::Params(), Chroma::ShellZnGridQuarkSourceConstEnv::Params::Params(), Chroma::SFGaugeInitEnv::Params::Params(), Chroma::InlineQIOReadNamedObjEnv::Params::Params(), Chroma::InlineLinkSmearEnv::Params::Params(), read(), Chroma::InlineBaryonMatElemColorVecEnv::read(), Chroma::InlineMesonMatElemColorVecEnv::read(), Chroma::InlinePropColorVecEnv::read(), Chroma::InlineStaggeredFermStateEnv::read(), Chroma::InlineStochGroupBaryonEnv::read(), Chroma::InlineStochGroupMesonEnv::read(), Chroma::InlineCreateColorVecsEnv::read(), Chroma::InlineLaplaceEigsEnv::read(), Chroma::InlinePropAndMatElemColorVecEnv::read(), Chroma::InlineStaticPropColorVecEnv::read(), Chroma::InlineCopyMapObjEnv::read(), Chroma::InlineEigenLimeColVecReadNamedObjEnv::read(), Chroma::InlineUnsmearedHadronNodeDistillationEnv::read(), Chroma::InlineGlueDiagMatElemColorVecEnv::read(), Chroma::InlineGlueMatElemColorVecEnv::read(), Chroma::InlineGlueballOpsEnv::read(), Chroma::InlinePolyakovLoopEnv::read(), Chroma::InlineQActDenEnv::read(), Chroma::InlineQTopEnv::read(), Chroma::InlineDiscoEigCGEnv::read(), Chroma::InlineDiscoEoEigCGEnv::read(), Chroma::InlineDiscoEOPrecEnv::read(), Chroma::InlineGenPropMatElemColorVecEnv::read(), Chroma::InlineGenPropMatElemPtColorVecEnv::read(), Chroma::InlineStochHadronEnv::read(), Chroma::InlinePropDistillutionEnv::read(), Chroma::read(), Chroma::SymEvenOddPrecLogDetDiagMonomialParams::SymEvenOddPrecLogDetDiagMonomialParams(), Chroma::SysSolverFGMRESDRParams::SysSolverFGMRESDRParams(), Chroma::SysSolverQUDACloverParams::SysSolverQUDACloverParams(), Chroma::SysSolverQUDAMULTIGRIDCloverParams::SysSolverQUDAMULTIGRIDCloverParams(), Chroma::SysSolverQUDANEFParams::SysSolverQUDANEFParams(), Chroma::SysSolverRichardsonCloverParams::SysSolverRichardsonCloverParams(), TEST_P(), Chroma::TwoFlavorMultihasenCancelMonomialParams::TwoFlavorMultihasenCancelMonomialParams(), Chroma::TwoFlavorRatioConvConvMultihasenWilsonTypeFermMonomialParams::TwoFlavorRatioConvConvMultihasenWilsonTypeFermMonomialParams(), Chroma::TwoFlavorRatioConvConvWilsonTypeFermMonomialParams::TwoFlavorRatioConvConvWilsonTypeFermMonomialParams(), Chroma::TwoFlavorRatioConvRatWilsonTypeFermMonomialParams::TwoFlavorRatioConvRatWilsonTypeFermMonomialParams(), and Chroma::TwoFlavorWilsonTypeFermMonomialParams::TwoFlavorWilsonTypeFermMonomialParams().

◆ write() [1/24]

void Chroma::write ( BinaryWriter &  bin_out,
const PropDistType t 
)

◆ write() [2/24]

void Chroma::write ( BinaryWriter &  bin_out,
const PropLineType t 
)

◆ write() [3/24]

void Chroma::write ( XMLWriter &  xml,
const std::string &  path,
const Cfg_t cfg 
)

Configuration input.

Definition at line 22 of file cfgtype_io.cc.

References Chroma::Cfg_t::cfg_file, Chroma::Cfg_t::cfg_type, Chroma::pop(), Chroma::push(), and Chroma::write().

◆ write() [4/24]

void Chroma::write ( XMLWriter &  xml,
const std::string &  path,
const ChromaWilsonRitz_t param 
)

◆ write() [5/24]

void Chroma::write ( XMLWriter &  xml,
const std::string &  path,
const EigenIO_t io_header 
)

◆ write() [6/24]

void Chroma::write ( XMLWriter &  xml,
const std::string &  path,
const RitzParams_t header 
)

◆ write() [7/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const CfgType t 
)

◆ write() [8/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const CoeffType t 
)

write an approximation coefficient type enum

Write an approximation coefficient type enum.

Definition at line 34 of file enum_coeffs_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::CoeffTypeEnv::typeIDString.

◆ write() [9/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const EigenVecType t 
)

Write an eigenvectype enum.

Write an eigenstd::vector enum.

Definition at line 33 of file enum_eigenvectype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::EigenVecTypeEnv::typeIDString.

◆ write() [10/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const FermType t 
)

Write an fermion type enum.

Write an Fermion Type enum.

Definition at line 35 of file enum_fermtype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::FermTypeEnv::typeIDString.

◆ write() [11/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const GaugeActType t 
)

◆ write() [12/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const MDIntegratorType t 
)

Write an MDIntegratorType enum.

Write an MD Integrator Type enum.

Definition at line 33 of file enum_md_integrator_type_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::MDIntegratorTypeEnv::typeIDString.

◆ write() [13/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const MesonOpType t 
)

write an approximation coefficient type enum

Write an approximation coefficient type enum.

Definition at line 35 of file enum_mesonop_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::MesonOpTypeEnv::typeIDString.

◆ write() [14/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const OverlapInnerSolverType t 
)

◆ write() [15/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const PropDistType t 
)

◆ write() [16/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const PropLineType t 
)

◆ write() [17/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const PropType t 
)

◆ write() [18/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const QuarkSpinType t 
)

◆ write() [19/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const QudaPrecisionType t 
)

◆ write() [20/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const QudaReconsType t 
)

Write an QudaSolverType enum.

Write an QudaReconsType enum.

Definition at line 104 of file enum_quda_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaReconsTypeEnv::typeIDString.

◆ write() [21/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const QudaSchwarzMethod t 
)

Write an QudaSolverType enum.

Write an QudaSchwarzMethod enum.

Definition at line 132 of file enum_quda_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaSchwarzMethodEnv::typeIDString.

◆ write() [22/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const QudaSolverType t 
)

◆ write() [23/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const SimpleBCType t 
)

Write an simpleBC type enum.

Write an SimpleBCType enum.

Definition at line 35 of file enum_simplebctype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::SimpleBCTypeEnv::typeIDString.

◆ write() [24/24]

void Chroma::write ( XMLWriter &  xml_out,
const std::string &  path,
const WaveStateType t 
)

Write an WaveType enum.

Write an WaveStateType enum.

Definition at line 40 of file enum_wavetype_io.cc.

References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::WaveStateTypeEnv::typeIDString.

◆ writeEigen()

void Chroma::writeEigen ( const ChromaWilsonRitz_t header,
multi1d< Real > &  lambda_lo,
multi1d< LatticeFermion > &  eigv_lo,
Real &  lambda_hi,
QDP_serialparallel_t  serpar 
)

◆ writeGauge()

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.

Parameters
file_xmlxml reader holding config info ( Modify )
record_xmlxml reader holding config info ( Modify )
ugauge configuration ( Read )
cfg_filepath ( Read )
volfmteither QDPIO_SINGLEFILE, QDPIO_MULTIFILE ( Read )
serpareither QDPIO_SERIAL, QDPIO_PARALLEL ( Read )

Definition at line 60 of file gauge_io.cc.

References mu, Chroma::u, and Chroma::write().

Referenced by main(), and Chroma::saveState().

◆ writeKYU()

void Chroma::writeKYU ( const multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Write a Kentucky gauge configuration.

Parameters
ugauge configuration ( Read )
cfg_filepath ( Read )

Definition at line 71 of file kyugauge_io.cc.

References Chroma::END_CODE(), Chroma::lc(), mu, Nd, Chroma::START_CODE(), Chroma::u, and Chroma::write().

Referenced by main().

◆ writeMILC() [1/3]

void Chroma::writeMILC ( const MILCGauge_t header,
const multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Write a MILC configuration file.

Write a MILC gauge configuration in the 1997 format.

Parameters
headerstructure holding config info ( Read )
ugauge configuration ( Read )
cfg_filepath ( Read )
headerstructure holding config info ( Modify )
ugauge configuration ( Read )
cfg_filepath ( Read )

Definition at line 25 of file writemilc.cc.

References coord(), Chroma::MILCGauge_t::date, Chroma::END_CODE(), j, Nd, Chroma::MILCGauge_t::nrow, Chroma::START_CODE(), Chroma::u, and Chroma::write().

Referenced by main(), and Chroma::writeMILC().

◆ writeMILC() [2/3]

void Chroma::writeMILC ( XMLBufferWriter &  xml,
const multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Write a MILC gauge configuration in the 1997 format.

Parameters
xmlxml writer holding config info ( Read )
ugauge configuration ( Read )
cfg_filepath ( Read )

◆ writeMILC() [3/3]

void Chroma::writeMILC ( XMLBufferWriter &  xml,
multi1d< LatticeColorMatrix > &  u,
const std::string &  cfg_file 
)

Write a MILC configuration file.

Parameters
xmlxml writer holding config info ( Modify )
ugauge configuration ( Modify )
cfg_filepath ( Write )

Definition at line 86 of file writemilc.cc.

References Chroma::END_CODE(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::writeMILC().

◆ writeSzin() [1/2]

void Chroma::writeSzin ( const SzinGauge_t header,
const multi1d< LatticeColorMatrix > &  u,
const std::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)

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Read )
cfg_filepath ( Read )

Definition at line 112 of file writeszin.cc.

References Chroma::cb, coord(), Chroma::END_CODE(), j, m, Nd, Chroma::START_CODE(), sum, Chroma::transpose(), Chroma::u, Chroma::write(), and Chroma::writeSzinHeader().

Referenced by main(), and Chroma::writeSzin().

◆ writeSzin() [2/2]

void Chroma::writeSzin ( XMLBufferWriter &  xml,
multi1d< LatticeColorMatrix > &  u,
const std::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)

Parameters
xmlxml writer holding config info ( Read )
ugauge configuration ( Read )
cfg_filepath ( Read )

Definition at line 172 of file writeszin.cc.

References Chroma::END_CODE(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::writeSzin().

◆ writeSzinHeader()

static void Chroma::writeSzinHeader ( BinaryWriter &  cfg_out,
const SzinGauge_t header 
)
static

◆ writeSzinQprop() [1/2]

void Chroma::writeSzinQprop ( const LatticePropagator &  q,
const std::string &  file,
const Real &  kappa 
)

Write a SZIN propagator file. This is a simple memory dump writer.

Parameters
qpropagator ( Read )
filepath ( Read )
kappakappa value (Read)

Definition at line 22 of file writeszinqprop_w.cc.

References Chroma::cb, coord(), kappa, m, Nd, q, sum, Chroma::transpose(), and Chroma::write().

◆ writeSzinQprop() [2/2]

void Chroma::writeSzinQprop ( const LatticePropagator &  q,
const std::string &  file,
const Real  kappa 
)

Write a SZIN propagator file. This is a simple memory dump writer.

Parameters
qpropagator ( Read )
filepath ( Read )
kappakappa value (Read)

Definition at line 103 of file readszinqprop_w.cc.

References Chroma::cb, coord(), kappa, m, Nd, q, sum, Chroma::transpose(), and Chroma::write().

Referenced by main().

◆ writeSzinReplica()

void Chroma::writeSzinReplica ( SzinGauge_t header,
const multi1d< LatticeColorMatrix > &  u,
int  j_decay,
int  n_replica,
const std::string &  cfg_file 
)

Write a replicated (in time direction) SZIN configuration file.

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Read )
j_decaydirection for replication ( Read )
n_replicanumber of replicas in j_decay direction ( Read )
cfg_filepath ( Read )

Definition at line 300 of file writeszin.cc.

References Chroma::cb, coord(), Chroma::END_CODE(), j, j_decay, m, Nd, Chroma::SzinGauge_t::nrow, Chroma::QDP_error_exit(), Chroma::START_CODE(), sum, Chroma::transpose(), Chroma::u, Chroma::write(), and Chroma::writeSzinHeader().

Referenced by main().

◆ writeSzinTrunc()

void Chroma::writeSzinTrunc ( const SzinGauge_t header0,
const multi1d< LatticeColorMatrix > &  u,
int  j_decay,
int  t_start,
int  t_end,
const std::string &  cfg_file 
)

Write a truncated SZIN configuration file.

Parameters
headerstructure holding config info ( Modify )
ugauge configuration ( Read )
j_decaydirection which will be truncated ( Read )
t_startstarting slice in j_decay direction ( Read )
t_endending slice in j_decay direction ( Read )
cfg_filepath ( Read )

Definition at line 198 of file writeszin.cc.

References Chroma::cb, coord(), Chroma::END_CODE(), j, j_decay, m, Nd, Chroma::SzinGauge_t::nrow, Chroma::QDP_error_exit(), Chroma::START_CODE(), sum, Chroma::transpose(), Chroma::u, Chroma::write(), and Chroma::writeSzinHeader().