QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | Public Attributes | List of all members
quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase > Struct Template Reference

Gauge reconstruct 13 helper where we reconstruct the third row from the cross product of the first two rows, and include a non-trivial phase factor. More...

#include <gauge_field_order.h>

Public Types

using real = typename mapper< Float >::type
 
using complex = complex< real >
 

Public Member Functions

 Reconstruct (const GaugeField &u)
 
 Reconstruct (const Reconstruct< 13, Float, ghostExchange_, stag_phase > &recon)
 
__device__ __host__ void Pack (real out[12], const complex in[9], int idx) const
 
template<typename I >
__device__ __host__ void Unpack (complex out[9], const real in[12], int idx, int dir, real phase, const I *X, const int *R) const
 
__device__ __host__ real getPhase (const complex in[9]) const
 

Public Attributes

const Reconstruct< 12, Float, ghostExchange_ > reconstruct_12
 
const real scale
 
const real scale_inv
 

Detailed Description

template<typename Float, QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
struct quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >

Gauge reconstruct 13 helper where we reconstruct the third row from the cross product of the first two rows, and include a non-trivial phase factor.

Template Parameters
FloatStorage format (e.g., double, float, short)
ghostExchange_optional template the ghostExchange type to avoid the run-time overhead

Definition at line 1498 of file gauge_field_order.h.

Member Typedef Documentation

◆ complex

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
using quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::complex = complex<real>

Definition at line 1500 of file gauge_field_order.h.

◆ real

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
using quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::real = typename mapper<Float>::type

Definition at line 1499 of file gauge_field_order.h.

Constructor & Destructor Documentation

◆ Reconstruct() [1/2]

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::Reconstruct ( const GaugeField u)
inline

Definition at line 1505 of file gauge_field_order.h.

◆ Reconstruct() [2/2]

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::Reconstruct ( const Reconstruct< 13, Float, ghostExchange_, stag_phase > &  recon)
inline

Definition at line 1506 of file gauge_field_order.h.

Member Function Documentation

◆ getPhase()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
__device__ __host__ real quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::getPhase ( const complex  in[9]) const
inline

Definition at line 1552 of file gauge_field_order.h.

◆ Pack()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
__device__ __host__ void quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::Pack ( real  out[12],
const complex  in[9],
int  idx 
) const
inline

Definition at line 1513 of file gauge_field_order.h.

◆ Unpack()

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
template<typename I >
__device__ __host__ void quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::Unpack ( complex  out[9],
const real  in[12],
int  idx,
int  dir,
real  phase,
const I *  X,
const int *  R 
) const
inline

Definition at line 1519 of file gauge_field_order.h.

Member Data Documentation

◆ reconstruct_12

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const Reconstruct<12, Float, ghostExchange_> quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::reconstruct_12

Definition at line 1501 of file gauge_field_order.h.

◆ scale

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const real quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::scale

Definition at line 1502 of file gauge_field_order.h.

◆ scale_inv

template<typename Float , QudaGhostExchange ghostExchange_, QudaStaggeredPhase stag_phase>
const real quda::gauge::Reconstruct< 13, Float, ghostExchange_, stag_phase >::scale_inv

Definition at line 1503 of file gauge_field_order.h.


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