9 #ifndef __dilution_quark_source_const_h__
10 #define __dilution_quark_source_const_h__
21 namespace DilutionQuarkSourceConstEnv
111 std::istringstream xml_k(
quark.
time_slices[0].dilutions[0].prop_header.fermact.xml);
113 XMLReader proptop(xml_k);
114 if ( toBool(proptop.count(
"/FermionAction/Kappa") != 0) )
116 read(proptop,
"/FermionAction/Kappa",
kappa);
121 read(proptop,
"/FermionAction/Mass",
mass);
Abstract inline measurements.
Primary include file for CHROMA library code.
Dilution scheme constructed by propagator solutions over diluted MAKE_SOURCE calls.
QuarkSourceSolutions_t quark
int getDecayDir() const
The decay direction.
ConstDilutionScheme(const Params &p)
Default constructor.
std::string getPropHeader(int t0, int dil) const
returns the prop header for a given dilution
ConstDilutionScheme()
Hide partial constructor.
std::string getSourceHeader(int t0, int dil) const
returns the source header for a given dilution
int getDilSize(int t0) const
The number of dilutions per timeslice fo timeslice t0.
int getNumTimeSlices() const
The number of dilution timeslices included
Real getKappa() const
The kappa parameter in the wilson action.
void init()
Initialize the object.
int getT0(int t0) const
The actual t0 corresponding to this time dilution element.
~ConstDilutionScheme()
Virtual destructor to help with cleanup;.
LatticeFermion dilutedSolution(int t0, int dil) const
Return the solution std::vector corresponding to the diluted source.
std::string getCfgInfo() const
The info from the cfg on which the inversions were performed.
const Seed & getSeed() const
The seed identifies this quark.
LatticeFermion dilutedSource(int t0, int dil) const
Return the diluted source std::vector.
Abstract dilution scheme.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Real massToKappa(const Real &Mass)
Convert a Kappa to a mass.
void read(XMLReader &xml, const std::string &path, DilutionQuarkSourceConstEnv::Params::QuarkFiles_t::TimeSliceFiles_t &input)
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Various parameter structs and reader/writers.
Routines associated with Chroma propagator IO.
multi1d< std::string > dilution_files
multi1d< TimeSliceFiles_t > timeslice_files
void writeXML(XMLWriter &xml_out, const std::string &path) const
bool UseSourceHeaderSmearing
PropSourceConst_t source_header
multi1d< Dilutions_t > dilutions
Structure holding a source and its solutions.
multi1d< TimeSlices_t > time_slices
Propagator source construction parameters.