Utility class template for a semidynamic vector with a maximum size N and a chosen dynamic size. More...
#include <MooseUtils.h>
Public Member Functions | |
SemidynamicVector (std::size_t size) | |
void | resize (std::size_t new_size) |
void | push_back (const T &v) |
template<typename... Args> | |
void | emplace_back (Args &&... args) |
std::size_t | max_size () const |
Private Types | |
typedef MetaPhysicL::DynamicStdArrayWrapper< T, MetaPhysicL::NWrapper< N > > | Parent |
Utility class template for a semidynamic vector with a maximum size N and a chosen dynamic size.
This container avoids heap allocation and is meant as a replacement for small local std::vector variables. By default this class uses value initialization
. This can be disabled using the third template parameter if uninitialized storage is acceptable,
Definition at line 1096 of file MooseUtils.h.
|
private |
Definition at line 1098 of file MooseUtils.h.
|
inline |
Definition at line 1101 of file MooseUtils.h.
|
inline |
Definition at line 1128 of file MooseUtils.h.
|
inline |
Definition at line 1135 of file MooseUtils.h.
|
inline |
Definition at line 1120 of file MooseUtils.h.
Referenced by AutomaticMortarGeneration::getNodalTangents().
|
inline |
Definition at line 1109 of file MooseUtils.h.