#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. | |
| void | check_qprop (XMLWriter &xml_out, const string &prefix, const SystemSolver< LatticeFermion > &PP, const SystemSolver< LatticeFermion > &UP) |
| Check Qprop. | |
| void | check_qpropT (XMLWriter &xml_out, const string &prefix, const SystemSolverArray< LatticeFermion > &PP, const SystemSolverArray< LatticeFermion > &UP) |
| Check QpropT. | |
| void | check_linops (XMLWriter &xml_out, const string &prefix, const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AU) |
| Check linops. | |
| multi1d< LatticeColorMatrix > | deriv (const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) |
| Apply the operator onto a source vector. | |
| void | check_derivs (XMLWriter &xml_out, const string &prefix, const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AP, const UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &AU) |
| Check linops. | |
| void | read (XMLReader &xml, const string &path, Param_t ¶m) |
| Parameters for running code. | |
| void | read (XMLReader &xml, const string &path, Test_input_t &input) |
| int | main (int argc, char **argv) |
Definition in file t_precact_5d.cc.
| void check_derivs | ( | XMLWriter & | xml_out, | |
| const string & | prefix, | |||
| const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | AP, | |||
| const UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | AU | |||
| ) |
Check linops.
Definition at line 292 of file t_precact_5d.cc.
References chi, deriv(), m, Chroma::MINUS, N5, Chroma::PLUS, Chroma::psi(), and Chroma::write().
| void check_linops | ( | XMLWriter & | xml_out, | |
| const string & | prefix, | |||
| const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | AP, | |||
| const UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | AU | |||
| ) |
Check linops.
Definition at line 112 of file t_precact_5d.cc.
References chi, m, Chroma::MINUS, N5, Chroma::PLUS, Chroma::psi(), and Chroma::write().
| void check_qprop | ( | XMLWriter & | xml_out, | |
| const string & | prefix, | |||
| const SystemSolver< LatticeFermion > & | PP, | |||
| const SystemSolver< LatticeFermion > & | UP | |||
| ) |
Check Qprop.
Definition at line 27 of file t_precact_5d.cc.
References Chroma::SystemSolverResults_t::n_count, and Chroma::write().
| void check_qpropT | ( | XMLWriter & | xml_out, | |
| const string & | prefix, | |||
| const SystemSolverArray< LatticeFermion > & | PP, | |||
| const SystemSolverArray< LatticeFermion > & | UP | |||
| ) |
Check QpropT.
Definition at line 67 of file t_precact_5d.cc.
References N5, Chroma::SystemSolverResults_t::n_count, Chroma::SystemSolverArray< T >::size(), and Chroma::write().
Referenced by main().
| multi1d<LatticeColorMatrix> deriv | ( | const EvenOddPrecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & | AP, | |
| const multi1d< LatticeFermion > & | chi, | |||
| const multi1d< LatticeFermion > & | psi, | |||
| enum PlusMinus | isign | |||
| ) |
Apply the operator onto a source vector.
User should make sure deriv routines do a resize
Definition at line 240 of file t_precact_5d.cc.
References Chroma::MINUS, and Chroma::PLUS.
| 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 18 of file t_precact_5d.cc.
References Chroma::AsqtadFermActEnv::registerAll().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 438 of file t_precact_5d.cc.
References Test_input_t::action_eo, Test_input_t::action_un, Test_input_t::cfg, check_derivs(), check_linops(), check_qprop(), check_qpropT(), Chroma::finalize(), Chroma::gaugeStartup(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::initialize(), Param_t::invParam, linkage_hack(), Chroma::MesPlq(), Param_t::nrow, Test_input_t::param, Chroma::proginfo(), Chroma::read(), T, u, Chroma::unitarityCheck(), and Chroma::write().
| void read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| Test_input_t & | input | |||
| ) |
Definition at line 399 of file t_precact_5d.cc.
References Test_input_t::action_eo, Test_input_t::action_un, Test_input_t::cfg, Test_input_t::param, and Chroma::read().
| void read | ( | XMLReader & | xml, | |
| const string & | path, | |||
| Param_t & | param | |||
| ) |
Parameters for running code.
Definition at line 390 of file t_precact_5d.cc.
References Param_t::invParam, Param_t::nrow, Chroma::read(), and Chroma::readXMLGroup().
1.4.7