QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
quda::TIFROrder< Float, length > Struct Template Reference

#include <gauge_field_order.h>

+ Inheritance diagram for quda::TIFROrder< Float, length >:

Public Types

typedef mapper< Float >::type RegType
 
- Public Types inherited from quda::LegacyOrder< Float, length >
typedef mapper< Float >::type RegType
 

Public Member Functions

 TIFROrder (const GaugeField &u, Float *gauge_=0, Float **ghost_=0)
 
 TIFROrder (const TIFROrder &order)
 
virtual ~TIFROrder ()
 
__device__ __host__ void load (RegType v[18], int x, int dir, int parity) const
 
__device__ __host__ void save (const RegType v[18], int x, int dir, int parity)
 
size_t Bytes () const
 
- Public Member Functions inherited from quda::LegacyOrder< Float, length >
 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 * gauge
 
const int volumeCB
 
const int Nc
 
const Float scale
 
- Public Attributes inherited from quda::LegacyOrder< Float, length >
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::TIFROrder< Float, length >

struct to define TIFR ordered gauge fields: [mu][parity][volumecb][col][row]

Definition at line 879 of file gauge_field_order.h.

Member Typedef Documentation

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

Definition at line 880 of file gauge_field_order.h.

Constructor & Destructor Documentation

template<typename Float , int length>
quda::TIFROrder< Float, length >::TIFROrder ( const GaugeField u,
Float *  gauge_ = 0,
Float **  ghost_ = 0 
)
inline

Definition at line 885 of file gauge_field_order.h.

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

Definition at line 890 of file gauge_field_order.h.

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

Definition at line 895 of file gauge_field_order.h.

Member Function Documentation

template<typename Float , int length>
size_t quda::TIFROrder< Float, length >::Bytes ( ) const
inline

Definition at line 918 of file gauge_field_order.h.

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

Definition at line 898 of file gauge_field_order.h.

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

Definition at line 908 of file gauge_field_order.h.

Member Data Documentation

template<typename Float , int length>
Float* quda::TIFROrder< Float, length >::gauge

Definition at line 881 of file gauge_field_order.h.

template<typename Float , int length>
const int quda::TIFROrder< Float, length >::Nc

Definition at line 883 of file gauge_field_order.h.

template<typename Float , int length>
const Float quda::TIFROrder< Float, length >::scale

Definition at line 884 of file gauge_field_order.h.

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

Definition at line 882 of file gauge_field_order.h.


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