QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 917 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 918 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 926 of file clover_field_order.h.

References quda::CloverField::Bytes(), and quda::CloverField::V().

Here is the call graph for this function:

Member Function Documentation

◆ Bytes()

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

Definition at line 969 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 941 of file clover_field_order.h.

References quda::clover_wrapper< Float, T >::chirality.

◆ Mu2()

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

Definition at line 934 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 965 of file clover_field_order.h.

◆ Twisted()

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

Definition at line 933 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 919 of file clover_field_order.h.

◆ mu2

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

Definition at line 924 of file clover_field_order.h.

◆ stride

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

Definition at line 921 of file clover_field_order.h.

◆ twisted

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

Definition at line 923 of file clover_field_order.h.

◆ volumeCB

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

Definition at line 920 of file clover_field_order.h.


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