Class TempLat::VectorFieldCollection
template <class Arg, int N, int SHIFTIND, bool flatAssign>
ClassList > TempLat > VectorFieldCollection
A class which allows to make collections of vector fields. More...
#include <vectorfieldcollection.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 |
|---|---|
| VectorFieldCollection (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar=LatticeParameters< T >()) |
|
| auto | getComp (Tag< M > t) const |
| auto | operator() (Tag< M > t) const |
| void | operator+= (R && r) |
| void | operator= (R && r) |
| std::string | toString (device::Idx i) const |
Detailed Description
Unit test: ctest -R test-vectorfieldcollection
@vocab-summary \(N\) vector fields under one name; the two containers nest, as for a collection of gauge fields. @vocab-signature VectorFieldCollection<FieldType, N> Ws("Ws", toolBox); @vocab-tags Collection
Public Types Documentation
typedef Getter
typedef RT
using TempLat::VectorFieldCollection< Arg, N, SHIFTIND, flatAssign >::RT = GetGetReturnType<Arg>::type;
typedef T
using TempLat::VectorFieldCollection< Arg, N, SHIFTIND, flatAssign >::T = typename GetFloatType<RT>::type;
Public Static Attributes Documentation
variable NDim
variable size
Public Functions Documentation
function VectorFieldCollection
inline TempLat::VectorFieldCollection::VectorFieldCollection (
std::string name,
device::memory::host_ptr < MemoryToolBox < NDim > > toolBox,
LatticeParameters < T > pLatPar=LatticeParameters < T >()
)
function getComp
function operator()
function operator+=
function operator=
function toString
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/field/collections/vectorfieldcollection.h