|
QUDA
0.9.0
|
#include <clover_field_order.h>

Public Member Functions | |
| FieldOrder (CloverField &A, bool inverse=false) | |
| CloverField & | Field () |
| virtual | ~FieldOrder () |
| __device__ __host__ const complex< Float > | operator() (int parity, int x, int s_row, int s_col, int c_row, int c_col) const |
| Read-only complex-member accessor function. More... | |
| __device__ __host__ complex< Float > | operator() (int dummy, int parity, int x, int s_row, int s_col, int c_row, int c_col) const |
| Read-only complex-member accessor function. This is a special variant that is compatible with the equivalent gauge::FieldOrder accessor so these can be used interchangebly in templated code. More... | |
| __device__ __host__ int | Ncolor () const |
| Complex-member accessor function. More... | |
| __device__ __host__ int | Volume () const |
| __device__ __host__ int | VolumeCB () const |
| size_t | Bytes () const |
Protected Attributes | |
| CloverField & | A |
| const int | volumeCB |
| const Accessor< Float, nColor, nSpin, order > | accessor |
This is a template driven generic clover field accessor. To deploy for a specifc field ordering, the two operator() accessors have to be specialized for that ordering.
Definition at line 268 of file clover_field_order.h.
|
inline |
Constructor for the FieldOrder class
| field | The field that we are accessing |
Definition at line 281 of file clover_field_order.h.
|
inlinevirtual |
Definition at line 286 of file clover_field_order.h.
|
inline |
Return the size of the allocation (parity left out and added as needed in Tunable::bytes)
Definition at line 350 of file clover_field_order.h.
References n, nColor, and quda::clover::FieldOrder< Float, nColor, nSpin, order >::volumeCB.
|
inline |
Definition at line 284 of file clover_field_order.h.
References quda::clover::FieldOrder< Float, nColor, nSpin, order >::A.
|
inline |
Complex-member accessor function.
| parity | Parity index |
| x | 1-d site index |
| s_row | row spin index |
| c_row | row color index |
| s_col | col spin index |
| c_col | col color indexReturns the number of field colors |
Definition at line 341 of file clover_field_order.h.
References nColor.
|
inline |
Read-only complex-member accessor function.
| parity | Parity index |
| x | 1-d site index |
| s_row | row spin index |
| c_row | row color index |
| s_col | col spin index |
| c_col | col color index |
Definition at line 298 of file clover_field_order.h.
References quda::clover::FieldOrder< Float, nColor, nSpin, order >::accessor, parity, and x.
|
inline |
Read-only complex-member accessor function. This is a special variant that is compatible with the equivalent gauge::FieldOrder accessor so these can be used interchangebly in templated code.
| dummy | Dummy parameter that is ignored |
| parity | Parity index |
| x | 1-d site index |
| s_row | row spin index |
| c_row | row color index |
| s_col | col spin index |
| c_col | col color index |
Definition at line 317 of file clover_field_order.h.
References quda::clover::FieldOrder< Float, nColor, nSpin, order >::accessor, parity, and x.
|
inline |
Returns the field volume
Definition at line 344 of file clover_field_order.h.
References quda::clover::FieldOrder< Float, nColor, nSpin, order >::volumeCB.
|
inline |
Returns the field volume
Definition at line 347 of file clover_field_order.h.
References quda::clover::FieldOrder< Float, nColor, nSpin, order >::volumeCB.
|
protected |
An internal reference to the actual field we are accessing
Definition at line 272 of file clover_field_order.h.
Referenced by quda::clover::FieldOrder< Float, nColor, nSpin, order >::Field().
|
protected |
Definition at line 274 of file clover_field_order.h.
Referenced by quda::clover::FieldOrder< Float, nColor, nSpin, order >::operator()().
|
protected |
1.8.14