CHROMA
Classes | Functions
qpropadd.cc File Reference

Add two quark propagators. More...

#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  Qpropadd_input_t
 Mega-structure of all input. More...
 

Functions

void read (XMLReader &xml, const std::string &path, Prop_t &input)
 Propagator parameters. More...
 
void read (XMLReader &xml, const std::string &path, Param_t &param)
 
void read (XMLReader &xml, const std::string &path, Qpropadd_input_t &input)
 
int main (int argc, char *argv[])
 

Detailed Description

Add two quark propagators.

Simple program for adding two quark props

Definition in file qpropadd.cc.

Function Documentation

◆ main()

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

◆ read() [1/3]

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

Definition at line 53 of file qpropadd.cc.

References Param_t::nrow, and Chroma::read().

◆ read() [2/3]

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

Propagator parameters.

Definition at line 41 of file qpropadd.cc.

References Prop_t::prop_file, Prop_t::prop_file1, Prop_t::prop_file2, Prop_t::prop_volfmt, and Chroma::read().

◆ read() [3/3]

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

Definition at line 78 of file qpropadd.cc.

References Qpropadd_input_t::param, Qpropadd_input_t::prop, and Chroma::read().