CHROMA
|
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <cstdio>
#include <stdlib.h>
#include <sys/time.h>
#include <math.h>
#include "chroma.h"
Go to the source code of this file.
Classes | |
struct | Param_t |
Parameters for running program. More... | |
Enumerations | |
enum | GaugeStartType { HOT_START = 0 , COLD_START = 1 , FILE_START_NERSC = 2 , COLD_START =0 , HOT_START , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START = 2 , HOT_START = 0 , COLD_START = 1 , FILE_START_NERSC = 2 } |
enum | GaugeFormat { SZIN_GAUGE_FORMAT = 0 , NERSC_GAUGE_FORMAT = 1 , SZIN_GAUGE_FORMAT = 0 , NERSC_GAUGE_FORMAT = 1 , SZIN_GAUGE_FORMAT = 0 , NERSC_GAUGE_FORMAT = 1 } |
Functions | |
void | readParams (const std::string &filename, Param_t ¶ms) |
void | dumpParams (XMLWriter &writer, Param_t ¶ms) |
void | readEigenVecs (const multi1d< LatticeColorMatrix > &u, const UnprecWilsonFermAct &S_aux, const multi1d< Real > &lambda_lo, multi1d< LatticeFermion > &eigen_vec, const Real wilson_mass, const bool szin_eig, XMLWriter &xml_out, const std::string &root_prefix) |
Read in the old SZIN eigenvectors. More... | |
int | main (int argc, char **argv) |
enum GaugeFormat |
Enumerator | |
---|---|
SZIN_GAUGE_FORMAT | |
NERSC_GAUGE_FORMAT | |
SZIN_GAUGE_FORMAT | |
NERSC_GAUGE_FORMAT | |
SZIN_GAUGE_FORMAT | |
NERSC_GAUGE_FORMAT |
Definition at line 27 of file t_ovlap_double_pass.cc.
enum GaugeStartType |
Definition at line 26 of file t_ovlap_double_pass.cc.
void dumpParams | ( | XMLWriter & | writer, |
Param_t & | params | ||
) |
Definition at line 147 of file t_ovlap_double_pass.cc.
References FILE_START, Chroma::i, Nd, params, Chroma::pop(), Chroma::push(), and Chroma::write().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Wilsoniums;
N order Zolo approx, with wilson action.
N order Zolo approx, with wilson action.
Definition at line 319 of file t_ovlap_double_pass.cc.
References COLD_START, dumpParams(), FILE_START, Chroma::finalize(), Chroma::G5, Chroma::gaussian(), HOT_START, Chroma::initialize(), Chroma::isChiralVector(), j, Chroma::MesPlq(), Chroma::MINUS, Nd, NERSC_GAUGE_FORMAT, Chroma::OVERLAP_INNER_CG_DOUBLE_PASS, Chroma::OVERLAP_INNER_CG_SINGLE_PASS, params, Chroma::PLUS, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::QDP_error_exit(), readEigenVecs(), readParams(), Chroma::readSzin(), Chroma::reunit(), Chroma::s(), SZIN_GAUGE_FORMAT, tmp2, Chroma::u, Chroma::write(), and Chroma::zero.
void readEigenVecs | ( | const multi1d< LatticeColorMatrix > & | u, |
const UnprecWilsonFermAct & | S_aux, | ||
const multi1d< Real > & | lambda_lo, | ||
multi1d< LatticeFermion > & | eigen_vec, | ||
const Real | wilson_mass, | ||
const bool | szin_eig, | ||
XMLWriter & | xml_out, | ||
const std::string & | root_prefix | ||
) |
Read in the old SZIN eigenvectors.
Definition at line 243 of file t_ovlap_double_pass.cc.
References Chroma::FermionAction< T, P, Q >::createState(), Chroma::i, Chroma::UnprecWilsonFermAct::linOp(), Nd, Chroma::PLUS, Chroma::pop(), Chroma::push(), Chroma::readSzinFerm(), Chroma::s(), Chroma::u, and Chroma::write().
Referenced by main().
void readParams | ( | const std::string & | filename, |
Param_t & | params | ||
) |
Definition at line 60 of file t_ovlap_double_pass.cc.
References FILE_START, Chroma::i, Nd, params, Chroma::QDP_error_exit(), Chroma::read(), and Chroma::StaggeredTypeFermBCEnv::reader().
Referenced by main().