|
QUDA
1.0.0
|
#include <clover_field_order.h>

Public Member Functions | |
| FieldOrder (CloverField &A, bool inverse=false) | |
| CloverField & | Field () |
| __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 |
| __host__ double | norm1 (int dim=-1, bool global=true) const |
| Returns the L1 norm of the field. More... | |
| __host__ double | norm2 (int dim=-1, bool global=true) const |
| Returns the L2 norm suared of the field. More... | |
| __host__ double | abs_max (int dim=-1, bool global=true) const |
| Returns the Linfinity norm of the field. More... | |
| __host__ double | abs_min (int dim=-1, bool global=true) const |
| Returns the minimum absolute value of the field. More... | |
Protected Attributes | |
| CloverField & | A |
| const int | volumeCB |
| const Accessor< Float, nColor, nSpin, order > | accessor |
| bool | inverse |
| const QudaFieldLocation | location |
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 389 of file clover_field_order.h.
|
inline |
Constructor for the FieldOrder class
| field | The field that we are accessing |
Definition at line 404 of file clover_field_order.h.
|
inline |
Returns the Linfinity norm of the field.
| [in] | dim | Which dimension we are taking the Linfinity norm of (dummy for clover) |
Definition at line 507 of file clover_field_order.h.
References comm_allreduce_max(), and quda::clover::Accessor< Float, nColor, nSpin, order >::transform_reduce().
Referenced by quda::norm().


|
inline |
Returns the minimum absolute value of the field.
| [in] | dim | Which dimension we are taking the minimum abs of (dummy for clover) |
Definition at line 519 of file clover_field_order.h.
References comm_allreduce_min(), and quda::clover::Accessor< Float, nColor, nSpin, order >::transform_reduce().
Referenced by quda::norm().


|
inline |
Return the size of the allocation (parity left out and added as needed in Tunable::bytes)
Definition at line 472 of file clover_field_order.h.
|
inline |
Definition at line 408 of file clover_field_order.h.
|
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 463 of file clover_field_order.h.
References nColor.
|
inline |
Returns the L1 norm of the field.
| [in] | dim | Which dimension we are taking the norm of (dummy for clover) |
Definition at line 483 of file clover_field_order.h.
References comm_allreduce(), and quda::clover::Accessor< Float, nColor, nSpin, order >::transform_reduce().
Referenced by quda::norm().


|
inline |
Returns the L2 norm suared of the field.
| [in] | dim | Which dimension we are taking the norm of (dummy for clover) |
Definition at line 495 of file clover_field_order.h.
References comm_allreduce(), and quda::clover::Accessor< Float, nColor, nSpin, order >::transform_reduce().
Referenced by quda::norm().


|
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 420 of file clover_field_order.h.
|
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 439 of file clover_field_order.h.
|
inline |
|
inline |
|
protected |
An internal reference to the actual field we are accessing
Definition at line 393 of file clover_field_order.h.
|
protected |
Definition at line 395 of file clover_field_order.h.
|
protected |
Definition at line 396 of file clover_field_order.h.
|
protected |
Definition at line 397 of file clover_field_order.h.
|
protected |
Definition at line 394 of file clover_field_order.h.
1.8.13