SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
slide::SmallVector< T, Nmax > Class Template Reference

#include <SmallVector.hpp>

Public Member Functions

 SmallVector ()=default
 
 SmallVector (T N)
 
void push_back (const T &&elem)
 
auto & operator[] (T idx)
 
auto empty ()
 
const auto & operator[] (T idx) const noexcept
 
constexpr auto begin () noexcept
 
constexpr auto cbegin () const noexcept
 
constexpr auto end ()
 
constexpr auto cend () const noexcept
 

Public Attributes

N { 0 }
 number of degradation models to use (length of SEI_ID) #TODO if default should be 1 and array initialised with 0. More...
 

Constructor & Destructor Documentation

◆ SmallVector() [1/2]

template<typename T , T Nmax>
slide::SmallVector< T, Nmax >::SmallVector ( )
default

◆ SmallVector() [2/2]

template<typename T , T Nmax>
slide::SmallVector< T, Nmax >::SmallVector ( N)
inline

Member Function Documentation

◆ begin()

template<typename T , T Nmax>
constexpr auto slide::SmallVector< T, Nmax >::begin ( )
inlineconstexprnoexcept

◆ cbegin()

template<typename T , T Nmax>
constexpr auto slide::SmallVector< T, Nmax >::cbegin ( ) const
inlineconstexprnoexcept

◆ cend()

template<typename T , T Nmax>
constexpr auto slide::SmallVector< T, Nmax >::cend ( ) const
inlineconstexprnoexcept

◆ empty()

template<typename T , T Nmax>
auto slide::SmallVector< T, Nmax >::empty ( )
inline
Here is the caller graph for this function:

◆ end()

template<typename T , T Nmax>
constexpr auto slide::SmallVector< T, Nmax >::end ( )
inlineconstexpr

◆ operator[]() [1/2]

template<typename T , T Nmax>
auto & slide::SmallVector< T, Nmax >::operator[] ( idx)
inline

◆ operator[]() [2/2]

template<typename T , T Nmax>
const auto & slide::SmallVector< T, Nmax >::operator[] ( idx) const
inlinenoexcept

◆ push_back()

template<typename T , T Nmax>
void slide::SmallVector< T, Nmax >::push_back ( const T &&  elem)
inline

Member Data Documentation

◆ N

template<typename T , T Nmax>
T slide::SmallVector< T, Nmax >::N { 0 }

number of degradation models to use (length of SEI_ID) #TODO if default should be 1 and array initialised with 0.


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