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 1074 of file MooseUtils.h.
|
private |
Definition at line 1076 of file MooseUtils.h.
|
inline |
Definition at line 1079 of file MooseUtils.h.
|
inline |
Definition at line 1106 of file MooseUtils.h.
|
inline |
Definition at line 1113 of file MooseUtils.h.
|
inline |
Definition at line 1098 of file MooseUtils.h.
Referenced by AutomaticMortarGeneration::getNodalTangents().
|
inline |
Definition at line 1087 of file MooseUtils.h.