CHROMA
Classes | Enumerations | Functions
wallformfac.cc File Reference

Main program for computing 3pt functions with a wall sink. More...

#include "chroma.h"

Go to the source code of this file.

Classes

struct  Prop_t
 Propagators. More...
 
struct  Param_t
 Parameters for running program. More...
 
struct  WallFormFac_input_t
 
struct  WallFormFac_bar_t
 
struct  WallFormFac_output_t
 

Enumerations

enum  WallFormFacType {
  WALLFF_PION , WALLFF_RHO , WALLFF_RHO_PI , WALLFF_NUCL ,
  WALLFF_NUCL_CT , WALLFF_DELTA , WALLFF_DELTA_P
}
 Wall-Formfactor type. More...
 

Functions

void read (XMLReader &xml, const std::string &path, WallFormFacType &param)
 Read a Wall-formfactor enum. More...
 
void write (XMLWriter &xml, const std::string &path, const WallFormFacType &param)
 Write a Wall-formfactor enum. More...
 
void read (XMLReader &xml, const std::string &path, Prop_t &input)
 Propagator filenames. More...
 
void read (XMLReader &xml, const std::string &path, Param_t &param)
 Parameter input. More...
 
void read (XMLReader &xml, const std::string &path, WallFormFac_input_t &input)
 
void write (BinaryWriter &bin, const WallFormFac_bar_t &header)
 WallFormFac writer. More...
 
void write (BinaryWriter &bin, const WallFormFac_output_t &header)
 WallFormFac writer. More...
 
int main (int argc, char *argv[])
 

Detailed Description

Main program for computing 3pt functions with a wall sink.

Main program for computing 3pt functions with a wall sink

Definition in file wallformfac.cc.

Enumeration Type Documentation

◆ WallFormFacType

Wall-Formfactor type.

Enumerator
WALLFF_PION 
WALLFF_RHO 
WALLFF_RHO_PI 
WALLFF_NUCL 
WALLFF_NUCL_CT 
WALLFF_DELTA 
WALLFF_DELTA_P 

Definition at line 17 of file wallformfac.cc.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ read() [1/4]

void read ( XMLReader &  xml,
const std::string &  path,
Param_t param 
)

Parameter input.

Definition at line 141 of file wallformfac.cc.

References Param_t::formfac_type, Param_t::mom2_max, Param_t::nrow, Chroma::read(), and Param_t::wall_source.

◆ read() [2/4]

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

Propagator filenames.

Definition at line 131 of file wallformfac.cc.

References Prop_t::backprop_file, Prop_t::forwprop_file, and Chroma::read().

◆ read() [3/4]

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

◆ read() [4/4]

void read ( XMLReader &  xml,
const std::string &  path,
WallFormFacType param 
)

Read a Wall-formfactor enum.

Definition at line 77 of file wallformfac.cc.

References Chroma::read(), WALLFF_DELTA, WALLFF_DELTA_P, WALLFF_NUCL, WALLFF_NUCL_CT, WALLFF_PION, WALLFF_RHO, and WALLFF_RHO_PI.

◆ write() [1/3]

void write ( BinaryWriter &  bin,
const WallFormFac_bar_t header 
)

◆ write() [2/3]

void write ( BinaryWriter &  bin,
const WallFormFac_output_t header 
)

◆ write() [3/3]

void write ( XMLWriter &  xml,
const std::string &  path,
const WallFormFacType param 
)

Write a Wall-formfactor enum.

Definition at line 104 of file wallformfac.cc.

References WALLFF_DELTA, WALLFF_DELTA_P, WALLFF_NUCL, WALLFF_NUCL_CT, WALLFF_PION, WALLFF_RHO, WALLFF_RHO_PI, and Chroma::write().