19 namespace InlineQQQDiquarkEnv
51 XMLReader paramtop(xml, path);
54 read(paramtop,
"version", version);
62 QDPIO::cerr <<
"Input parameter version " << version <<
" unsupported." << std::endl;
80 write(xml,
"version", version);
94 XMLReader inputtop(xml, path);
123 XMLReader paramtop(xml_in, path);
125 if (paramtop.count(
"Frequency") == 1)
138 QDPIO::cerr << __func__ <<
": Caught Exception reading XML: " << e << std::endl;
171 XMLBufferWriter gauge_xml;
177 catch( std::bad_cast )
189 const multi1d<LatticeColorMatrix>&
u =
192 push(xml_out,
"qqq_diquark");
193 write(xml_out,
"update_no", update_no);
207 write(xml_out,
"Config_info", gauge_xml);
209 push(xml_out,
"Output_version");
210 write(xml_out,
"out_version", 5);
214 MesPlq(xml_out,
"Observables",
u);
223 const int Nprops = 3;
225 LatticePropagator quark_propagator;
238 XMLReader diquark_file_xml, diquark_record_xml;
242 read(diquark_record_xml,
"/Diquark", diquark_header);
254 XMLReader prop_file_xml, prop_record_xml;
262 catch( std::bad_cast )
280 write(xml_out,
"Propagator_input", qqq_header);
296 push(xml_out,
"SinkSmearedProp_correlator");
297 write(xml_out,
"sink_smeared_prop_corr", prop_corr);
304 multi1d<ComplexF> barprop_1d;
314 LatticePropagator q_tmp = adj(
U) * quark_propagator *
U;
315 quark_propagator = q_tmp;
354 XMLBufferWriter file_xml;
355 push(file_xml,
"qqq");
359 XMLBufferWriter record_xml;
360 push(record_xml,
"QQQ");
361 write(record_xml,
".", qqq_header);
362 write(record_xml,
"Config_info", gauge_xml);
367 QDPIO_SINGLEFILE, QDPIO_SERIAL, QDPIO_OPEN);
368 write(to,record_xml,barprop_1d);
377 << snoop.getTimeInSeconds()
378 <<
" secs" << std::endl;
Inline measurement factory.
Construct all components of a baryon propagator using a diquark.
Inline measurement of QQQ's.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
Fourier transform phase factor support.
const Set & getSet() const
The set to be used in sumMulti.
Basis rotation matrix from Dirac to Degrand-Rossi (and reverse)
SpinMatrixD DiracToDRMat()
The Dirac to Degrand-Rossi spin transformation matrix (and reverse)
void barcompDiquarkDense(QQQDense_t &barprop, const QQDiquarkContract_t &diquark, const LatticePropagator &quark_propagator_3, const SftMom &phases, int t0, int bc_spec)
Construct all components of a baryon propagator.
void barcompDiquarkSparse(QQQSparse_t &barprop, const QQDiquarkContract_t &diquark, const LatticePropagator &quark_propagator_3, const multi1d< QQQSpinIndices_t > spin_indices, const SftMom &phases, int t0, int bc_spec)
Construct all components of a baryon propagator.
std::string uniqueId()
Return a unique id.
void proginfo(XMLWriter &xml)
Print out basic information about this program.
Inline construction of QQQ's using a diquark.
Named object function std::map.
static bool registered
Local registration flag.
void read(XMLReader &xml, const std::string &path, InlineQQQDiquarkEnv::Params::Param_t &input)
Param input.
bool registerAll()
Register all the factories.
void write(XMLWriter &xml, const std::string &path, const InlineQQQDiquarkEnv::Params::Param_t &input)
Param output.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
multi1d< int > getFermActBoundary(const GroupXML_t &fermact)
Given a fermion action in std::string form, return the boundary.
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
Print out basic info about this program.
Fourier transform phase factor support.
multi1d< QQQSpinIndices_t > spin_indices
struct Chroma::InlineQQQDiquarkEnv::Params::Param_t param
struct Chroma::InlineQQQDiquarkEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)
Mega structure holding QQ diquark object.
multi1d< ForwardProp_t > forward_props
Mega structure holding QQQ props.
multi1d< ForwardProp_t > forward_props
multi1d< QQQSpinIndices_t > spin_indices
multi1d< ComplexF > serialize()
Serialize generalized object.
multi1d< ComplexF > serialize()
Serialize generalized object.
multi1d< LatticeColorMatrix > U