QUDA  0.9.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Locator< oddBit > Struct Template Reference

Public Member Functions

 Locator (const int dim[4])
 
int getFullFromHalfIndex (int half_lattice_index)
 
int getNeighborFromFullIndex (int full_lattice_index, int dir, int *err=NULL)
 

Private Member Functions

void getCoordsFromHalfIndex (int half_index, int coord[4])
 
void getCoordsFromFullIndex (int full_index, int coord[4])
 
void cache (int half_lattice_index)
 

Private Attributes

int local_dim [4]
 
int volume
 
int half_index
 
int full_index
 
int full_coord [4]
 

Detailed Description

template<int oddBit>
struct Locator< oddBit >

Definition at line 571 of file hisq_force_reference2.cpp.

Constructor & Destructor Documentation

◆ Locator()

template<int oddBit>
Locator< oddBit >::Locator ( const int  dim[4])

Member Function Documentation

◆ cache()

template<int oddBit>
void Locator< oddBit >::cache ( int  half_lattice_index)
private

Definition at line 664 of file hisq_force_reference2.cpp.

◆ getCoordsFromFullIndex()

template<int oddBit>
void Locator< oddBit >::getCoordsFromFullIndex ( int  full_index,
int  coord[4] 
)
private

Definition at line 635 of file hisq_force_reference2.cpp.

References coord.

◆ getCoordsFromHalfIndex()

template<int oddBit>
void Locator< oddBit >::getCoordsFromHalfIndex ( int  half_index,
int  coord[4] 
)
private

Definition at line 603 of file hisq_force_reference2.cpp.

References coord, E1, E1h, E2, and E3.

◆ getFullFromHalfIndex()

template<int oddBit>
int Locator< oddBit >::getFullFromHalfIndex ( int  half_lattice_index)

Definition at line 674 of file hisq_force_reference2.cpp.

Referenced by computeAllLinkSite(), computeLongLinkSite(), computeMiddleLinkSite(), and computeSideLinkSite().

Here is the caller graph for this function:

◆ getNeighborFromFullIndex()

template<int oddBit>
int Locator< oddBit >::getNeighborFromFullIndex ( int  full_lattice_index,
int  dir,
int err = NULL 
)

Definition at line 682 of file hisq_force_reference2.cpp.

References coord, E1, E2, E3, E4, err, errorQuda, and exit().

Referenced by computeAllLinkSite(), computeLongLinkSite(), computeMiddleLinkSite(), and computeSideLinkSite().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ full_coord

template<int oddBit>
int Locator< oddBit >::full_coord[4]
private

Definition at line 578 of file hisq_force_reference2.cpp.

◆ full_index

template<int oddBit>
int Locator< oddBit >::full_index
private

Definition at line 577 of file hisq_force_reference2.cpp.

◆ half_index

template<int oddBit>
int Locator< oddBit >::half_index
private

Definition at line 576 of file hisq_force_reference2.cpp.

◆ local_dim

template<int oddBit>
int Locator< oddBit >::local_dim[4]
private

Definition at line 574 of file hisq_force_reference2.cpp.

Referenced by Locator< oddBit >::Locator().

◆ volume

template<int oddBit>
int Locator< oddBit >::volume
private

Definition at line 575 of file hisq_force_reference2.cpp.

Referenced by Locator< oddBit >::Locator().


The documentation for this struct was generated from the following file: