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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat > Struct Template Reference

#include <gauge_field_order.h>

Public Member Functions

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

Public Attributes

complex< storeFloat > * ghost [8]
 
const int volumeCB
 
int ghostVolumeCB [8]
 
Float scale
 
Float scale_inv
 
Accessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat > accessor
 

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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >

Definition at line 837 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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::GhostAccessor ( const GaugeField U,
void *  gauge_,
void **  ghost_ = 0 
)
inline

Definition at line 846 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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::GhostAccessor ( const GhostAccessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat > &  a)
inline

Definition at line 862 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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::operator() ( int  d,
int  parity,
int  x_cb,
int  row,
int  col 
)
inline

Definition at line 896 of file gauge_field_order.h.

◆ operator()() [2/2]

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

Definition at line 882 of file gauge_field_order.h.

◆ resetScale()

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

Definition at line 874 of file gauge_field_order.h.

Member Data Documentation

◆ accessor

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
Accessor<Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, storeFloat> quda::gauge::GhostAccessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::accessor

Definition at line 844 of file gauge_field_order.h.

◆ fixed

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

Definition at line 843 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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::ghost[8]

Definition at line 838 of file gauge_field_order.h.

◆ ghostVolumeCB

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

Definition at line 840 of file gauge_field_order.h.

◆ scale

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

Definition at line 841 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_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::scale_inv

Definition at line 842 of file gauge_field_order.h.

◆ volumeCB

template<typename Float , int nColor, bool native_ghost, typename storeFloat >
const int quda::gauge::GhostAccessor< Float, nColor, QUDA_FLOAT2_GAUGE_ORDER, native_ghost, storeFloat >::volumeCB

Definition at line 839 of file gauge_field_order.h.


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