CHROMA
|
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, SingleThreaded > | Chroma::TheXMLOutputWriter |
XML output holder. More... | |
typedef SingletonHolder< XMLFileWriter, CreateUsingNew, DefaultLifetime2, SingleThreaded > | Chroma::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_t > | Chroma::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 ¶m) |
void | Chroma::write (XMLWriter &xml, const std::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 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... | |
Readers and writers of gauge fields and propagators
typedef SingletonHolder<EnumTypeMap<CfgType> > Chroma::theCfgTypeMap |
Definition at line 49 of file enum_cfgtype_io.h.
typedef SingletonHolder<std::map<QudaPrecisionType,QudaPrecision> > Chroma::theChromaToQudaPrecisionTypeMap |
Definition at line 66 of file enum_quda_io.h.
typedef SingletonHolder<std::map<QudaReconsType,QudaReconstructType> > Chroma::theChromaToQudaReconsTypeMap |
Definition at line 91 of file enum_quda_io.h.
typedef SingletonHolder<std::map<QudaSchwarzMethod,QudaSchwarzType> > Chroma::theChromaToQudaSchwarzTypeMap |
Definition at line 115 of file enum_quda_io.h.
typedef SingletonHolder<std::map<QudaSolverType,QudaInverterType> > Chroma::theChromaToQudaSolverTypeMap |
Definition at line 38 of file enum_quda_io.h.
Definition at line 38 of file enum_coeffs_io.h.
Definition at line 38 of file enum_eigenvectype_io.h.
typedef SingletonHolder<EnumTypeMap<FermType> > Chroma::theFermTypeMap |
Definition at line 40 of file enum_fermtype_io.h.
Definition at line 52 of file enum_gaugeacttype_io.h.
Definition at line 38 of file enum_md_integrator_type_io.h.
Definition at line 41 of file enum_mesonop_io.h.
Definition at line 37 of file enum_inner_solver_type_io.h.
Definition at line 37 of file enum_prop_dist_io.h.
Definition at line 37 of file enum_prop_line_io.h.
typedef SingletonHolder<EnumTypeMap<PropType> > Chroma::thePropTypeMap |
Definition at line 39 of file enum_proptype_io.h.
A singleton to hold the typemap.
Definition at line 49 of file enum_quarkspintype_io.h.
Definition at line 65 of file enum_quda_io.h.
Definition at line 90 of file enum_quda_io.h.
Definition at line 114 of file enum_quda_io.h.
Definition at line 37 of file enum_quda_io.h.
Definition at line 39 of file enum_simplebctype_io.h.
Definition at line 40 of file enum_wavetype_io.h.
typedef SingletonHolder<XMLFileWriter, CreateUsingNew, DefaultLifetime2, SingleThreaded> Chroma::TheXMLLogWriter |
XML log holder.
Definition at line 31 of file xmllog_io.h.
typedef SingletonHolder<XMLFileWriter, CreateUsingNew, DefaultLifetime1, SingleThreaded> Chroma::TheXMLOutputWriter |
XML output holder.
Definition at line 25 of file xmllog_io.h.
enum Chroma::CfgType |
Configuration type.
Types and structures
Definition at line 25 of file enum_cfgtype_io.h.
enum Chroma::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.
enum Chroma::EigenVecType |
Eigenstd::vector type.
Types and structures
Enumerator | |
---|---|
EVEC_TYPE_SCIDAC | |
EVEC_TYPE_SZIN |
Definition at line 25 of file enum_eigenvectype_io.h.
enum Chroma::FermType |
Fermion type.
Types and structures
Enumerator | |
---|---|
FERM_TYPE_WILSON | |
FERM_TYPE_STAGGERED |
Definition at line 27 of file enum_fermtype_io.h.
enum Chroma::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.
MDIntegrator type.
Types and structures
Enumerator | |
---|---|
MD_PQP_LEAPFROG | |
MD_QPQ_LEAPFROG |
Definition at line 25 of file enum_md_integrator_type_io.h.
enum Chroma::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.
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.
enum Chroma::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.
enum Chroma::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.
enum Chroma::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.
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.
Quda Precision type.
Enumerator | |
---|---|
DEFAULT | |
QUARTER | |
HALF | |
SINGLE | |
DOUBLE |
Definition at line 50 of file enum_quda_io.h.
Quda Gauge Reconstruct type.
Enumerator | |
---|---|
RECONS_NONE | |
RECONS_8 | |
RECONS_12 |
Definition at line 77 of file enum_quda_io.h.
Enumerator | |
---|---|
INVALID_SCHWARZ | |
ADDITIVE_SCHWARZ | |
MULTIPLICATIVE_SCHWARZ |
Definition at line 101 of file enum_quda_io.h.
Quda Solver type.
Types and structures
Enumerator | |
---|---|
CG | |
BICGSTAB | |
GCR | |
CA_GCR | |
MR |
Definition at line 21 of file enum_quda_io.h.
enum Chroma::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.
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.
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.
Real Chroma::kappaToMass | ( | const Real & | Kappa | ) |
Convert a Kappa to a mass.
Types and structures
Definition at line 12 of file param_io.cc.
References Nd.
Referenced by Chroma::CloverFermActParams::CloverFermActParams(), Chroma::EvenOddPrecParWilsonFermActParams::EvenOddPrecParWilsonFermActParams(), Chroma::getMass(), read(), Chroma::UnprecDWFTransfFermActParams::UnprecDWFTransfFermActParams(), Chroma::UnprecHamberWuFermActParams::UnprecHamberWuFermActParams(), Chroma::UnprecParWilsonFermActParams::UnprecParWilsonFermActParams(), and Chroma::WilsonFermActParams::WilsonFermActParams().
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.
Real Chroma::massToKappa | ( | const Real & | Mass | ) |
Convert a Kappa to a mass.
Definition at line 31 of file param_io.cc.
References Chroma::Mass, and Nd.
Referenced by Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::getKappa(), and Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::init().
void Chroma::read | ( | BinaryReader & | bin_in, |
PropDistType & | t | ||
) |
Reader.
Definition at line 38 of file enum_prop_dist_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropDistTypeEnv::typeIDString.
void Chroma::read | ( | BinaryReader & | bin_in, |
PropLineType & | t | ||
) |
Reader.
Definition at line 38 of file enum_prop_line_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropLineTypeEnv::typeIDString.
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().
void Chroma::read | ( | XMLReader & | xml, |
const std::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::pop(), Chroma::push(), Chroma::QDP_error_exit(), 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 std::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, Chroma::QDP_error_exit(), and Chroma::read().
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.
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, | ||
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::QDP_error_exit(), Chroma::read(), Chroma::RitzParams_t::RsdA, Chroma::RitzParams_t::RsdR, and Chroma::RitzParams_t::RsdZero.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
CfgType & | t | ||
) |
read a configuration type enum
Definition at line 41 of file enum_cfgtype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::CfgTypeEnv::typeIDString.
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.
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.
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.
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.
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.
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.
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.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
PropDistType & | t | ||
) |
Reader.
Definition at line 28 of file enum_prop_dist_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropDistTypeEnv::typeIDString.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
PropLineType & | t | ||
) |
Reader.
Definition at line 28 of file enum_prop_line_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropLineTypeEnv::typeIDString.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
PropType & | t | ||
) |
Read a propagator type enum.
Definition at line 28 of file enum_proptype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropTypeEnv::typeIDString.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
QuarkSpinType & | t | ||
) |
Read a quark spin type enum.
Definition at line 26 of file enum_quarkspintype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QuarkSpinTypeEnv::typeIDString.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
QudaPrecisionType & | t | ||
) |
Read an QudaSolverType enum.
Definition at line 67 of file enum_quda_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaPrecisionTypeEnv::typeIDString.
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.
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.
void Chroma::read | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
QudaSolverType & | t | ||
) |
Read an QudaSolverType enum.
Definition at line 33 of file enum_quda_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaSolverTypeEnv::typeIDString.
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.
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.
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
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( 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().
void Chroma::readCPPACS | ( | XMLReader & | xml, |
multi1d< LatticeColorMatrix > & | u, | ||
const std::string & | cfg_file | ||
) |
Read a CPPACS configuration file.
Read a CPPACS gauge configuration.
xml | xml reader holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( 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.
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 | ||
) |
Definition at line 276 of file eigen_io.cc.
References Chroma::RitzParams_t::Neig, Chroma::QDP_error_exit(), 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 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().
void Chroma::readEigenSzin | ( | multi1d< Real > & | lambda_lo, |
multi1d< LatticeFermion > & | eigv_lo, | ||
Real & | lambda_hi, | ||
const int | Neig, | ||
const std::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 ) |
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()().
void Chroma::readKYU | ( | multi1d< LatticeColorMatrix > & | u, |
const std::string & | cfg_file | ||
) |
Read a Kentucky gauge configuration.
u | gauge configuration ( Modify ) |
cfg_file | path ( 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()().
void Chroma::readKYUQprop | ( | LatticePropagator & | q, |
const std::string & | file | ||
) |
Read a Kentucky quark propagator.
Read a KYU propagator file.
q | propagator ( Modify ) |
file | path ( Read ) |
q | propagator ( Read ) |
file | path ( 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().
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.
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( 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().
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.
xml | xml reader holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
Definition at line 154 of file readmilc.cc.
References Chroma::END_CODE(), mu, Chroma::readMILC(), Chroma::START_CODE(), and Chroma::u.
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.
xml | xml reader holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( 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().
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().
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().
void Chroma::readSzin | ( | SzinGauge_t & | header, |
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)
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
Definition at line 31 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::cb, Chroma::SzinGauge_t::cfg_version, coord(), Chroma::SzinGauge_t::date, Chroma::SzinGauge_t::dt, Chroma::END_CODE(), Chroma::SzinGauge_t::FermTypeP, Chroma::i, j, Chroma::SzinGauge_t::KappaMC, Chroma::SzinGauge_t::KappaMD, Chroma::SzinGauge_t::LamMi, Chroma::SzinGauge_t::LamPl, m, Chroma::SzinGauge_t::MassMC, Chroma::SzinGauge_t::MassMD, Chroma::SzinGauge_t::MesTrj, Chroma::SzinGauge_t::Nc, Chroma::SzinGauge_t::Nd, 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::seed, Chroma::SzinGauge_t::spec_acc, Chroma::START_CODE(), sum, SZIN_WILSON_FERMIONS, Chroma::SzinGauge_t::TotalCG, Chroma::SzinGauge_t::TotalFail, Chroma::SzinGauge_t::TotalTrj, Chroma::SzinGauge_t::TotalTry, Chroma::transpose(), and Chroma::u.
Referenced by Chroma::gaugeStartup(), main(), Chroma::SZINGaugeInitEnv::GaugeIniter::operator()(), and Chroma::readSzin().
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)
xml | xml reader holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
Definition at line 310 of file readszin.cc.
References Chroma::END_CODE(), Chroma::readSzin(), Chroma::START_CODE(), Chroma::u, and Chroma::write().
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.
q | lattice fermion ( Modify ) |
file | path ( Read ) |
q | fermion ( Modify ) |
cfg_file | path ( 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().
void readSzinFerm | ( | multi1d< LatticeFermion > & | q, |
const std::string & | file | ||
) |
Read a SZIN fermion. This is a simple memory dump reader.
q | lattice fermion ( Modify ) |
file | path ( Read ) |
Definition at line 20 of file t_dwflinop.cc.
References Chroma::cb, coord(), m, Nd, q, Chroma::read(), Chroma::s(), and sum.
void Chroma::readSzinQprop | ( | LatticePropagator & | q, |
const std::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 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.
xml | xml reader holding prop info ( Modify ) |
q | propagator ( Modify ) |
file | path ( Read ) |
xml | xml readr holding prop info ( Read ) |
q | propagator ( Read ) |
file | path ( 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().
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
header | structure holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( 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().
void Chroma::readWupp | ( | XMLReader & | xml, |
multi1d< LatticeColorMatrix > & | u, | ||
const std::string & | cfg_file | ||
) |
Read a Wupp configuration file.
Read an expanded BMW configuration file.
xml | xml reader holding config info ( Modify ) |
u | gauge configuration ( Modify ) |
cfg_file | path ( Read ) |
Definition at line 135 of file readwupp.cc.
References Chroma::END_CODE(), Chroma::readWupp(), Chroma::START_CODE(), Chroma::u, and Chroma::write().
multi1d< GroupXML_t > Chroma::readXMLArrayGroup | ( | XMLReader & | xml_in, |
const std::string & | path, | ||
const std::string & | type_name | ||
) |
Read group and return as a std::string.
Definition at line 40 of file xml_group_reader.cc.
References Chroma::i, and Chroma::read().
Referenced by Chroma::InlineStochGroupBaryonEnv::read(), Chroma::InlineStochGroupMesonEnv::read(), Chroma::InlineHadronContractEnv::read(), Chroma::InlineDiscoEigCGEnv::read(), Chroma::InlineDiscoEoEigCGEnv::read(), Chroma::InlineDiscoEOPrecEnv::read(), Chroma::InlineDiscoEnv::read(), Chroma::InlineProp3ptEnv::read(), and Chroma::InlineStochHadronEnv::read().
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().
void Chroma::write | ( | BinaryWriter & | bin_out, |
const PropDistType & | t | ||
) |
Writer.
Definition at line 43 of file enum_prop_dist_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropDistTypeEnv::typeIDString.
void Chroma::write | ( | BinaryWriter & | bin_out, |
const PropLineType & | t | ||
) |
Writer.
Definition at line 43 of file enum_prop_line_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropLineTypeEnv::typeIDString.
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().
void Chroma::write | ( | XMLWriter & | xml, |
const std::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::pop(), Chroma::push(), 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 std::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, Chroma::pop(), Chroma::push(), and Chroma::write().
void Chroma::write | ( | XMLWriter & | xml, |
const std::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::pop(), Chroma::RitzParams_t::ProjApsiP, Chroma::push(), Chroma::RitzParams_t::RsdA, Chroma::RitzParams_t::RsdR, Chroma::RitzParams_t::RsdZero, and Chroma::write().
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const CfgType & | t | ||
) |
write a configuration type enum
Definition at line 45 of file enum_cfgtype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::CfgTypeEnv::typeIDString.
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.
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.
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.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const GaugeActType & | t | ||
) |
Write an GaugeActType enum.
Definition at line 46 of file enum_gaugeacttype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::GaugeActTypeEnv::typeIDString.
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.
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.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const OverlapInnerSolverType & | t | ||
) |
Write an OverlapInnerSolverType enum.
Definition at line 34 of file enum_inner_solver_type_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::OverlapInnerSolverTypeEnv::typeIDString.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const PropDistType & | t | ||
) |
Writer.
Definition at line 33 of file enum_prop_dist_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropDistTypeEnv::typeIDString.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const PropLineType & | t | ||
) |
Writer.
Definition at line 33 of file enum_prop_line_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropLineTypeEnv::typeIDString.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const PropType & | t | ||
) |
Write a propagator type enum.
Definition at line 33 of file enum_proptype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::PropTypeEnv::typeIDString.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const QuarkSpinType & | t | ||
) |
Write a quark spin type enum.
Definition at line 32 of file enum_quarkspintype_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QuarkSpinTypeEnv::typeIDString.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const QudaPrecisionType & | t | ||
) |
Write an QudaSolverType enum.
Definition at line 73 of file enum_quda_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaPrecisionTypeEnv::typeIDString.
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.
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.
void Chroma::write | ( | XMLWriter & | xml_out, |
const std::string & | path, | ||
const QudaSolverType & | t | ||
) |
Write an QudaSolverType enum.
Definition at line 39 of file enum_quda_io.cc.
References Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), t, and Chroma::QudaSolverTypeEnv::typeIDString.
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.
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.
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::pop(), Chroma::push(), 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 ) |
Definition at line 60 of file gauge_io.cc.
References mu, Chroma::u, and Chroma::write().
Referenced by main(), and Chroma::saveState().
void Chroma::writeKYU | ( | const multi1d< LatticeColorMatrix > & | u, |
const std::string & | cfg_file | ||
) |
Write a Kentucky gauge configuration.
u | gauge configuration ( Read ) |
cfg_file | path ( 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().
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.
header | structure holding config info ( Read ) |
u | gauge configuration ( Read ) |
cfg_file | path ( Read ) |
header | structure holding config info ( Modify ) |
u | gauge configuration ( Read ) |
cfg_file | path ( 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().
void Chroma::writeMILC | ( | XMLBufferWriter & | xml, |
const multi1d< LatticeColorMatrix > & | u, | ||
const std::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 std::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 86 of file writemilc.cc.
References Chroma::END_CODE(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::writeMILC().
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)
header | structure holding config info ( Modify ) |
u | gauge configuration ( Read ) |
cfg_file | path ( 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().
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)
xml | xml writer holding config info ( Read ) |
u | gauge configuration ( Read ) |
cfg_file | path ( Read ) |
Definition at line 172 of file writeszin.cc.
References Chroma::END_CODE(), Chroma::read(), Chroma::START_CODE(), Chroma::u, and Chroma::writeSzin().
|
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 26 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, Chroma::END_CODE(), Chroma::SzinGauge_t::FermTypeP, Chroma::i, j, 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, Nd, Chroma::SzinGauge_t::Nf, Chroma::SzinGauge_t::NOver, Chroma::SzinGauge_t::Npf, Chroma::SzinGauge_t::nrow, Chroma::QDP_error_exit(), Chroma::SzinGauge_t::RefFnoiseTrj, Chroma::SzinGauge_t::RefMomTrj, Chroma::SzinGauge_t::seed, Chroma::SzinGauge_t::spec_acc, Chroma::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 std::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 22 of file writeszinqprop_w.cc.
References Chroma::cb, coord(), kappa, m, Nd, q, sum, Chroma::transpose(), and Chroma::write().
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.
q | propagator ( Read ) |
file | path ( Read ) |
kappa | kappa 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().
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.
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 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().
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.
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 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().