CHROMA
|
Typedefs | |
typedef SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticePropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticePropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > | Chroma::ThePropSourceConstructionFactory |
Propagator source factory (foundry) More... | |
typedef SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticeStaggeredPropagator >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticeStaggeredPropagator > *(*)(XMLReader &, const std::string &), StringFactoryError > > | Chroma::TheStagPropSourceConstructionFactory |
Propagator source factory (foundry) More... | |
typedef SingletonHolder< ObjectFactory< QuarkSourceConstruction< LatticeFermion >, std::string, TYPELIST_2(XMLReader &, const std::string &), QuarkSourceConstruction< LatticeFermion > *(*)(XMLReader &, const std::string &), StringFactoryError > > | Chroma::TheFermSourceConstructionFactory |
Propagator source factory (foundry) More... | |
typedef SingletonHolder< ObjectFactory< QuarkSourceSink< LatticePropagator >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticePropagator > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > | Chroma::ThePropSourceSmearingFactory |
Propagator source smearing factory (foundry) More... | |
typedef SingletonHolder< ObjectFactory< QuarkSourceSink< LatticeStaggeredPropagator >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticeStaggeredPropagator > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > | Chroma::TheStagPropSourceSmearingFactory |
Propagator source smearing factory (foundry) More... | |
typedef SingletonHolder< ObjectFactory< QuarkSourceSink< LatticeFermion >, std::string, TYPELIST_3(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), QuarkSourceSink< LatticeFermion > *(*)(XMLReader &, const std::string &, const multi1d< LatticeColorMatrix > &), StringFactoryError > > | Chroma::TheFermSourceSmearingFactory |
Propagator source smearing factory (foundry) More... | |
Functions | |
void | Chroma::ExternalFieldEnv::read (XMLReader &xml, const std::string &path, ExternalFieldEnv::ConstantMagneticParams ¶m) |
Reader. More... | |
void | Chroma::ExternalFieldEnv::write (XMLWriter &xml, const std::string &path, const ExternalFieldEnv::ConstantMagneticParams ¶m) |
Writer. More... | |
void | Chroma::ExternalFieldEnv::read (XMLReader &xml, const std::string &path, ExternalFieldEnv::LinearElectricParams ¶m) |
Reader. More... | |
void | Chroma::ExternalFieldEnv::write (XMLWriter &xml, const std::string &path, const ExternalFieldEnv::LinearElectricParams ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, ExternalFieldEnv::ConstantMagneticParams ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ExternalFieldEnv::ConstantMagneticParams ¶m) |
Writer. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ExternalFieldEnv::LinearElectricParams ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, StaggeredDerivQuarkDisplacementEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const StaggeredDerivQuarkDisplacementEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, StaggeredDerivQuarkDisplacementEnv::ParamsDir ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const StaggeredDerivQuarkDisplacementEnv::ParamsDir ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, DerivQuarkDisplacementEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const DerivQuarkDisplacementEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, DerivQuarkDisplacementEnv::ParamsDir ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const DerivQuarkDisplacementEnv::ParamsDir ¶m) |
Writer. More... | |
LatticeColorVector | Chroma::leftRightNabla (const LatticeColorVector &F, const multi1d< LatticeColorMatrix > &u, int mu, int length, int mom) |
Apply first deriv to the right onto source. More... | |
LatticePropagator | Chroma::rightB (const LatticePropagator &F, const multi1d< LatticeColorMatrix > &u, int mu, int length) |
Apply "D_i" operator to the right onto source. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, StaggeredQuarkFlavorOpEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const StaggeredQuarkFlavorOpEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, StaggeredQuarkFlavorOpEnv::ParamsTwoIndex ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const StaggeredQuarkFlavorOpEnv::ParamsTwoIndex ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, StaggeredQuarkFlavorOpEnv::ParamsOneIndex ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const StaggeredQuarkFlavorOpEnv::ParamsOneIndex ¶m) |
Writer. More... | |
void | Chroma::gaussian_on_parity (LatticeStaggeredFermion &a, int parity) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_color_src (LatticeStaggeredFermion &a, int color_index) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_color_src_on_slice (LatticeStaggeredFermion &a, int color_index, int slice, int mu) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_color_src_on_parity (LatticeStaggeredFermion &a, int color_index, int parity) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_parity_src_on_slice (LatticeStaggeredFermion &a, int parity, int slice, int mu) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_on_mod_timeslice (LatticeStaggeredFermion &a, int slice, int mu, int seperation) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_on_corner (LatticeStaggeredFermion &a, int corner_index) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_corner_on_dbl_slice (LatticeStaggeredFermion &a, int corner_index, int slice, int mu) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_corner_on_mod_dbl_slice (LatticeStaggeredFermion &a, int corner_index, int slice, int mu, int seperation) |
Diluted Gauusian-source. More... | |
void | Chroma::gaussian_color_src_on_mod_slice (LatticeStaggeredFermion &a, int color_index, int slice, int mu, int seperation) |
Diluted Gauusian-source. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, DiluteZNEigVecQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const DiluteZNEigVecQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, DiluteGridQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const DiluteGridQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, DiluteZNQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const DiluteZNQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::boxfil (LatticeFermion &a, int color_index, int spin_index) |
Fill a specific color and spin index with 1.0 within a volume. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, MomWallQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const MomWallQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, NormShellQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const NormShellQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, PartialWallQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const PartialWallQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, PointQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const PointQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, PointQuarkSourceSmearingEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const PointQuarkSourceSmearingEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, RandZ2WallQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const RandZ2WallQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, RandZNWallQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const RandZNWallQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, ShellQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ShellQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, ShellQuarkSourceSmearingEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ShellQuarkSourceSmearingEnv::Params ¶m) |
Writer. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, ShellZnGridQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const ShellZnGridQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
void | Chroma::srcfil (LatticeFermion &a, const multi1d< int > &coord, int color_index, int spin_index) |
Fill a specific color and spin index with 1.0. More... | |
void | Chroma::srcfil (LatticeStaggeredFermion &a, const multi1d< int > &coord, int color_index) |
Fill a specific color and spin index with 1.0. More... | |
void | Chroma::srcfil (LatticeColorVector &a, const multi1d< int > &coord, int color_index) |
Fill a specific color index with 1.0. More... | |
void | Chroma::walfil (LatticeStaggeredFermion &a, int slice, int mu, int color_index, int src_index) |
Fill a specific color and spin index with 1.0 on a wall. More... | |
void | Chroma::walfil (LatticeFermion &a, int slice, int mu, int color_index, int spin_index) |
Fill a specific color and spin index with 1.0 on a wall. More... | |
void | Chroma::read (XMLReader &xml, const std::string &path, WallQuarkSourceConstEnv::Params ¶m) |
Reader. More... | |
void | Chroma::write (XMLWriter &xml, const std::string &path, const WallQuarkSourceConstEnv::Params ¶m) |
Writer. More... | |
template<typename T > | |
void | Chroma::z2_src_t (T &a) |
Volume source of complex Z2 noise. More... | |
void | Chroma::z2_src (LatticeFermion &a, int slice, int mu) |
Timeslice source of complex Z2 noise. More... | |
void | Chroma::z2_src (LatticeFermion &a) |
Z2-source. More... | |
void | Chroma::z2_src (LatticeStaggeredFermion &a) |
Z2-source. More... | |
void | Chroma::zN_src (LatticeFermion &a, int N) |
Volume source of Z(N) noise. More... | |
Complex | Chroma::zN_rng (int N) |
Z(N)-rng. More... | |
This include file supports various types of quark sources
typedef SingletonHolder< ObjectFactory<QuarkSourceConstruction<LatticeFermion>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSourceConstruction<LatticeFermion>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheFermSourceConstructionFactory |
Propagator source factory (foundry)
Definition at line 46 of file source_const_factory.h.
typedef SingletonHolder< ObjectFactory<QuarkSourceSink<LatticeFermion>, std::string, TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), QuarkSourceSink<LatticeFermion>* (*)(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), StringFactoryError> > Chroma::TheFermSourceSmearingFactory |
Propagator source smearing factory (foundry)
Definition at line 52 of file source_smearing_factory.h.
typedef SingletonHolder< ObjectFactory<QuarkSourceConstruction<LatticePropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSourceConstruction<LatticePropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::ThePropSourceConstructionFactory |
Propagator source factory (foundry)
Definition at line 24 of file source_const_factory.h.
typedef SingletonHolder< ObjectFactory<QuarkSourceSink<LatticePropagator>, std::string, TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), QuarkSourceSink<LatticePropagator>* (*)(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), StringFactoryError> > Chroma::ThePropSourceSmearingFactory |
Propagator source smearing factory (foundry)
Definition at line 26 of file source_smearing_factory.h.
typedef SingletonHolder< ObjectFactory<QuarkSourceConstruction<LatticeStaggeredPropagator>, std::string, TYPELIST_2(XMLReader&, const std::string&), QuarkSourceConstruction<LatticeStaggeredPropagator>* (*)(XMLReader&, const std::string&), StringFactoryError> > Chroma::TheStagPropSourceConstructionFactory |
Propagator source factory (foundry)
Definition at line 35 of file source_const_factory.h.
typedef SingletonHolder< ObjectFactory<QuarkSourceSink<LatticeStaggeredPropagator>, std::string, TYPELIST_3(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), QuarkSourceSink<LatticeStaggeredPropagator>* (*)(XMLReader&, const std::string&, const multi1d<LatticeColorMatrix>&), StringFactoryError> > Chroma::TheStagPropSourceSmearingFactory |
Propagator source smearing factory (foundry)
Definition at line 39 of file source_smearing_factory.h.
void Chroma::boxfil | ( | LatticeFermion & | a, |
int | color_index, | ||
int | spin_index | ||
) |
Fill a specific color and spin index with 1.0 within a volume.
Definition at line 30 of file mom_source_const.cc.
References Chroma::a, Chroma::END_CODE(), Chroma::one, Chroma::QDP_error_exit(), Chroma::START_CODE(), and Chroma::zero.
Referenced by Chroma::MomWallQuarkSourceConstEnv::SourceConst< T >::operator()().
void Chroma::gaussian_color_src | ( | LatticeStaggeredFermion & | a, |
int | color_index | ||
) |
Diluted Gauusian-source.
Definition at line 80 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_color_src_on_mod_slice | ( | LatticeStaggeredFermion & | a, |
int | color_index, | ||
int | slice, | ||
int | mu, | ||
int | seperation | ||
) |
Diluted Gauusian-source.
Definition at line 309 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), mu, Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_color_src_on_parity | ( | LatticeStaggeredFermion & | a, |
int | color_index, | ||
int | parity | ||
) |
Diluted Gauusian-source.
Definition at line 122 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_color_src_on_slice | ( | LatticeStaggeredFermion & | a, |
int | color_index, | ||
int | slice, | ||
int | mu | ||
) |
Diluted Gauusian-source.
Definition at line 99 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), mu, Chroma::tmp, and Chroma::zero.
Referenced by Chroma::compute_quark_propagator_s(), and Chroma::fill_volume_source().
void Chroma::gaussian_corner_on_dbl_slice | ( | LatticeStaggeredFermion & | a, |
int | corner_index, | ||
int | slice, | ||
int | mu | ||
) |
Diluted Gauusian-source.
Definition at line 228 of file dilute_gauss_src_s.cc.
References Chroma::a, coord(), Chroma::gaussian(), mu, Nd, Chroma::PropIndexTodelta(), Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_corner_on_mod_dbl_slice | ( | LatticeStaggeredFermion & | a, |
int | corner_index, | ||
int | slice, | ||
int | mu, | ||
int | seperation | ||
) |
Diluted Gauusian-source.
Definition at line 269 of file dilute_gauss_src_s.cc.
References Chroma::a, coord(), Chroma::gaussian(), mu, Nd, Chroma::PropIndexTodelta(), Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_on_corner | ( | LatticeStaggeredFermion & | a, |
int | corner_index | ||
) |
Diluted Gauusian-source.
Definition at line 192 of file dilute_gauss_src_s.cc.
References Chroma::a, coord(), Chroma::gaussian(), Nd, Chroma::PropIndexTodelta(), Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_on_mod_timeslice | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | seperation | ||
) |
Diluted Gauusian-source.
Definition at line 177 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), mu, Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_on_parity | ( | LatticeStaggeredFermion & | a, |
int | parity | ||
) |
Diluted Gauusian-source.
Definition at line 60 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
void Chroma::gaussian_parity_src_on_slice | ( | LatticeStaggeredFermion & | a, |
int | parity, | ||
int | slice, | ||
int | mu | ||
) |
Diluted Gauusian-source.
Definition at line 150 of file dilute_gauss_src_s.cc.
References Chroma::a, Chroma::gaussian(), mu, Chroma::tmp, and Chroma::zero.
Referenced by Chroma::fill_volume_source().
LatticeColorVector Chroma::leftRightNabla | ( | const LatticeColorVector & | F, |
const multi1d< LatticeColorMatrix > & | u, | ||
int | mu, | ||
int | length, | ||
int | mom | ||
) |
Apply first deriv to the right onto source.
Definition at line 415 of file displace.cc.
References F, mu, and Chroma::u.
Referenced by Chroma::DispSolnCache::displaceObject(), and Chroma::InlineGlueMatElemColorVecEnv::InlineMeas::func().
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
DerivQuarkDisplacementEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
DerivQuarkDisplacementEnv::ParamsDir & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
DiluteGridQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
DiluteZNEigVecQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
DiluteZNQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::ExternalFieldEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ExternalFieldEnv::ConstantMagneticParams & | param | ||
) |
Reader.
Definition at line 35 of file extfield_aggregate_w.cc.
References Chroma::ExternalFieldEnv::ConstantMagneticParams::b_dir, Chroma::ExternalFieldEnv::ConstantMagneticParams::Bfield, Chroma::ExternalFieldEnv::ConstantMagneticParams::patch, Chroma::ExternalFieldEnv::ConstantMagneticParams::t_dir, and Chroma::ExternalFieldEnv::ConstantMagneticParams::y_dir.
Referenced by Chroma::ExternalFieldEnv::read(), and Chroma::ExternalFieldEnv::reader().
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ExternalFieldEnv::ConstantMagneticParams & | param | ||
) |
Reader.
void Chroma::ExternalFieldEnv::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ExternalFieldEnv::LinearElectricParams & | param | ||
) |
Reader.
Definition at line 80 of file extfield_aggregate_w.cc.
References Chroma::ExternalFieldEnv::LinearElectricParams::Efield, Chroma::ExternalFieldEnv::LinearElectricParams::patch, Chroma::ExternalFieldEnv::read(), Chroma::ExternalFieldEnv::LinearElectricParams::t_dir, Chroma::ExternalFieldEnv::LinearElectricParams::x_dir, and Chroma::ExternalFieldEnv::LinearElectricParams::x_src.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
MomWallQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
NormShellQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
PartialWallQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
PointQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
PointQuarkSourceSmearingEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
RandZ2WallQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
RandZNWallQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ShellQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ShellQuarkSourceSmearingEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
ShellZnGridQuarkSourceConstEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
StaggeredDerivQuarkDisplacementEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
StaggeredDerivQuarkDisplacementEnv::ParamsDir & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
StaggeredQuarkFlavorOpEnv::Params & | param | ||
) |
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
StaggeredQuarkFlavorOpEnv::ParamsOneIndex & | param | ||
) |
Reader.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
StaggeredQuarkFlavorOpEnv::ParamsTwoIndex & | param | ||
) |
Reader.
void Chroma::read | ( | XMLReader & | xml, |
const std::string & | path, | ||
WallQuarkSourceConstEnv::Params & | param | ||
) |
LatticePropagator Chroma::rightB | ( | const LatticePropagator & | F, |
const multi1d< LatticeColorMatrix > & | u, | ||
int | mu, | ||
int | length | ||
) |
Apply "D_i" operator to the right onto source.
where
// Slow implementation - to speed up could compute once the \nabla_j deriv for(int j=0; j < 3; ++j) for(int k=0; k < 3; ++k) { if (symTensor3d(mu,j,k) != 0) tmp += rightNabla(rightNabla(F,u,j,length), u,k,length); }
return tmp; }
Apply "B_i" operator to the right onto source /*!
where
Definition at line 549 of file displace.cc.
References Chroma::antiSymTensor3d(), F, j, Chroma::k, mu, Chroma::rightNabla(), Chroma::tmp, Chroma::u, and Chroma::zero.
Referenced by Chroma::DerivQuarkDisplacementEnv::RightBDisplace< T >::operator()(), Chroma::DerivQuarkDisplacementEnv::MesPionxBT1Displace< T >::operator()(), Chroma::DerivQuarkDisplacementEnv::MesRhoxBT1Displace< T >::operator()(), Chroma::DerivQuarkDisplacementEnv::MesRhoxBT2Displace< T >::operator()(), Chroma::DerivQuarkDisplacementEnv::MesA1xBA1Displace< T >::operator()(), Chroma::DerivQuarkDisplacementEnv::MesA1xBT1Displace< T >::operator()(), and Chroma::DerivQuarkDisplacementEnv::MesA1xBT2Displace< T >::operator()().
void Chroma::srcfil | ( | LatticeColorVector & | a, |
const multi1d< int > & | coord, | ||
int | color_index | ||
) |
Fill a specific color index with 1.0.
This routine is specific to Wilson fermions!
a | Source lattice Color Vector |
coord | Lattice coordinate |
color_index | Color index |
Definition at line 54 of file srcfil.cc.
References Chroma::a, coord(), Chroma::one, Chroma::QDP_error_exit(), and Chroma::zero.
void Chroma::srcfil | ( | LatticeFermion & | a, |
const multi1d< int > & | coord, | ||
int | color_index, | ||
int | spin_index | ||
) |
Fill a specific color and spin index with 1.0.
This routine is specific to Wilson fermions!
a | Source fermion |
coord | Lattice coordinate |
color_index | Color index |
spin_index | Spin index |
Definition at line 23 of file srcfil.cc.
References Chroma::a, coord(), Chroma::one, Chroma::QDP_error_exit(), and Chroma::zero.
Referenced by Chroma::compute_quark_propagator_s(), Chroma::compute_singlet_ps(), Chroma::compute_vary_singlet_ps(), create_stagg_source(), ks_compute_quark_propagator(), main(), Chroma::NormShellQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::PointQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::SFPointQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::SFShellQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::ShellQuarkSourceConstEnv::SourceConst< T >::operator()(), and Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()().
void Chroma::srcfil | ( | LatticeStaggeredFermion & | a, |
const multi1d< int > & | coord, | ||
int | color_index | ||
) |
Fill a specific color and spin index with 1.0.
Fill a specific color index with 1.0.
This routine is specific to Staggered fermions!
a | Source fermion |
coord | Lattice coordinate |
color_index | Color index |
This routine is specific to Staggered fermions!
a | Source lattice Color Vector |
coord | Lattice coordinate |
color_index | Color index |
Definition at line 81 of file srcfil.cc.
References Chroma::a, coord(), Chroma::one, Chroma::QDP_error_exit(), and Chroma::zero.
void Chroma::walfil | ( | LatticeFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index, | ||
int | spin_index | ||
) |
Fill a specific color and spin index with 1.0 on a wall.
This routine is specific to Wilson fermions!
a | Source fermion |
slice | time slice |
mu | direction of slice |
color_index | Color index |
spin_index | Spin index |
Definition at line 24 of file walfil_w.cc.
References Chroma::a, Chroma::END_CODE(), mu, Chroma::one, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::tmp, and Chroma::zero.
void Chroma::walfil | ( | LatticeStaggeredFermion & | a, |
int | slice, | ||
int | mu, | ||
int | color_index, | ||
int | src_index | ||
) |
Fill a specific color and spin index with 1.0 on a wall.
This routine is specific to Staggered fermions!
Fill a specific color index with 1.0, on sites at the corners of the cubes in a slice
a | Source fermion (write) |
slice | time slice |
mu | direction of slice |
color_index | Color index |
src_index | Index which defines which corner of a cube on the source time slice you want your source to be on. The std::mapping from src_index to site is lexicographic, i.e: 0 is (0,0,0), 1 is (1,0,0), 2 is (0,1,0), 3 is (1,1,0), 4 is (0,0,1), 5 is (1,0,1), 6 is (0,1,1) and 7 is (1,1,1). |
This is probably not the cleverest way to do this and realistically you are not interested in all the sources at once so you have to be careful to call this routine with the right index.
This routine is specific to Staggered fermions!
Fill a specific color index with 1.0, on sites in a slice where everything has even coordinates.
a | Source fermion (write) |
slice | time slice |
mu | direction of slice |
color_index | Color index |
src_index | Index which defines which corner of a cube on the source time slice you want your source to be on. The std::mapping from src_index to site is lexicographic, i.e: 0 is (0,0,0), 1 is (1,0,0), 2 is (0,1,0), 3 is (1,1,0), 4 is (0,0,1), 5 is (1,0,1), 6 is (0,1,1) and 7 is (1,1,1). |
Definition at line 36 of file walfil_s.cc.
References Chroma::a, Chroma::END_CODE(), m, mu, Nd, Chroma::one, Chroma::QDP_error_exit(), Chroma::START_CODE(), Chroma::tmp, and Chroma::zero.
Referenced by create_stagg_source(), Chroma::SFWallQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::SFWaveQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::WallQuarkSourceConstEnv::SourceConst< T >::operator()(), and Chroma::SFpcac().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const DerivQuarkDisplacementEnv::Params & | param | ||
) |
Writer.
Definition at line 27 of file deriv_quark_displacement_w.cc.
References Chroma::DerivQuarkDisplacementEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const DerivQuarkDisplacementEnv::ParamsDir & | param | ||
) |
Writer.
Definition at line 41 of file deriv_quark_displacement_w.cc.
References Chroma::DerivQuarkDisplacementEnv::ParamsDir::writeXML().
Referenced by Chroma::DerivQuarkDisplacementEnv::Params::writeXML(), and Chroma::DerivQuarkDisplacementEnv::ParamsDir::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const DiluteGridQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 33 of file diluteGrid_source_const.cc.
References Chroma::DiluteGridQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const DiluteZNEigVecQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 39 of file dilute_zN_eigvec_source_const.cc.
References Chroma::DiluteZNEigVecQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const DiluteZNQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 34 of file dilutezN_source_const.cc.
References Chroma::DiluteZNQuarkSourceConstEnv::Params::writeXML().
void Chroma::ExternalFieldEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ExternalFieldEnv::ConstantMagneticParams & | param | ||
) |
Writer.
Definition at line 64 of file extfield_aggregate_w.cc.
References Chroma::ExternalFieldEnv::ConstantMagneticParams::b_dir, Chroma::ExternalFieldEnv::ConstantMagneticParams::Bfield, Chroma::ExternalFieldEnv::ConstantMagneticParams::patch, Chroma::pop(), Chroma::push(), Chroma::ExternalFieldEnv::ConstantMagneticParams::t_dir, and Chroma::ExternalFieldEnv::ConstantMagneticParams::y_dir.
Referenced by Chroma::ExternalFieldEnv::write().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ExternalFieldEnv::ConstantMagneticParams & | param | ||
) |
Writer.
void Chroma::ExternalFieldEnv::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ExternalFieldEnv::LinearElectricParams & | param | ||
) |
Writer.
Definition at line 109 of file extfield_aggregate_w.cc.
References Chroma::ExternalFieldEnv::LinearElectricParams::Efield, Chroma::ExternalFieldEnv::LinearElectricParams::patch, Chroma::pop(), Chroma::push(), Chroma::ExternalFieldEnv::LinearElectricParams::t_dir, Chroma::ExternalFieldEnv::write(), Chroma::ExternalFieldEnv::LinearElectricParams::x_dir, and Chroma::ExternalFieldEnv::LinearElectricParams::x_src.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ExternalFieldEnv::LinearElectricParams & | param | ||
) |
Writer.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const MomWallQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 22 of file mom_source_const.cc.
References Chroma::MomWallQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const NormShellQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 35 of file norm_sh_source_const.cc.
References Chroma::NormShellQuarkSourceConstEnv::Params::writeXML().
Referenced by Chroma::NormShellQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const PartialWallQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 24 of file partwall_source_const.cc.
References Chroma::PartialWallQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const PointQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 29 of file pt_source_const.cc.
References Chroma::PointQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const PointQuarkSourceSmearingEnv::Params & | param | ||
) |
Writer.
Definition at line 28 of file pt_source_smearing.cc.
References Chroma::PointQuarkSourceSmearingEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const RandZ2WallQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 21 of file rndz2wall_source_const.cc.
References Chroma::RandZ2WallQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const RandZNWallQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 35 of file rndzNwall_source_const.cc.
References Chroma::RandZNWallQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ShellQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 35 of file sh_source_const.cc.
References Chroma::ShellQuarkSourceConstEnv::Params::writeXML().
Referenced by Chroma::ShellQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ShellQuarkSourceSmearingEnv::Params & | param | ||
) |
Writer.
Definition at line 34 of file sh_source_smearing.cc.
References Chroma::ShellQuarkSourceSmearingEnv::Params::writeXML().
Referenced by Chroma::ShellQuarkSourceSmearingEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const ShellZnGridQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 37 of file sh_zN_grid_source_const.cc.
References Chroma::ShellZnGridQuarkSourceConstEnv::Params::writeXML().
Referenced by Chroma::ShellZnGridQuarkSourceConstEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const StaggeredDerivQuarkDisplacementEnv::Params & | param | ||
) |
Writer.
Definition at line 22 of file deriv_quark_displacement_s.cc.
References Chroma::StaggeredDerivQuarkDisplacementEnv::Params::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const StaggeredDerivQuarkDisplacementEnv::ParamsDir & | param | ||
) |
Writer.
Definition at line 36 of file deriv_quark_displacement_s.cc.
References Chroma::StaggeredDerivQuarkDisplacementEnv::ParamsDir::writeXML().
Referenced by Chroma::StaggeredDerivQuarkDisplacementEnv::Params::writeXML(), and Chroma::StaggeredDerivQuarkDisplacementEnv::ParamsDir::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const StaggeredQuarkFlavorOpEnv::Params & | param | ||
) |
Writer.
Definition at line 22 of file quark_flavor_s.cc.
References Chroma::StaggeredQuarkFlavorOpEnv::Params::writeXML().
Referenced by Chroma::StaggeredQuarkFlavorOpEnv::Params::writeXML(), Chroma::StaggeredQuarkFlavorOpEnv::ParamsOneIndex::writeXML(), and Chroma::StaggeredQuarkFlavorOpEnv::ParamsTwoIndex::writeXML().
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const StaggeredQuarkFlavorOpEnv::ParamsOneIndex & | param | ||
) |
Writer.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const StaggeredQuarkFlavorOpEnv::ParamsTwoIndex & | param | ||
) |
Writer.
void Chroma::write | ( | XMLWriter & | xml, |
const std::string & | path, | ||
const WallQuarkSourceConstEnv::Params & | param | ||
) |
Writer.
Definition at line 22 of file wall_source_const.cc.
References Chroma::WallQuarkSourceConstEnv::Params::writeXML().
void Chroma::z2_src | ( | LatticeFermion & | a | ) |
Z2-source.
Definition at line 53 of file z2_src.cc.
References Chroma::a.
Referenced by Chroma::fill_volume_source(), main(), and Chroma::z2_src().
void Chroma::z2_src | ( | LatticeFermion & | a, |
int | slice, | ||
int | mu | ||
) |
Timeslice source of complex Z2 noise.
Z2-source.
This routine is specific to Wilson fermions!
a | Source fermion |
slice | time slice |
mu | direction of slice |
This type of source is useful for computing hadronic decay like diagrams.
QUARK MASS DEPENDENCE OF HADRON MASSES FROM LATTICE QCD. By UKQCD Collaboration (M. Foster et al.) Published in Phys.Rev.D59:074503,1999 e-Print Archive: hep-lat/9810021
Definition at line 86 of file z2_src.cc.
References Chroma::a, mu, Chroma::tmp, Chroma::z2_src(), and Chroma::zero.
void Chroma::z2_src | ( | LatticeStaggeredFermion & | a | ) |
void Chroma::z2_src_t | ( | T & | a | ) |
Volume source of complex Z2 noise.
This routine is specific to Wilson fermions!
a | Source fermion |
This type of source is required to compute disconnected diagrams. The source is complex Z2 noise, hence there is an additional normalization factor of 1/sqrt(2).
Definition at line 27 of file z2_src.cc.
References Chroma::a, Chroma::c, and Chroma::zero.
Complex Chroma::zN_rng | ( | int | N | ) |
Z(N)-rng.
Definition at line 12 of file zN_src.cc.
References Chroma::twopi.
Referenced by Chroma::DiluteZNEigVecQuarkSourceConstEnv::fill_laph_subspace_zN(), Chroma::InlineAnnihPropMatElemColorVecEnv::InlineMeas::func(), and Chroma::ShellZnGridQuarkSourceConstEnv::SourceConst< T >::operator()().
void Chroma::zN_src | ( | LatticeFermion & | a, |
int | N | ||
) |
Volume source of Z(N) noise.
Z(N)-source.
This routine is specific to Wilson fermions!
a | Source fermion |
N | The N in Z(N) |
This type of source is required to compute disconnected diagrams. The source is complex Z(N) noise, hence there is an additional normalization factor of 1/sqrt(N) or somesuch.
Definition at line 41 of file zN_src.cc.
References Chroma::a, Chroma::c, Chroma::twopi, and Chroma::zero.
Referenced by Chroma::InlineStochBaryon::func(), Chroma::InlineStochMeson::func(), Chroma::DilutionQuarkSourceConstEnv::ConstDilutionScheme::init(), main(), Chroma::DiluteZNQuarkSourceConstEnv::SourceConst< T >::operator()(), Chroma::StochCondContEnv::StochCondCont::operator()(), and Chroma::GroupBaryonOperatorEnv::GroupBaryonQQQ::operator()().