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

Main code for generation of disconnected loops. More...

#include <iostream>
#include <cstdio>
#include "chroma.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
 

Enumerations

enum  GaugeStartType {
  HOT_START = 0 , COLD_START = 1 , FILE_START_NERSC = 2 , COLD_START =0 ,
  HOT_START , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 ,
  HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 ,
  COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 ,
  FILE_START_NERSC = 2
}
 

Functions

void loops (const LatticeFermion &q_source, const LatticeFermion &psi, int length, XMLWriter &xml_gamma, const std::string &xml_tag)
 
void z2_src (LatticeFermion &a)
 
void z2_src (LatticeFermion &a, int slice, int mu)
 
void read (XMLReader &xml, const std::string &path, Prop_t &input)
 
void read (XMLReader &xml, const std::string &path, Propagator_input_t &input)
 
int main (int argc, char **argv)
 

Detailed Description

Main code for generation of disconnected loops.

This version is for Wilson fermions. This code should work for su3 or su4.

I don't fully understand the conventions for kappa values and masses. I will figure this out when I compare against the UKQCD code.

Definition in file t_fermion_loop_w.cc.

Macro Definition Documentation

◆ MAIN

#define MAIN

Definition at line 16 of file t_fermion_loop_w.cc.

Enumeration Type Documentation

◆ GaugeStartType

Enumerator
HOT_START 
COLD_START 
FILE_START_NERSC 
COLD_START 
HOT_START 
HOT_START 
COLD_START 
FILE_START 
HOT_START 
COLD_START 
FILE_START 
HOT_START 
COLD_START 
FILE_START 
HOT_START 
COLD_START 
FILE_START_NERSC 

Definition at line 26 of file t_fermion_loop_w.cc.

Function Documentation

◆ loops()

void loops ( const LatticeFermion &  q_source,
const LatticeFermion &  psi,
int  length,
XMLWriter &  xml_gamma,
const std::string &  xml_tag 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read() [1/2]

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

Definition at line 84 of file t_fermion_loop_w.cc.

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

◆ read() [2/2]

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

◆ z2_src() [1/2]

void z2_src ( LatticeFermion &  a)

◆ z2_src() [2/2]

void z2_src ( LatticeFermion &  a,
int  slice,
int  mu 
)