CHROMA
|
Cache for holding time slice eigenvectors. More...
#include <timeslice_io_cache.h>
Public Member Functions | |
TimeSliceIOCache (QDP::MapObjectDisk< KeyTimeSliceColorVec_t, LatticeColorVector > &eigen_source_) | |
Constructor. More... | |
virtual | ~TimeSliceIOCache () |
Virtual destructor. More... | |
virtual int | getNumVecs () const |
Get number of vectors. More... | |
virtual LatticeColorVector & | getVec (int colorvec) |
Get the whole std::vector. More... | |
virtual LatticeColorVector & | getVec (int t_actual, int colorvec) |
Get a std::vector. More... | |
Private Attributes | |
QDP::MapObjectDisk< KeyTimeSliceColorVec_t, TimeSliceIO< LatticeColorVector > > & | eigen_source |
multi1d< LatticeColorVector > | eigen_cache |
multi2d< bool > | cache_marker |
int | num_vecs |
Cache for holding time slice eigenvectors.
Definition at line 21 of file timeslice_io_cache.h.
Chroma::TimeSliceIOCache::TimeSliceIOCache | ( | QDP::MapObjectDisk< KeyTimeSliceColorVec_t, LatticeColorVector > & | eigen_source_ | ) |
Constructor.
Definition at line 13 of file timeslice_io_cache.cc.
References cache_marker, Chroma::KeyTimeSliceColorVec_t::colorvec, eigen_cache, eigen_source, n, Nd, num_vecs, t, Chroma::KeyTimeSliceColorVec_t::t_slice, and Chroma::zero.
|
inlinevirtual |
Virtual destructor.
Definition at line 28 of file timeslice_io_cache.h.
|
inlinevirtual |
|
virtual |
Get the whole std::vector.
Definition at line 56 of file timeslice_io_cache.cc.
References eigen_cache.
|
virtual |
Get a std::vector.
Definition at line 62 of file timeslice_io_cache.cc.
References cache_marker, Chroma::KeyTimeSliceColorVec_t::colorvec, eigen_cache, eigen_source, and Chroma::KeyTimeSliceColorVec_t::t_slice.
|
private |
Definition at line 45 of file timeslice_io_cache.h.
Referenced by getVec(), and TimeSliceIOCache().
|
private |
Definition at line 44 of file timeslice_io_cache.h.
Referenced by getVec(), and TimeSliceIOCache().
|
private |
Definition at line 41 of file timeslice_io_cache.h.
Referenced by getVec(), and TimeSliceIOCache().
|
private |
Definition at line 46 of file timeslice_io_cache.h.
Referenced by getNumVecs(), and TimeSliceIOCache().