QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat > Struct Template Reference

#include <gauge_field_order.h>

Public Member Functions

 GhostAccessor (const GaugeField &U, void *gauge_=0, void **ghost_=0)
 
 GhostAccessor (const GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat > &a)
 
void resetScale (Float max)
 
__device__ __host__ complex< Float > operator() (int d, int parity, int x, int row, int col) const
 
__device__ __host__ fieldorder_wrapper< Float, storeFloat > operator() (int d, int parity, int x, int row, int col)
 

Public Attributes

complex< storeFloat > * ghost [8]
 
int ghostOffset [8]
 
Float scale
 
Float scale_inv
 

Static Public Attributes

static constexpr bool fixed = fixed_point<Float,storeFloat>()
 

Detailed Description

template<typename Float, int nColor, bool native_ghost, typename storeFloat>
struct quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >

Definition at line 488 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ GhostAccessor() [1/2]

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::GhostAccessor ( const GaugeField U,
void *  gauge_ = 0,
void **  ghost_ = 0 
)
inline

Definition at line 495 of file gauge_field_order.h.

◆ GhostAccessor() [2/2]

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::GhostAccessor ( const GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat > &  a)
inline

Definition at line 511 of file gauge_field_order.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
__device__ __host__ fieldorder_wrapper<Float,storeFloat> quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::operator() ( int  d,
int  parity,
int  x,
int  row,
int  col 
)
inline

Definition at line 538 of file gauge_field_order.h.

◆ operator()() [2/2]

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
__device__ __host__ complex<Float> quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::operator() ( int  d,
int  parity,
int  x,
int  row,
int  col 
) const
inline

Definition at line 528 of file gauge_field_order.h.

◆ resetScale()

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
void quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::resetScale ( Float  max)
inline

Definition at line 521 of file gauge_field_order.h.

Member Data Documentation

◆ fixed

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
constexpr bool quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::fixed = fixed_point<Float,storeFloat>()
staticconstexpr

Definition at line 493 of file gauge_field_order.h.

◆ ghost

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
complex<storeFloat>* quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::ghost[8]

Definition at line 489 of file gauge_field_order.h.

◆ ghostOffset

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
int quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::ghostOffset[8]

Definition at line 490 of file gauge_field_order.h.

◆ scale

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
Float quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::scale

Definition at line 491 of file gauge_field_order.h.

◆ scale_inv

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
Float quda::gauge::GhostAccessor< Float, nColor, QUDA_QDP_GAUGE_ORDER, native_ghost, storeFloat >::scale_inv

Definition at line 492 of file gauge_field_order.h.


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