QUDA  v1.1.0
A library for QCD on GPUs
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 862 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 863 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

Definition at line 871 of file clover_field_order.h.

Member Function Documentation

◆ Bytes()

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

Definition at line 917 of file clover_field_order.h.

◆ 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 889 of file clover_field_order.h.

◆ Mu2()

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

Definition at line 882 of file clover_field_order.h.

◆ 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 913 of file clover_field_order.h.

◆ Twisted()

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

Definition at line 881 of file clover_field_order.h.

Member Data Documentation

◆ clover

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

Definition at line 864 of file clover_field_order.h.

◆ mu2

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

Definition at line 869 of file clover_field_order.h.

◆ stride

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

Definition at line 866 of file clover_field_order.h.

◆ twisted

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

Definition at line 868 of file clover_field_order.h.

◆ volumeCB

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

Definition at line 865 of file clover_field_order.h.


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