Class TempLat::ComplexField
template <typename T, size_t _NDim>
ClassList > TempLat > ComplexField
A class which implements complex-valued fields. More...
#include <complexfield.h>
Public Types
| Type | Name |
|---|---|
| typedef ComplexFieldGetter | Getter |
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | NDim = \_NDim |
| constexpr size_t | SHIFTIND = 0 |
| constexpr size_t | size = 2 |
Public Functions
| Type | Name |
|---|---|
| ComplexField (Field< T, NDim > f1, Field< T, NDim > f2) |
|
| ComplexField (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar=LatticeParameters< T >()) |
|
| auto & | ComplexFieldGet (Tag< 0 > t) |
| const auto & | ComplexFieldGet (Tag< 0 > t) const |
| auto & | ComplexFieldGet (Tag< 1 > t) |
| const auto & | ComplexFieldGet (Tag< 1 > t) const |
| DEVICE_INLINE_FUNCTION auto | eval (const IDX &... idx) const |
| auto | getDx () const |
| auto | getKIR () const |
| ComplexFieldFourierView< T, NDim > | inFourierSpace () |
| auto & | operator() (Tag< 0 > t) |
| const auto & | operator() (Tag< 0 > t) const |
| auto & | operator() (Tag< 1 > t) |
| const auto & | operator() (Tag< 1 > t) const |
| auto & | operator() (Tag< N > t) |
| const auto & | operator() (Tag< N > t) const |
| void | operator+= (R && r) |
| void | operator= (R && g) |
| void | setGhostsAreStale () |
| std::string | toString () const |
| void | updateGhosts () |
Detailed Description
Unit test: ctest -R test-complexfield
@vocab-summary A complex scalar field, stored as two real components. @vocab-signature ComplexField<T, NDim> psi("psi", toolBox);
Public Types Documentation
typedef Getter
Public Static Attributes Documentation
variable NDim
variable SHIFTIND
variable size
Public Functions Documentation
function ComplexField [1/2]
function ComplexField [2/2]
inline TempLat::ComplexField::ComplexField (
std::string name,
device::memory::host_ptr < MemoryToolBox < NDim > > toolBox,
LatticeParameters < T > pLatPar=LatticeParameters < T >()
)
function ComplexFieldGet [1/4]
function ComplexFieldGet [2/4]
function ComplexFieldGet [3/4]
function ComplexFieldGet [4/4]
function eval
template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::ComplexField::eval (
const IDX &... idx
) const
function getDx
function getKIR
function inFourierSpace
function operator()
function operator()
function operator()
function operator()
function operator()
function operator()
function operator+=
function operator=
function setGhostsAreStale
function toString
function updateGhosts
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/complexalgebra/complexfield.h