|
__device__ __host__ | ColorSpinor () |
|
__device__ __host__ | ColorSpinor (const ColorSpinor< Float, Nc, 4 > &a) |
|
__device__ __host__ ColorSpinor< Float, Nc, 4 > & | operator= (const ColorSpinor< Float, Nc, 4 > &a) |
|
__device__ __host__ ColorSpinor< Float, Nc, 4 > & | operator+= (const ColorSpinor< Float, Nc, 4 > &a) |
|
template<typename T > |
__device__ __host__ ColorSpinor< Float, Nc, 4 > & | operator*= (const T &a) |
|
__device__ __host__ ColorSpinor< Float, Nc, 4 > | gamma (int dim) |
|
__device__ __host__ ColorSpinor< Float, Nc, 4 > | igamma (int dim) |
|
__device__ __host__ ColorSpinor< Float, Nc, 2 > | chiral_project (int chirality) const |
| Project four-component spinor to either chirality. More...
|
|
__device__ __host__ ColorSpinor< Float, Nc, 2 > | project (int dim, int sign) const |
|
__device__ __host__ ColorSpinor< Float, Nc, 4 > | sigma (int mu, int nu) |
|
__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...
|
|
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__ void | toNonRel () |
| Transform from relativistic into non-relavisitic basis Required normalization factor of 1/2 included in clover normalization. More...
|
|
__device__ __host__ void | toRel () |
| Transform from non-relativistic into relavisitic basis. More...
|
|
__device__ __host__ void | print () const |
|
template<typename Float, int Nc>
struct quda::ColorSpinor< Float, Nc, 4 >
This is the specialization for Nspin=4. For fields with four spins we can define a spin projection operation.
Definition at line 137 of file color_spinor.h.
template<typename Float , int Nc>
Return this spinor multiplied by sigma(mu,nu)
- Parameters
-
mu | mu direction |
nu | nu direction |
sigma(0,1) = i 0 0 0 0 -i 0 0 0 0 i 0 0 0 0 -i
sigma(0,2) = 0 -1 0 0 1 0 0 0 0 0 0 -1 0 0 1 0
sigma(0,3) = 0 0 0 -i 0 0 -i 0 0 -i i 0 -i 0 0 0
sigma(1,2) = 0 i 0 0 i 0 0 0 0 0 0 i 0 0 i 0
sigma(1,3) = 0 0 0 -1 0 0 1 0 0 -1 0 0 1 0 0 0
sigma(2,3) = 0 0 -i 0 0 0 0 i -i 0 0 0 0 i 0 0
Definition at line 451 of file color_spinor.h.