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

#include <XYdata.hpp>

Public Member Functions

 XYdata ()=default
 
 XYdata (size_t N)
 
 XYdata (Tx &x_, Ty &y_)
 XYdata(FixedData x, Ty y) : is_fixed(true), x(x), y(y) {} #TODO this should be on but error in GCC. More...
 
void reserve (int n)
 
void clear ()
 
void resize (size_t n)
 
double interp (double x_i, bool print=false, bool bound=true)
 
auto size () const
 
void check_is_fixed ()
 
template<typename Tpath >
void setCurve (Tpath &&path)
 

Public Attributes

Tx x
 
Ty y
 

Constructor & Destructor Documentation

◆ XYdata() [1/3]

template<typename Tx , typename Ty >
slide::XYdata< Tx, Ty >::XYdata ( )
default

◆ XYdata() [2/3]

template<typename Tx , typename Ty >
slide::XYdata< Tx, Ty >::XYdata ( size_t  N)
inlineexplicit

◆ XYdata() [3/3]

template<typename Tx , typename Ty >
slide::XYdata< Tx, Ty >::XYdata ( Tx &  x_,
Ty &  y_ 
)
inline

XYdata(FixedData x, Ty y) : is_fixed(true), x(x), y(y) {} #TODO this should be on but error in GCC.

Here is the call graph for this function:

Member Function Documentation

◆ check_is_fixed()

template<typename Tx , typename Ty >
void slide::XYdata< Tx, Ty >::check_is_fixed ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

template<typename Tx , typename Ty >
void slide::XYdata< Tx, Ty >::clear ( )
inline
Here is the caller graph for this function:

◆ interp()

template<typename Tx , typename Ty >
double slide::XYdata< Tx, Ty >::interp ( double  x_i,
bool  print = false,
bool  bound = true 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserve()

template<typename Tx , typename Ty >
void slide::XYdata< Tx, Ty >::reserve ( int  n)
inline
Here is the caller graph for this function:

◆ resize()

template<typename Tx , typename Ty >
void slide::XYdata< Tx, Ty >::resize ( size_t  n)
inline

◆ setCurve()

template<typename Tx , typename Ty >
template<typename Tpath >
void slide::XYdata< Tx, Ty >::setCurve ( Tpath &&  path)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

template<typename Tx , typename Ty >
auto slide::XYdata< Tx, Ty >::size ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ x

template<typename Tx , typename Ty >
Tx slide::XYdata< Tx, Ty >::x

◆ y

template<typename Tx , typename Ty >
Ty slide::XYdata< Tx, Ty >::y

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