|
QUDA
1.0.0
|
fieldorder_wrapper is an internal class that is used to wrap instances of FieldOrder accessors, currying in the specific location on the field. This is used as a helper class for fixed-point accessors providing the necessary conversion and scaling when writing to a fixed-point field. More...
#include <complex_quda.h>

Public Member Functions | |
| __device__ __host__ | fieldorder_wrapper (complex< storeFloat > *v, int idx, Float scale, Float scale_inv) |
| fieldorder_wrapper constructor More... | |
| __device__ __host__ Float | real () const |
| __device__ __host__ Float | imag () const |
| __device__ __host__ complex< Float > | operator- () const |
| negation operator More... | |
| __device__ __host__ void | operator= (const fieldorder_wrapper< Float, storeFloat > &a) |
| Assignment operator with fieldorder_wrapper instance as input. More... | |
| template<typename theirFloat > | |
| __device__ __host__ void | operator= (const complex< theirFloat > &a) |
| Assignment operator with complex number instance as input. More... | |
| template<typename theirFloat > | |
| __device__ __host__ void | operator+= (const complex< theirFloat > &a) |
| Operator+= with complex number instance as input. More... | |
| template<typename theirFloat > | |
| __device__ __host__ void | operator-= (const complex< theirFloat > &a) |
| Operator-= with complex number instance as input. More... | |
Public Attributes | |
| complex< storeFloat > * | v |
| const int | idx |
| const Float | scale |
| const Float | scale_inv |
Static Public Attributes | |
| static constexpr bool | fixed = fixed_point<Float,storeFloat>() |
fieldorder_wrapper is an internal class that is used to wrap instances of FieldOrder accessors, currying in the specific location on the field. This is used as a helper class for fixed-point accessors providing the necessary conversion and scaling when writing to a fixed-point field.
Definition at line 32 of file complex_quda.h.
|
inline |
fieldorder_wrapper constructor
| idx | Field index |
Definition at line 246 of file gauge_field_order.h.
|
inline |
Definition at line 257 of file gauge_field_order.h.
Referenced by quda::complex< double >::complex(), quda::complex< float >::complex(), quda::gauge::operator*(), quda::gauge::operator+(), quda::gauge::fieldorder_wrapper< Float, storeFloat >::operator=(), quda::complex< double >::operator=(), and quda::complex< float >::operator=().

|
inline |
Operator+= with complex number instance as input.
| a | Complex number we want to add to this accessor |
Definition at line 299 of file gauge_field_order.h.
|
inline |
negation operator
Definition at line 269 of file gauge_field_order.h.
|
inline |
Operator-= with complex number instance as input.
| a | Complex number we want to subtract from this accessor |
Definition at line 312 of file gauge_field_order.h.
|
inline |
Assignment operator with fieldorder_wrapper instance as input.
| a | fieldorder_wrapper we are copying from |
Definition at line 277 of file gauge_field_order.h.
References quda::gauge::fieldorder_wrapper< Float, storeFloat >::idx, quda::gauge::fieldorder_wrapper< Float, storeFloat >::imag(), quda::gauge::fieldorder_wrapper< Float, storeFloat >::real(), and quda::gauge::fieldorder_wrapper< Float, storeFloat >::v.

|
inline |
Assignment operator with complex number instance as input.
| a | Complex number we want to store in this accessor |
Definition at line 286 of file gauge_field_order.h.
|
inline |
Definition at line 249 of file gauge_field_order.h.
Referenced by quda::complex< double >::complex(), quda::complex< float >::complex(), quda::gauge::operator*(), quda::gauge::operator+(), quda::gauge::fieldorder_wrapper< Float, storeFloat >::operator=(), quda::complex< double >::operator=(), and quda::complex< float >::operator=().

|
static |
Definition at line 240 of file gauge_field_order.h.
| const int quda::gauge::fieldorder_wrapper< Float, storeFloat >::idx |
Definition at line 237 of file gauge_field_order.h.
Referenced by quda::gauge::operator*(), quda::gauge::operator+(), and quda::gauge::fieldorder_wrapper< Float, storeFloat >::operator=().
| const Float quda::gauge::fieldorder_wrapper< Float, storeFloat >::scale |
Definition at line 238 of file gauge_field_order.h.
| const Float quda::gauge::fieldorder_wrapper< Float, storeFloat >::scale_inv |
Definition at line 239 of file gauge_field_order.h.
| complex<storeFloat>* quda::gauge::fieldorder_wrapper< Float, storeFloat >::v |
Definition at line 236 of file gauge_field_order.h.
Referenced by quda::gauge::operator*(), quda::gauge::operator+(), and quda::gauge::fieldorder_wrapper< Float, storeFloat >::operator=().
1.8.13