CHROMA
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Chroma::DispColorVectorMap Class Reference

The displaced objects. More...

#include <disp_colvec_map.h>

Public Member Functions

 DispColorVectorMap (bool use_derivP, int disp_length, const multi1d< LatticeColorMatrix > &u_smr, const QDP::MapObject< int, EVPair< LatticeColorVector > > &eigen_source)
 Constructor for displaced std::map. More...
 
 ~DispColorVectorMap ()
 Destructor. More...
 
const LatticeColorVector getDispVector (const KeyDispColorVector_t &key)
 Accessor. More...
 

Protected Member Functions

const LatticeColorVector & displaceObject (const KeyDispColorVector_t &key)
 Displace an object. More...
 

Private Attributes

const QDP::MapObject< int, EVPair< LatticeColorVector > > & eigen_source
 Lattice color vectors. More...
 
const multi1d< LatticeColorMatrix > & u
 Gauge field. More...
 
int use_derivP
 Displacements or derivatives? More...
 
int displacement_length
 Displacement length. More...
 
std::map< KeyDispColorVector_t, ValDispColorVector_tdisp_src_map
 Maps of displaced color vectors. More...
 

Detailed Description

The displaced objects.

Definition at line 43 of file disp_colvec_map.h.

Constructor & Destructor Documentation

◆ DispColorVectorMap()

Chroma::DispColorVectorMap::DispColorVectorMap ( bool  use_derivP,
int  disp_length,
const multi1d< LatticeColorMatrix > &  u_smr,
const QDP::MapObject< int, EVPair< LatticeColorVector > > &  eigen_source 
)

Constructor for displaced std::map.

Definition at line 28 of file disp_colvec_map.cc.

◆ ~DispColorVectorMap()

Chroma::DispColorVectorMap::~DispColorVectorMap ( )
inline

Destructor.

Definition at line 53 of file disp_colvec_map.h.

Member Function Documentation

◆ displaceObject()

const LatticeColorVector & Chroma::DispColorVectorMap::displaceObject ( const KeyDispColorVector_t key)
protected

◆ getDispVector()

const LatticeColorVector Chroma::DispColorVectorMap::getDispVector ( const KeyDispColorVector_t key)

Member Data Documentation

◆ disp_src_map

std::map<KeyDispColorVector_t, ValDispColorVector_t> Chroma::DispColorVectorMap::disp_src_map
private

Maps of displaced color vectors.

Definition at line 76 of file disp_colvec_map.h.

Referenced by displaceObject().

◆ displacement_length

int Chroma::DispColorVectorMap::displacement_length
private

Displacement length.

Definition at line 73 of file disp_colvec_map.h.

Referenced by displaceObject(), and getDispVector().

◆ eigen_source

const QDP::MapObject<int,EVPair<LatticeColorVector> >& Chroma::DispColorVectorMap::eigen_source
private

Lattice color vectors.

Definition at line 64 of file disp_colvec_map.h.

Referenced by displaceObject(), and getDispVector().

◆ u

const multi1d<LatticeColorMatrix>& Chroma::DispColorVectorMap::u
private

Gauge field.

Definition at line 67 of file disp_colvec_map.h.

Referenced by displaceObject().

◆ use_derivP

int Chroma::DispColorVectorMap::use_derivP
private

Displacements or derivatives?

Definition at line 70 of file disp_colvec_map.h.

Referenced by displaceObject().


The documentation for this class was generated from the following files: