QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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.

References Locator< oddBit >::full_coord, Locator< oddBit >::full_index, Locator< oddBit >::getCoordsFromHalfIndex(), and Locator< oddBit >::half_index.

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

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

◆ 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 Locator< oddBit >::local_dim.

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

Here is the caller graph for this function:

◆ 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 E1, E1h, E2, E3, and Locator< oddBit >::local_dim.

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

Here is the caller graph for this function:

◆ getFullFromHalfIndex()

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

Definition at line 674 of file hisq_force_reference2.cpp.

References Locator< oddBit >::cache(), Locator< oddBit >::full_index, and Locator< oddBit >::half_index.

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

Here is the call graph for this function:
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 E1, E2, E3, E4, errorQuda, Locator< oddBit >::getCoordsFromFullIndex(), and Locator< oddBit >::local_dim.

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.

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

◆ full_index

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

◆ half_index

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

◆ local_dim

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

◆ volume

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

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