CHROMA
|
Main code for propagator generation. More...
#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "meas/hadron/stag_propShift_s.h"
#include "meas/hadron/pion_local_s.h"
#include "io/xml_group_reader.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 |
Functions | |
void | read (XMLReader &xml, const std::string &path, Propagator_input_t &input) |
bool | linkageHack (void) |
int | main (int argc, char **argv) |
Main code for propagator generation.
I using this code to DEBUG the HISQ inverter.
Definition in file t_propagator_s.cc.
#define MAIN |
Definition at line 11 of file t_propagator_s.cc.
bool linkageHack | ( | void | ) |
Definition at line 162 of file t_propagator_s.cc.
References Chroma::StaggeredTypeFermActsEnv::registerAll(), Chroma::InlineAggregateEnv::registerAll(), and Chroma::GaugeInitEnv::registerAll().
int main | ( | int | argc, |
char ** | argv | ||
) |
do inversions
Definition at line 180 of file t_propagator_s.cc.
References Propagator_input_t::cfg, Chroma::staggered_local_pion::compute(), coord(), Chroma::staggered_hadron_corr::dump(), Param_t::fermact, Chroma::FermToProp(), Chroma::finalize(), Chroma::gaugeStartup(), Chroma::getXMLInputFileName(), Chroma::getXMLOutputInstance(), Chroma::GroupXML_t::id, Chroma::initialize(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Param_t::invParam, j_decay, Chroma::linkageHack(), Param_t::Mass, Chroma::MesPlq(), Chroma::n_count, Chroma::SystemSolverResults_t::n_count, Nd, Param_t::nrow, Propagator_input_t::param, Chroma::GroupXML_t::path, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::read(), Chroma::readXMLGroup(), Chroma::SysSolverCGParams::RsdCG, Chroma::S_f, Chroma::srcfil(), Chroma::state, t_source, Chroma::u, Chroma::unitarityCheck(), Chroma::write(), Chroma::GroupXML_t::xml, and Chroma::zero.
void read | ( | XMLReader & | xml, |
const std::string & | path, | ||
Propagator_input_t & | input | ||
) |
Definition at line 72 of file t_propagator_s.cc.
References Propagator_input_t::cfg, Param_t::fermact, Param_t::GFAccu, Param_t::GFMax, Param_t::invParam, Chroma::SysSolverCGParams::MaxCG, Param_t::nrow, Param_t::OrPara, Propagator_input_t::param, Chroma::read(), Chroma::readXMLGroup(), Chroma::SysSolverCGParams::RsdCG, and Param_t::t_srce.