CHROMA
Classes | Macros | Typedefs | Enumerations | Functions
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
 

Macros

#define MAIN
 

Typedefs

typedef stag_src_enum stag_src_type
 

Enumerations

enum  stag_src_enum {
  LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE , NOISY_LOCAL_SOURCE ,
  LOAD_IN_SOURCE , LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE ,
  LOCAL_SRC , FUZZED_SRC , GAUGE_INVAR_LOCAL_SOURCE
}
 

Functions

void read (XMLReader &xml, const std::string &path, Prop_t &input)
 
void read (XMLReader &xml, const std::string &path, Propagator_input_t &input)
 
stag_src_type get_stag_src (XMLReader &xml, const std::string &path)
 
void ks_compute_baryon (std::string name, LatticeStaggeredPropagator &quark_propagator, XMLFileWriter &xml_out, int j_decay, int tlength)
 
void ks_compute_baryon (std::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 (std::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.

Macro Definition Documentation

◆ MAIN

#define MAIN

Definition at line 11 of file t_propagator_fuzz_baryon_s.cc.

Typedef Documentation

◆ stag_src_type

Definition at line 199 of file t_propagator_fuzz_baryon_s.cc.

Enumeration Type Documentation

◆ stag_src_enum

Enumerator
LOCAL_SRC 
FUZZED_SRC 
GAUGE_INVAR_LOCAL_SOURCE 
NOISY_LOCAL_SOURCE 
LOAD_IN_SOURCE 
LOCAL_SRC 
FUZZED_SRC 
GAUGE_INVAR_LOCAL_SOURCE 
LOCAL_SRC 
FUZZED_SRC 
GAUGE_INVAR_LOCAL_SOURCE 

Definition at line 198 of file t_propagator_fuzz_baryon_s.cc.

Function Documentation

◆ get_stag_src()

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

Definition at line 206 of file t_propagator_fuzz_baryon_s.cc.

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

◆ ks_compute_baryon() [1/2]

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

◆ ks_compute_baryon() [2/2]

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

◆ ks_compute_quark_propagator()

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 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read() [1/2]

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

Definition at line 76 of file t_propagator_fuzz_baryon_s.cc.

References Prop_t::prop_file.

Referenced by get_stag_src(), main(), and read().

◆ read() [2/2]

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

◆ write_smearing_info()

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