t_propagator_fuzz_baryon_s.cc File Reference

Main code for propagator generation. More...

#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "meas/smear/fuzz_smear.h"

Go to the source code of this file.

Classes

struct  Param_t
 Parameters for running program. More...
struct  Prop_t
 Propagators. More...
struct  Propagator_input_t

Defines

#define MAIN

Typedefs

typedef stag_src_enum stag_src_type

Enumerations

enum  stag_src_enum { LOCAL_SRC, FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE }

Functions

void read (XMLReader &xml, const string &path, Prop_t &input)
void read (XMLReader &xml, const string &path, Propagator_input_t &input)
stag_src_type get_stag_src (XMLReader &xml, const string &path)
void ks_compute_baryon (string name, LatticeStaggeredPropagator &quark_propagator, XMLFileWriter &xml_out, int j_decay, int tlength)
void ks_compute_baryon (string name, LatticeStaggeredPropagator &quark_propagator_a, LatticeStaggeredPropagator &quark_propagator_b, LatticeStaggeredPropagator &quark_propagator_c, XMLFileWriter &xml_out, int j_decay, int tlength)
int ks_compute_quark_propagator (LatticeStaggeredFermion &psi, stag_src_type type_of_src, int fuzz_width, multi1d< LatticeColorMatrix > &u, multi1d< LatticeColorMatrix > &u_smr, Handle< const SystemSolver< LatticeStaggeredFermion > > &qprop, XMLFileWriter &xml_out, Real RsdCG, Real Mass, int j_decay, int src_ind, int color_source)
void write_smearing_info (string name, stag_src_type type_of_src, XMLFileWriter &xml_out, int fuzz_width)
int main (int argc, char **argv)


Detailed Description

Main code for propagator generation.

Start to add fuzzed source to the staggered project.

Definition in file t_propagator_fuzz_baryon_s.cc.


Define Documentation

#define MAIN

Definition at line 12 of file t_propagator_fuzz_baryon_s.cc.


Typedef Documentation

typedef stag_src_enum stag_src_type

Definition at line 200 of file t_propagator_fuzz_baryon_s.cc.


Enumeration Type Documentation

enum stag_src_enum

Enumerator:
LOCAL_SRC 
FUZZED_SRC 
GAUGE_INVAR_LOCAL_SOURCE 

Definition at line 199 of file t_propagator_fuzz_baryon_s.cc.


Function Documentation

stag_src_type get_stag_src ( XMLReader &  xml,
const string &  path 
)

Definition at line 207 of file t_propagator_fuzz_baryon_s.cc.

References FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, LOCAL_SRC, and Chroma::read().

Referenced by main().

void ks_compute_baryon ( string  name,
LatticeStaggeredPropagator &  quark_propagator_a,
LatticeStaggeredPropagator &  quark_propagator_b,
LatticeStaggeredPropagator &  quark_propagator_c,
XMLFileWriter &  xml_out,
int  j_decay,
int  tlength 
)

Definition at line 725 of file t_propagator_fuzz_baryon_s.cc.

References Chroma::baryon_s(), and Chroma::write().

void ks_compute_baryon ( string  name,
LatticeStaggeredPropagator &  quark_propagator,
XMLFileWriter &  xml_out,
int  j_decay,
int  tlength 
)

Definition at line 698 of file t_propagator_fuzz_baryon_s.cc.

References Chroma::baryon_s(), and Chroma::write().

int ks_compute_quark_propagator ( LatticeStaggeredFermion &  psi,
stag_src_type  type_of_src,
int  fuzz_width,
multi1d< LatticeColorMatrix > &  u,
multi1d< LatticeColorMatrix > &  u_smr,
Handle< const SystemSolver< LatticeStaggeredFermion > > &  qprop,
XMLFileWriter &  xml_out,
Real  RsdCG,
Real  Mass,
int  j_decay,
int  src_ind,
int  color_source 
)

Definition at line 748 of file t_propagator_fuzz_baryon_s.cc.

References Chroma::fuzz_smear(), FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, LOCAL_SRC, Chroma::n_count, Chroma::PropIndexTodelta(), Chroma::shiftDeltaPropCov(), Chroma::srcfil(), and Chroma::write().

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 288 of file t_propagator_fuzz_baryon_s.cc.

References Chroma::APE_Smear(), Param_t::boundary, Propagator_input_t::cfg, Chroma::coulGauge(), Chroma::FermToProp(), Chroma::finalize(), FORWARD, Chroma::fuzz_smear(), FUZZED_SRC, Chroma::gaugeStartup(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Param_t::GFAccu, Param_t::GFMax, Chroma::initialize(), Param_t::invParam, j_decay, Chroma::ks_compute_baryon(), ks_compute_quark_propagator(), LOCAL_SRC, Param_t::Mass, Chroma::MesPlq(), Param_t::nrow, Param_t::OrPara, Propagator_input_t::param, Chroma::psi(), Chroma::read(), Chroma::readXMLGroup(), Chroma::reunit(), Chroma::SysSolverCGParams::RsdCG, Chroma::S_f, Chroma::state, u, Param_t::u0, Chroma::unitarityCheck(), Chroma::write(), and Chroma::write_smearing_info().

void read ( XMLReader &  xml,
const string &  path,
Propagator_input_t input 
)

Definition at line 88 of file t_propagator_fuzz_baryon_s.cc.

References Param_t::boundary, Propagator_input_t::cfg, Chroma::FERM_TYPE_STAGGERED, Param_t::FermTypeP, Param_t::GFAccu, Param_t::GFMax, Param_t::invParam, Propagator_input_t::io_version, Param_t::Mass, Chroma::SysSolverCGParams::MaxCG, Param_t::nrow, Param_t::OrPara, Propagator_input_t::param, Propagator_input_t::prop, Chroma::read(), Chroma::SysSolverCGParams::RsdCG, Param_t::t_srce, Param_t::u0, and Chroma::IO_version_t::version.

void read ( XMLReader &  xml,
const string &  path,
Prop_t input 
)

Definition at line 77 of file t_propagator_fuzz_baryon_s.cc.

References Prop_t::prop_file, and Chroma::read().

void write_smearing_info ( string  name,
stag_src_type  type_of_src,
XMLFileWriter &  xml_out,
int  fuzz_width 
)

Definition at line 840 of file t_propagator_fuzz_baryon_s.cc.

References FUZZED_SRC, GAUGE_INVAR_LOCAL_SOURCE, LOCAL_SRC, and Chroma::write().


Generated on Mon Mar 15 04:38:44 2010 for CHROMA by  doxygen 1.4.7