CHROMA
|
Shell source smearing. More...
#include <sh_source_smearing.h>
Public Member Functions | |
SourceSmearing (const Params &p, const multi1d< LatticeColorMatrix > &u) | |
Full constructor. More... | |
void | operator() (T &obj) const |
Construct the source. More... | |
void | operator() (LatticePropagator &quark_source) const |
Smear the source. More... | |
void | operator() (LatticeStaggeredPropagator &quark_source) const |
Smear the source. More... | |
void | operator() (LatticeFermion &quark_source) const |
Smear the source. More... | |
Public Member Functions inherited from Chroma::QuarkSourceSink< T > | |
virtual | ~QuarkSourceSink () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
SourceSmearing () | |
Hide partial constructor. More... | |
Private Attributes | |
Params | params |
multi1d< LatticeColorMatrix > | u_smr |
Additional Inherited Members | |
Protected Member Functions inherited from Chroma::QuarkSourceSink< T > | |
virtual void | create (multi1d< LatticeColorMatrix > &u, const GroupXML_t &link_smearing) |
Potentially smear the gauge field. More... | |
Shell source smearing.
A shell source smearing of a quark.
Definition at line 48 of file sh_source_smearing.h.
|
inline |
Full constructor.
Definition at line 52 of file sh_source_smearing.h.
References Chroma::QuarkSourceSink< T >::create(), Chroma::ShellQuarkSourceSmearingEnv::Params::link_smearing, Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< T >::params, and Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< T >::u_smr.
|
inlineprivate |
Hide partial constructor.
Definition at line 63 of file sh_source_smearing.h.
|
virtual |
Smear the source.
Implements Chroma::QuarkSourceSink< T >.
Definition at line 331 of file sh_source_smearing.cc.
References Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::MINUS, Chroma::AsqtadFermActEnv::name, params, Chroma::GroupXML_t::path, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_displacement, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smear_lastP, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smearing, and Chroma::GroupXML_t::xml.
void Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< LatticePropagator >::operator() | ( | LatticePropagator & | quark_source | ) | const |
Smear the source.
Definition at line 202 of file sh_source_smearing.cc.
References Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::MINUS, Chroma::AsqtadFermActEnv::name, params, Chroma::GroupXML_t::path, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_displacement, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smear_lastP, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smearing, and Chroma::GroupXML_t::xml.
void Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< LatticeStaggeredPropagator >::operator() | ( | LatticeStaggeredPropagator & | quark_source | ) | const |
Smear the source.
Definition at line 267 of file sh_source_smearing.cc.
References Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::MINUS, Chroma::AsqtadFermActEnv::name, params, Chroma::GroupXML_t::path, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_displacement, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smear_lastP, Chroma::ShellQuarkSourceSmearingEnv::Params::quark_smearing, and Chroma::GroupXML_t::xml.
|
virtual |
Construct the source.
Implements Chroma::QuarkSourceSink< T >.
|
private |
source params
Definition at line 66 of file sh_source_smearing.h.
Referenced by Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< T >::SourceSmearing().
|
private |
hold a smeared copy for efficiency
Definition at line 67 of file sh_source_smearing.h.
Referenced by Chroma::ShellQuarkSourceSmearingEnv::SourceSmearing< T >::SourceSmearing().