CHROMA
|
Random Z2 wall source parameters. More...
#include <rndz2wall_source_const.h>
Public Member Functions | |
Params () | |
Initialize. More... | |
Params (XMLReader &in, const std::string &path) | |
Read parameters. More... | |
void | writeXML (XMLWriter &in, const std::string &path) const |
Public Attributes | |
Seed | ran_seed |
int | j_decay |
int | t_source |
Random Z2 wall source parameters.
Definition at line 25 of file rndz2wall_source_const.h.
Chroma::RandZ2WallQuarkSourceConstEnv::Params::Params | ( | ) |
Initialize.
Definition at line 64 of file rndz2wall_source_const.cc.
Chroma::RandZ2WallQuarkSourceConstEnv::Params::Params | ( | XMLReader & | in, |
const std::string & | path | ||
) |
Read parameters.
if 0 #warning "CHECK IF SETTING SEED IS DESIRED BEHAVIOR"
WARNING!!! Not sure this is the desired behavior
read(paramtop, "ran_seed", ran_seed); QDP::RNG::setrn(ran_seed);
#else #warning "CHECK IF GRABBING SEED IS DESIRED BEHAVIOR" QDP::RNG::savern(ran_seed); #endif
Definition at line 72 of file rndz2wall_source_const.cc.
References j_decay, ran_seed, Chroma::read(), and t_source.
void Chroma::RandZ2WallQuarkSourceConstEnv::Params::writeXML | ( | XMLWriter & | in, |
const std::string & | path | ||
) | const |
Definition at line 112 of file rndz2wall_source_const.cc.
References j_decay, Chroma::pop(), Chroma::push(), ran_seed, t_source, and Chroma::write().
Referenced by Chroma::write().
int Chroma::RandZ2WallQuarkSourceConstEnv::Params::j_decay |
decay direction
Definition at line 33 of file rndz2wall_source_const.h.
Referenced by Chroma::RandZ2WallQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
Seed Chroma::RandZ2WallQuarkSourceConstEnv::Params::ran_seed |
Set the seed to this value
Definition at line 31 of file rndz2wall_source_const.h.
Referenced by Chroma::RandZ2WallQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().
int Chroma::RandZ2WallQuarkSourceConstEnv::Params::t_source |
source time slice location
Definition at line 34 of file rndz2wall_source_const.h.
Referenced by Chroma::RandZ2WallQuarkSourceConstEnv::SourceConst< T >::operator()(), Params(), and writeXML().