Struct TempLat::NumberCollection
template <typename T, int N>
ClassList > TempLat > NumberCollection
A lightweight fixed-size collection of Number<T> values. More...
#include <numbercollection.h>
Public Types
| Type | Name |
|---|---|
| typedef GetComponent | Getter |
Public Attributes
| Type | Name |
|---|---|
| std::array< Number< T >, N > | data = {} |
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | size = N |
Public Functions
| Type | Name |
|---|---|
| Number< T > & | getComp (Tag< M >) |
| const Number< T > & | getComp (Tag< M >) const |
| Number< T > & | operator() (Tag< M >) |
| const Number< T > & | operator() (Tag< M >) const |
| NumberCollection & | operator+= (R && r) |
| NumberCollection & | operator+= (ZeroType) |
| NumberCollection & | operator= (R && r) |
| NumberCollection & | operator= (const NumberCollection & other) |
Detailed Description
Mirrors FieldCollection's interface for the evolver's collection-level operations (Tag accessors, operator+=, list-algebra integration), but stores Number<T> instead of Field<T,NDIM>.
_Unit test: ctest -R test-numbercollection _
Public Types Documentation
typedef Getter
Public Attributes Documentation
variable data
Public Static Attributes Documentation
variable size
Public Functions Documentation
function getComp [1/2]
function getComp [2/2]
function operator()
function operator()
template<int M>
inline const Number < T > & TempLat::NumberCollection::operator() (
Tag < M >
) const
function operator+=
function operator+=
function operator=
function operator=
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/constants/numbercollection.h