QUDA
1.0.0
|
Public Member Functions | |
__device__ __host__ constexpr int | operator() (int s, int parity) const |
Static Public Attributes | |
static constexpr int | spin_block_size = (fineSpin == 1 && coarseSpin == 2) ? 0 : fineSpin / coarseSpin |
Helper struct for dealing with spin coarsening. This helper should work with all types of fermions.
Definition at line 10 of file multigrid_helper.cuh.
|
inline |
Return the coarse spin coordinate from the fine spin coordinate
s | Fine spin coordinate |
parity | fine parity, for staggered |
Definition at line 20 of file multigrid_helper.cuh.
References parity, and quda::spin_mapper< fineSpin, coarseSpin >::spin_block_size.
|
static |
Definition at line 12 of file multigrid_helper.cuh.
Referenced by quda::spin_mapper< fineSpin, coarseSpin >::operator()().