CHROMA
Classes | Macros | Enumerations | Functions
t_stagg_baryon.cc File Reference

Main code for staggered charmed baryons. More...

#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "meas/hadron/stag_propShift_s.h"
#include "meas/hadron/pion_local_s.h"
#include "io/xml_group_reader.h"
#include "meas/hadron/baryon_s.h"
#include "qdp_util.h"

Go to the source code of this file.

Classes

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

Macros

#define MAIN
 

Enumerations

enum  staggered_src_type {
  local_s , wall_s , wall_o , wall_q ,
  wall_o_and_q , local_o , local_q , local_o_and_q
}
 

Functions

void read (XMLReader &xml, const std::string &path, Propagator_input_t &input)
 
bool linkageHack (void)
 
void dump_text_src (LatticeStaggeredFermion psi, multi1d< int > nrow)
 
void walfil_q (LatticeStaggeredFermion &a, int slice, int mu, int color_index)
 
void walfil_o (LatticeStaggeredFermion &a, int slice, int mu, int color_index)
 
void srcfil_local_o (LatticeStaggeredFermion &a, int slice, int mu, int color_index)
 
void srcfil_local_q (LatticeStaggeredFermion &a, int slice, int mu, int color_index)
 
void create_stagg_source (LatticeStaggeredFermion &q_source, staggered_src_type src_type, int color_source, int j_decay, int t_source)
 
int main (int argc, char **argv)
 

Detailed Description

Main code for staggered charmed baryons.

This code is a wrapper for the calculation of staggered charmed baryons.

Definition in file t_stagg_baryon.cc.

Macro Definition Documentation

◆ MAIN

#define MAIN

Definition at line 12 of file t_stagg_baryon.cc.

Enumeration Type Documentation

◆ staggered_src_type

Enumerator
local_s 
wall_s 
wall_o 
wall_q 
wall_o_and_q 
local_o 
local_q 
local_o_and_q 

Definition at line 24 of file t_stagg_baryon.cc.

Function Documentation

◆ create_stagg_source()

void create_stagg_source ( LatticeStaggeredFermion &  q_source,
staggered_src_type  src_type,
int  color_source,
int  j_decay,
int  t_source 
)

◆ dump_text_src()

void dump_text_src ( LatticeStaggeredFermion  psi,
multi1d< int >  nrow 
)

◆ linkageHack()

bool linkageHack ( void  )

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read()

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

◆ srcfil_local_o()

void srcfil_local_o ( LatticeStaggeredFermion &  a,
int  slice,
int  mu,
int  color_index 
)

Definition at line 326 of file t_stagg_baryon.cc.

References Chroma::a, coord(), Chroma::one, and Chroma::zero.

Referenced by create_stagg_source().

◆ srcfil_local_q()

void srcfil_local_q ( LatticeStaggeredFermion &  a,
int  slice,
int  mu,
int  color_index 
)

Definition at line 377 of file t_stagg_baryon.cc.

References Chroma::a, coord(), Chroma::one, and Chroma::zero.

Referenced by create_stagg_source().

◆ walfil_o()

void walfil_o ( LatticeStaggeredFermion &  a,
int  slice,
int  mu,
int  color_index 
)

◆ walfil_q()

void walfil_q ( LatticeStaggeredFermion &  a,
int  slice,
int  mu,
int  color_index 
)