|
QUDA
1.0.0
|
#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.
References quda::ColorSpinor< Float, Nc, Ns >::size.
Referenced by quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor().

|
inline |
Definition at line 35 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::data, and quda::ColorSpinor< Float, Nc, Ns >::size.
|
inline |
|
inline |
|
inline |
Definition at line 73 of file color_spinor_field_order.h.
References quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor(), and quda::ColorSpinor< Float, Nc, Ns >::operator=().

|
inline |
Definition at line 157 of file color_spinor_field_order.h.
References quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor(), quda::colorspinor_ghost_wrapper< Float, T >::dim, quda::colorspinor_ghost_wrapper< Float, T >::dir, quda::colorspinor_ghost_wrapper< Float, T >::field, quda::colorspinor_ghost_wrapper< Float, T >::ghost_idx, quda::ColorSpinor< Float, Nc, Ns >::operator=(), and quda::colorspinor_ghost_wrapper< Float, T >::parity.

|
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 |
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 |
Definition at line 62 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::size.
|
inline |
Definition at line 56 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::data, and quda::ColorSpinor< Float, Nc, Ns >::size.
|
inline |
Definition at line 48 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::data, and quda::ColorSpinor< Float, Nc, Ns >::size.
|
inline |
Definition at line 69 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::data, quda::ColorSpinor< Float, Nc, Ns >::operator=(), and quda::s.

|
inline |
Definition at line 40 of file color_spinor.h.
References quda::ColorSpinor< Float, Nc, Ns >::data, and quda::ColorSpinor< Float, Nc, Ns >::size.
Referenced by quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor(), quda::ColorSpinor< Float, Nc, 4 >::operator()(), quda::ColorSpinor< Float, Nc, 2 >::operator()(), and quda::ColorSpinor< Float, Nc, Ns >::operator-=().

|
inline |
Definition at line 67 of file color_spinor_field_order.h.
|
inline |
|
inline |
|
inline |
Definition at line 151 of file color_spinor_field_order.h.
References quda::colorspinor_ghost_wrapper< Float, T >::dim, quda::colorspinor_ghost_wrapper< Float, T >::dir, quda::colorspinor_ghost_wrapper< Float, T >::field, quda::colorspinor_ghost_wrapper< Float, T >::ghost_idx, and quda::colorspinor_ghost_wrapper< Float, T >::parity.
|
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.
Referenced by quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor(), quda::copyColorSpinor(), quda::copyColorSpinorKernel(), quda::operator*(), quda::operator+(), quda::ColorSpinor< Float, Nc, Ns >::operator+=(), quda::ColorSpinor< Float, Nc, Ns >::operator-(), quda::operator-(), quda::ColorSpinor< Float, Nc, Ns >::operator-=(), quda::ColorSpinor< Float, Nc, Ns >::operator=(), and quda::sigmaOprod().
|
static |
Definition at line 26 of file color_spinor.h.
Referenced by quda::ColorSpinor< Float, Nc, Ns >::ColorSpinor(), quda::ColorSpinor< Float, Nc, 4 >::ColorSpinor(), quda::ColorSpinor< Float, Nc, 2 >::ColorSpinor(), quda::ColorSpinor< Float, Nc, Ns >::operator*=(), quda::ColorSpinor< Float, Nc, 4 >::operator*=(), quda::ColorSpinor< Float, Nc, 2 >::operator*=(), quda::ColorSpinor< Float, Nc, Ns >::operator+=(), quda::ColorSpinor< Float, Nc, 4 >::operator+=(), quda::ColorSpinor< Float, Nc, 2 >::operator+=(), quda::ColorSpinor< Float, Nc, Ns >::operator-(), quda::ColorSpinor< Float, Nc, Ns >::operator=(), quda::ColorSpinor< Float, Nc, 4 >::operator=(), and quda::ColorSpinor< Float, Nc, 2 >::operator=().
1.8.13