QUDA  0.9.0
Public Types | Public Member Functions | Public Attributes | List of all members
quda::gauge::LegacyOrder< Float, length > Struct Template Reference

#include <gauge_field_order.h>

Inheritance diagram for quda::gauge::LegacyOrder< Float, length >:
Inheritance graph
[legend]

Public Types

typedef mapper< Float >::type RegType
 

Public Member Functions

 LegacyOrder (const GaugeField &u, Float **ghost_)
 
 LegacyOrder (const LegacyOrder &order)
 
virtual ~LegacyOrder ()
 
__device__ __host__ void loadGhost (RegType v[length], int x, int dir, int parity) const
 
__device__ __host__ void saveGhost (const RegType v[length], int x, int dir, int parity)
 
__device__ __host__ void loadGhostEx (RegType v[length], int x, int dummy, int dir, int dim, int g, int parity, const int R[]) const
 
__device__ __host__ void saveGhostEx (const RegType v[length], int x, int dummy, int dir, int dim, int g, int parity, const int R[])
 

Public Attributes

Float * ghost [QUDA_MAX_DIM]
 
int faceVolumeCB [QUDA_MAX_DIM]
 
const int volumeCB
 
const int stride
 
const int geometry
 
const int hasPhase
 

Detailed Description

template<typename Float, int length>
struct quda::gauge::LegacyOrder< Float, length >

The LegacyOrder defines the ghost zone storage and ordering for all cpuGaugeFields, which use the same ghost zone storage.

Definition at line 1276 of file gauge_field_order.h.

Member Typedef Documentation

◆ RegType

template<typename Float , int length>
typedef mapper<Float>::type quda::gauge::LegacyOrder< Float, length >::RegType

Definition at line 1277 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ LegacyOrder() [1/2]

template<typename Float , int length>
quda::gauge::LegacyOrder< Float, length >::LegacyOrder ( const GaugeField u,
Float **  ghost_ 
)
inline

◆ LegacyOrder() [2/2]

template<typename Float , int length>
quda::gauge::LegacyOrder< Float, length >::LegacyOrder ( const LegacyOrder< Float, length > &  order)
inline

◆ ~LegacyOrder()

template<typename Float , int length>
virtual quda::gauge::LegacyOrder< Float, length >::~LegacyOrder ( )
inlinevirtual

Definition at line 1304 of file gauge_field_order.h.

Member Function Documentation

◆ loadGhost()

template<typename Float , int length>
__device__ __host__ void quda::gauge::LegacyOrder< Float, length >::loadGhost ( RegType  v[length],
int  x,
int  dir,
int  parity 
) const
inline

◆ loadGhostEx()

template<typename Float , int length>
__device__ __host__ void quda::gauge::LegacyOrder< Float, length >::loadGhostEx ( RegType  v[length],
int  x,
int  dummy,
int  dir,
int  dim,
int  g,
int  parity,
const int  R[] 
) const
inline

◆ saveGhost()

template<typename Float , int length>
__device__ __host__ void quda::gauge::LegacyOrder< Float, length >::saveGhost ( const RegType  v[length],
int  x,
int  dir,
int  parity 
)
inline

◆ saveGhostEx()

template<typename Float , int length>
__device__ __host__ void quda::gauge::LegacyOrder< Float, length >::saveGhostEx ( const RegType  v[length],
int  x,
int  dummy,
int  dir,
int  dim,
int  g,
int  parity,
const int  R[] 
)
inline

Member Data Documentation

◆ faceVolumeCB

template<typename Float , int length>
int quda::gauge::LegacyOrder< Float, length >::faceVolumeCB[QUDA_MAX_DIM]

◆ geometry

template<typename Float , int length>
const int quda::gauge::LegacyOrder< Float, length >::geometry

◆ ghost

template<typename Float , int length>
Float* quda::gauge::LegacyOrder< Float, length >::ghost[QUDA_MAX_DIM]

◆ hasPhase

template<typename Float , int length>
const int quda::gauge::LegacyOrder< Float, length >::hasPhase

Definition at line 1283 of file gauge_field_order.h.

◆ stride

template<typename Float , int length>
const int quda::gauge::LegacyOrder< Float, length >::stride

Definition at line 1281 of file gauge_field_order.h.

◆ volumeCB

template<typename Float , int length>
const int quda::gauge::LegacyOrder< Float, length >::volumeCB

Definition at line 1280 of file gauge_field_order.h.


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