SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
slide::DEG_ID::DegArray Struct Reference

DegArray class derived from SmallVector to handle degradation model arrays. More...

#include <DEG_ID.hpp>

Inheritance diagram for slide::DEG_ID::DegArray:
[legend]
Collaboration diagram for slide::DEG_ID::DegArray:
[legend]

Public Member Functions

void add_model (data_t elem)
 Adds a model to the array. More...
 
- Public Member Functions inherited from slide::SmallVector< data_t, len >
 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

- Public Attributes inherited from slide::SmallVector< data_t, len >
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...
 

Detailed Description

DegArray class derived from SmallVector to handle degradation model arrays.

Member Function Documentation

◆ add_model()

void slide::DEG_ID::DegArray::add_model ( data_t  elem)
inline

Adds a model to the array.

Parameters
elemModel identification number.

< If element is 0 then there is no need to add.

< #TODO better push_back needed.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: