CHROMA
|
Cache for distillation. More...
#include <disp_soln_cache.h>
Public Member Functions | |
DispSolnCache (const multi1d< LatticeColorMatrix > &u_smr, const LatticeColorVectorSpinMatrix &soln_) | |
Default constructor. More... | |
virtual | ~DispSolnCache () |
Destructor. More... | |
const LatticeColorVectorSpinMatrix & | getDispVector (bool use_derivP, const multi1d< int > &mom, const std::vector< int > &disp) |
Accessor. More... | |
Protected Member Functions | |
const LatticeColorVectorSpinMatrix & | displaceObject (const KeyDispSolnVector_t &key) |
Displace an object. More... | |
Private Attributes | |
int | displacement_length |
Displacement length. More... | |
const multi1d< LatticeColorMatrix > & | u |
Gauge field. More... | |
const LatticeColorVectorSpinMatrix & | soln |
QDP::MapObjectMemory< KeyDispSolnVector_t, LatticeColorVectorSpinMatrix > | disp_src_map |
Unsmeared vectors. More... | |
Cache for distillation.
Holds unsmeared distillation solution vectors
Definition at line 51 of file disp_soln_cache.h.
Chroma::DispSolnCache::DispSolnCache | ( | const multi1d< LatticeColorMatrix > & | u_smr, |
const LatticeColorVectorSpinMatrix & | soln_ | ||
) |
Default constructor.
Definition at line 54 of file disp_soln_cache.cc.
|
inlinevirtual |
Destructor.
Definition at line 59 of file disp_soln_cache.h.
|
protected |
Displace an object.
Accessor.
Definition at line 77 of file disp_soln_cache.cc.
References Chroma::d, disp_src_map, Chroma::displace(), Chroma::KeyDispSolnVector_t::displacement, displacement_length, Chroma::leftRightNabla(), Chroma::KeyDispSolnVector_t::mom, soln, u, and Chroma::KeyDispSolnVector_t::use_derivP.
Referenced by getDispVector().
const LatticeColorVectorSpinMatrix & Chroma::DispSolnCache::getDispVector | ( | bool | use_derivP, |
const multi1d< int > & | mom, | ||
const std::vector< int > & | disp | ||
) |
Accessor.
Definition at line 63 of file disp_soln_cache.cc.
References Chroma::KeyDispSolnVector_t::displacement, displaceObject(), Chroma::KeyDispSolnVector_t::mom, and Chroma::KeyDispSolnVector_t::use_derivP.
Referenced by Chroma::InlineUnsmearedHadronNodeDistillationEnv::InlineMeas::func().
|
private |
|
private |
Displacement length.
Definition at line 71 of file disp_soln_cache.h.
Referenced by displaceObject().
|
private |
Definition at line 77 of file disp_soln_cache.h.
Referenced by displaceObject().
|
private |