![]() |
SLIDE
3.0.0
A simulator for lithium-ion battery pack degradation
|
DegArray class derived from SmallVector to handle degradation model arrays. More...
#include <DEG_ID.hpp>
Public Member Functions | |
void | add_model (data_t elem) |
Adds a model to the array. More... | |
![]() | |
SmallVector ()=default | |
SmallVector (data_t N) | |
void | push_back (const data_t &&elem) |
auto & | operator[] (data_t idx) |
const auto & | operator[] (data_t idx) const noexcept |
auto | empty () |
constexpr auto | begin () noexcept |
constexpr auto | cbegin () const noexcept |
constexpr auto | end () |
constexpr auto | cend () const noexcept |
Additional Inherited Members | |
![]() | |
data_t | N |
number of degradation models to use (length of SEI_ID) #TODO if default should be 1 and array initialised with 0. More... | |
DegArray class derived from SmallVector to handle degradation model arrays.
|
inline |
Adds a model to the array.
elem | Model identification number. |
< If element is 0 then there is no need to add.
< #TODO better push_back needed.