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

#include <clover_field_order.h>

Public Types

typedef mapper< Float >::type RegType
 

Public Member Functions

 BQCDOrder (const CloverField &clover, bool inverse, Float *clover_=0)
 
bool Twisted () const
 
Float Mu2 () const
 
__device__ __host__ void load (RegType v[length], int x, int parity) const
 
__device__ __host__ void save (RegType v[length], int x, int parity)
 
size_t Bytes () const
 

Public Attributes

Float * clover [2]
 
const int volumeCB
 
const int stride
 
const bool twisted
 
const Float mu2
 

Detailed Description

template<typename Float, int length>
struct quda::clover::BQCDOrder< Float, length >

BQCD ordering for clover fields struct for reordering a BQCD clover matrix into the order that is expected by QUDA. As well as reordering the clover matrix elements, we are also changing basis.

Definition at line 717 of file clover_field_order.h.

Member Typedef Documentation

◆ RegType

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

Definition at line 718 of file clover_field_order.h.

Constructor & Destructor Documentation

◆ BQCDOrder()

template<typename Float , int length>
quda::clover::BQCDOrder< Float, length >::BQCDOrder ( const CloverField clover,
bool  inverse,
Float *  clover_ = 0 
)
inline

Member Function Documentation

◆ Bytes()

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

Definition at line 769 of file clover_field_order.h.

References length.

◆ load()

template<typename Float , int length>
__device__ __host__ void quda::clover::BQCDOrder< Float, length >::load ( RegType  v[length],
int  x,
int  parity 
) const
inline
Parameters
vThe output clover matrix in QUDA order
xThe checkerboarded lattice site
parityThe parity of the lattice site

Definition at line 741 of file clover_field_order.h.

References quda::clover::BQCDOrder< Float, length >::clover, fused_exterior_ndeg_tm_dslash_cuda_gen::i, length, parity, deg_tm_dslash_cuda_gen::sign(), and x.

Here is the call graph for this function:

◆ Mu2()

template<typename Float , int length>
Float quda::clover::BQCDOrder< Float, length >::Mu2 ( ) const
inline

◆ save()

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

Definition at line 765 of file clover_field_order.h.

◆ Twisted()

template<typename Float , int length>
bool quda::clover::BQCDOrder< Float, length >::Twisted ( ) const
inline

Member Data Documentation

◆ clover

template<typename Float , int length>
Float* quda::clover::BQCDOrder< Float, length >::clover[2]

◆ mu2

template<typename Float , int length>
const Float quda::clover::BQCDOrder< Float, length >::mu2

Definition at line 724 of file clover_field_order.h.

Referenced by quda::clover::BQCDOrder< Float, length >::Mu2().

◆ stride

template<typename Float , int length>
const int quda::clover::BQCDOrder< Float, length >::stride

Definition at line 721 of file clover_field_order.h.

◆ twisted

template<typename Float , int length>
const bool quda::clover::BQCDOrder< Float, length >::twisted

◆ volumeCB

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

Definition at line 720 of file clover_field_order.h.


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