CHROMA
Classes | Functions
t_precact_4d.cc File Reference

Test 4d fermion actions. More...

#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "qdp_util.h"

Go to the source code of this file.

Classes

struct  Param_t
 Parameters for running program. More...
 
struct  Test_input_t
 Mega-structure of all input. More...
 

Functions

bool linkage_hack ()
 To insure linking of code, place the registered code flags here. More...
 
void check_qprop (XMLWriter &xml_out, const std::string &prefix, const SystemSolver< LatticeFermion > &PP, const SystemSolver< LatticeFermion > &UP)
 Check Qprop. More...
 
void check_linops (XMLWriter &xml_out, const std::string &prefix, const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const UnprecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AU)
 Check linops. More...
 
multi1d< LatticeColorMatrix > deriv (const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign)
 Apply the operator onto a source std::vector. More...
 
void check_derivs (XMLWriter &xml_out, const std::string &prefix, const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const UnprecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AU)
 Check linops. More...
 
void read (XMLReader &xml, const std::string &path, Param_t &param)
 Parameters for running code. More...
 
void read (XMLReader &xml, const std::string &path, Test_input_t &input)
 
int main (int argc, char **argv)
 

Detailed Description

Test 4d fermion actions.

Definition in file t_precact_4d.cc.

Function Documentation

◆ check_derivs()

void check_derivs ( XMLWriter &  xml_out,
const std::string &  prefix,
const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &  AP,
const UnprecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &  AU 
)

◆ check_linops()

void check_linops ( XMLWriter &  xml_out,
const std::string &  prefix,
const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &  AP,
const UnprecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &  AU 
)

◆ check_qprop()

void check_qprop ( XMLWriter &  xml_out,
const std::string &  prefix,
const SystemSolver< LatticeFermion > &  PP,
const SystemSolver< LatticeFermion > &  UP 
)

◆ deriv()

multi1d<LatticeColorMatrix> deriv ( const EvenOddPrecLinearOperator< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &  AP,
const LatticeFermion &  chi,
const LatticeFermion &  psi,
enum PlusMinus  isign 
)

◆ linkage_hack()

bool linkage_hack ( )

To insure linking of code, place the registered code flags here.

This is the bit of code that dictates what fermacts are in use

Definition at line 17 of file t_precact_4d.cc.

References Chroma::WilsonTypeFermActsEnv::registerAll().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read() [1/2]

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

Parameters for running code.

Definition at line 277 of file t_precact_4d.cc.

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

◆ read() [2/2]

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