Class TempLat::FieldCollection
template <class Arg, int N, bool flatAssign, int SHIFTIND>
ClassList > TempLat > FieldCollection
A class which Field collections. Allows to have collection of composite vector fields as well.More...
#include <fieldcollection.h>
Public Types
| Type | Name |
|---|---|
| typedef GetComponent | Getter |
| typedef GetGetReturnType< Arg >::type | RT |
| typedef typename GetFloatType< RT >::type | T |
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | NDim = GetNDim::get<Arg>() |
| constexpr size_t | size = N |
Public Functions
| Type | Name |
|---|---|
| FieldCollection (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar=LatticeParameters< T >()) |
|
| FieldCollection (const FieldCollection &) = default |
|
| FieldCollection (FieldCollection &&) noexcept |
|
| auto | getComp (Tag< M > t) |
| auto | operator() (Tag< M > t) const |
| void | operator+= (R && r) |
| FieldCollection & | operator= (FieldCollection &&) noexcept |
| void | operator= (R && r) |
| void | operator= (const FieldCollection< Arg, N, flatAssign, SHIFTIND > & other) |
| auto | operator[] (Tag< M > t) const |
| std::string | toString (device::Idx i) const |
| ~FieldCollection () = default |
Detailed Description
Unit test: ctest -R test-fieldcollection
@vocab-summary \(N\) fields of any one type under a single tag-indexed name. @vocab-signature FieldCollection<FieldType, N> coll("coll", toolBox); @vocab-tags Collection
Public Types Documentation
typedef Getter
typedef RT
typedef T
using TempLat::FieldCollection< Arg, N, flatAssign, SHIFTIND >::T = typename GetFloatType<RT>::type;
Public Static Attributes Documentation
variable NDim
variable size
Public Functions Documentation
function FieldCollection [1/3]
inline TempLat::FieldCollection::FieldCollection (
std::string name,
device::memory::host_ptr < MemoryToolBox < NDim > > toolBox,
LatticeParameters < T > pLatPar=LatticeParameters < T >()
)
function FieldCollection [2/3]
function FieldCollection [3/3]
function getComp
function operator()
function operator+=
function operator=
function operator=
function operator=
inline void TempLat::FieldCollection::operator= (
const FieldCollection < Arg, N, flatAssign, SHIFTIND > & other
)
function operator[]
function toString
function ~FieldCollection
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/field/collections/fieldcollection.h