lds::UniformSystemList #
Inherits from std::vector< System >
Public Functions #
Name | |
---|---|
UniformSystemList() =default Constructs a new UniformSystemList. |
|
UniformSystemList(const std::vector< System > & systems, std::array< size_t, 3 > dim ={0, 0, 0}) Constructs a new UniformSystemList by copying existing vector of System if dimensions consistent. |
|
UniformSystemList(std::vector< System > && systems, std::array< size_t, 3 > dim ={0, 0, 0}) Constructs a new UniformSystemList by moving existing vector of System if dimensions consistent. |
|
UniformSystemList(std::initializer_list< System > systems, std::array< size_t, 3 > dim ={0, 0, 0}) Constructs a new UniformSystemList from initializer_list of System if dimensions consistent. |
|
UniformSystemList(const UniformSystemList & that) Constructs a new UniformSystemList (copy). |
|
UniformSystemList(UniformSystemList && that) Constructs a new UniformSystemList (move). |
|
~UniformSystemList() =default Destroys the object. |
|
const std::array< size_t, 3 > & | dim() const gets dimensions of the uniformly sized systems |
size_t | size() size of container |
const System & | at(size_t n) gets reference to n^th element |
void | Swap(System & that, size_t n) swaps input system with n^th system of list |
UniformSystemList & | operator=(const UniformSystemList & that) assigns the contents (copy) |
UniformSystemList & | operator=(UniformSystemList && that) assigns the contents (move) |
Detailed Description #
template <typename System>
class lds::UniformSystemList;
Public Function Details #
UniformSystemList #
UniformSystemList() =default
UniformSystemList #
explicit UniformSystemList(
const std::vector< System > & systems,
std::array< size_t, 3 > dim ={0, 0, 0}
)
Parameters:
- systems input systems
- dim dimensions (n_u, n_x, n_y)
UniformSystemList #
explicit UniformSystemList(
std::vector< System > && systems,
std::array< size_t, 3 > dim ={0, 0, 0}
)
Parameters:
- systems input systems
- dim dimensions (n_u, n_x, n_y)
UniformSystemList #
UniformSystemList(
std::initializer_list< System > systems,
std::array< size_t, 3 > dim ={0, 0, 0}
)
Parameters:
- systems input systems
- dim dimensions (n_u, n_x, n_y)
UniformSystemList #
UniformSystemList(
const UniformSystemList & that
)
Parameters:
- that another UniformSystemList
UniformSystemList #
UniformSystemList(
UniformSystemList && that
)
Parameters:
- that another UniformSystemList
~UniformSystemList #
~UniformSystemList() =default
dim #
inline const std::array< size_t, 3 > & dim() const
size #
inline size_t size()
at #
inline const System & at(
size_t n
)
Swap #
inline void Swap(
System & that,
size_t n
)
Parameters:
- that input system
- n index where the system is moved
operator= #
inline UniformSystemList & operator=(
const UniformSystemList & that
)
Parameters:
- that another UniformSystemList
Return: reference to object
operator= #
inline UniformSystemList & operator=(
UniformSystemList && that
)
Parameters:
- that another UniformSystemList
Return: reference to object
Updated on 19 May 2022 at 17:16:04 Eastern Daylight Time