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::MILCOrder< Float, length > Struct Template Reference

#include <gauge_field_order.h>

+ Inheritance diagram for quda::MILCOrder< 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

 MILCOrder (const GaugeField &u, Float *gauge_=0, Float **ghost_=0)
 
 MILCOrder (const MILCOrder &order)
 
virtual ~MILCOrder ()
 
__device__ __host__ void load (RegType v[length], int x, int dir, int parity) const
 
__device__ __host__ void save (const RegType v[length], 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 geometry
 
- 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::MILCOrder< Float, length >

struct to define MILC ordered gauge fields: [parity][dim][volumecb][row][col]

Definition at line 752 of file gauge_field_order.h.

Member Typedef Documentation

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

Definition at line 753 of file gauge_field_order.h.

Constructor & Destructor Documentation

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

Definition at line 757 of file gauge_field_order.h.

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

Definition at line 760 of file gauge_field_order.h.

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

Definition at line 763 of file gauge_field_order.h.

Member Function Documentation

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

Definition at line 777 of file gauge_field_order.h.

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

Definition at line 765 of file gauge_field_order.h.

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

Definition at line 771 of file gauge_field_order.h.

Member Data Documentation

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

Definition at line 754 of file gauge_field_order.h.

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

Definition at line 756 of file gauge_field_order.h.

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

Definition at line 755 of file gauge_field_order.h.


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