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

#include <gauge_field_order.h>

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

Public Types

typedef mapper< Float >::type RegType
 
- Public Types inherited from quda::gauge::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)
 
__device__ __host__ gauge_wrapper< Float, MILCOrder< Float, length > > operator() (int dim, int x_cb, int parity)
 This accessor routine returns a gauge_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More...
 
__device__ __host__ const gauge_wrapper< Float, MILCOrder< Float, length > > operator() (int dim, int x_cb, int parity) const
 This accessor routine returns a const gauge_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations. More...
 
size_t Bytes () const
 
- Public Member Functions inherited from quda::gauge::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::gauge::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::gauge::MILCOrder< Float, length >

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

Definition at line 1508 of file gauge_field_order.h.

Member Typedef Documentation

◆ RegType

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

Definition at line 1509 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ MILCOrder() [1/2]

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

Definition at line 1513 of file gauge_field_order.h.

◆ MILCOrder() [2/2]

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

Definition at line 1516 of file gauge_field_order.h.

◆ ~MILCOrder()

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

Definition at line 1519 of file gauge_field_order.h.

Member Function Documentation

◆ Bytes()

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

Definition at line 1579 of file gauge_field_order.h.

References length.

◆ load()

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

◆ operator()() [1/2]

template<typename Float , int length>
__device__ __host__ gauge_wrapper<Float,MILCOrder<Float,length> > quda::gauge::MILCOrder< Float, length >::operator() ( int  dim,
int  x_cb,
int  parity 
)
inline

This accessor routine returns a gauge_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.

Parameters
[in]dirWhich dimension are we requesting
[in]x_cbCheckerboarded space-time index we are requesting
[in]parityParity we are requesting
Returns
Instance of a gauge_wrapper that curries in access to this field at the above coordinates.

Definition at line 1559 of file gauge_field_order.h.

References dim, and parity.

◆ operator()() [2/2]

template<typename Float , int length>
__device__ __host__ const gauge_wrapper<Float,MILCOrder<Float,length> > quda::gauge::MILCOrder< Float, length >::operator() ( int  dim,
int  x_cb,
int  parity 
) const
inline

This accessor routine returns a const gauge_wrapper to this object, allowing us to overload various operators for manipulating at the site level interms of matrix operations.

Parameters
[in]dirWhich dimension are we requesting
[in]x_cbCheckerboarded space-time index we are requesting
[in]parityParity we are requesting
Returns
Instance of a gauge_wrapper that curries in access to this field at the above coordinates.

Definition at line 1574 of file gauge_field_order.h.

References dim, and parity.

◆ save()

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

Member Data Documentation

◆ gauge

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

◆ geometry

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

◆ volumeCB

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

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