QUDA
v1.1.0
A library for QCD on GPUs
|
#include <color_spinor.h>
Public Member Functions | |
__device__ __host__ | ColorSpinor () |
__device__ __host__ | ColorSpinor (const ColorSpinor< Float, Nc, Ns > &a) |
__device__ __host__ ColorSpinor< Float, Nc, Ns > & | operator= (const ColorSpinor< Float, Nc, Ns > &a) |
__device__ __host__ ColorSpinor< Float, Nc, Ns > | operator- () const |
__device__ __host__ ColorSpinor< Float, Nc, Ns > & | operator+= (const ColorSpinor< Float, Nc, Ns > &a) |
template<typename T > | |
__device__ __host__ ColorSpinor< Float, Nc, Ns > & | operator*= (const T &a) |
__device__ __host__ ColorSpinor< Float, Nc, Ns > & | operator-= (const ColorSpinor< Float, Nc, Ns > &a) |
template<typename S > | |
__device__ __host__ | ColorSpinor (const colorspinor_wrapper< Float, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const colorspinor_wrapper< Float, S > &s) |
template<typename S > | |
__device__ __host__ | ColorSpinor (const colorspinor_ghost_wrapper< Float, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const colorspinor_ghost_wrapper< Float, S > &s) |
__device__ __host__ complex< Float > & | operator() (int s, int c) |
2-d accessor functor More... | |
__device__ __host__ const complex< Float > & | operator() (int s, int c) const |
2-d accessor functor More... | |
__device__ __host__ complex< Float > & | operator() (int idx) |
1-d accessor functor More... | |
__device__ __host__ const complex< Float > & | operator() (int idx) const |
1-d accessor functor More... | |
__device__ __host__ void | print () const |
Prints the NsxNc complex elements of the color spinor. More... | |
template<typename S > | |
__device__ __host__ void | operator= (const colorspinor_wrapper< T, S > &a) |
template<typename S > | |
__device__ __host__ | ColorSpinor (const colorspinor_wrapper< T, S > &a) |
template<typename S > | |
__device__ __host__ void | operator= (const colorspinor_ghost_wrapper< T, S > &a) |
template<typename S > | |
__device__ __host__ | ColorSpinor (const colorspinor_ghost_wrapper< T, S > &a) |
Public Attributes | |
complex< Float > | data [size] |
Static Public Attributes | |
static constexpr int | size = Nc * Ns |
This is the generic declaration of ColorSpinor.
Definition at line 24 of file color_spinor.h.
|
inline |
Definition at line 29 of file color_spinor.h.
|
inline |
Definition at line 35 of file color_spinor.h.
|
inline |
|
inline |
|
inline |
Definition at line 73 of file color_spinor_field_order.h.
|
inline |
Definition at line 157 of file color_spinor_field_order.h.
|
inline |
1-d accessor functor
[in] | idx | Index |
Definition at line 111 of file color_spinor.h.
|
inline |
1-d accessor functor
[in] | idx | Index |
Definition at line 118 of file color_spinor.h.
|
inline |
2-d accessor functor
[in] | s | Spin index |
[in] | c | Color index |
Definition at line 96 of file color_spinor.h.
|
inline |
2-d accessor functor
[in] | s | Spin index |
[in] | c | Color index |
Definition at line 104 of file color_spinor.h.
|
inline |
Definition at line 62 of file color_spinor.h.
|
inline |
Definition at line 56 of file color_spinor.h.
|
inline |
Definition at line 48 of file color_spinor.h.
|
inline |
Definition at line 69 of file color_spinor.h.
|
inline |
Definition at line 40 of file color_spinor.h.
|
inline |
|
inline |
Definition at line 151 of file color_spinor_field_order.h.
|
inline |
|
inline |
Definition at line 67 of file color_spinor_field_order.h.
|
inline |
Prints the NsxNc complex elements of the color spinor.
Definition at line 123 of file color_spinor.h.
complex<Float> quda::ColorSpinor< Float, Nc, Ns >::data[size] |
Definition at line 27 of file color_spinor.h.
|
staticconstexpr |
Definition at line 26 of file color_spinor.h.