SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
util.hpp File Reference
#include "../settings/settings.hpp"
#include "slide_aux.hpp"
#include "util_debug.hpp"
#include "units.hpp"
#include <string>
#include <iostream>
#include <array>
#include <vector>
#include <cmath>
Include dependency graph for util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  slide
 Slide namespace contains all the types, classes, and functions for the simulation framework.
 
namespace  slide::util
 

Functions

constexpr auto slide::abs_sqrt (auto x)
 
constexpr auto slide::sqr (auto x)
 
constexpr auto slide::cube (auto x)
 
template<typename T >
void slide::output_printer (const std::vector< T > &vec, const auto &save_path)
 
std::vector< double > slide::linstep (double x_min, double x_step, int Nstep)
 
std::vector< double > slide::logstep (double x_min, double x_step, int Nstep)
 
FixedData< double > slide::linspace_fix (double x1, double x2, int N)
 
template<size_t N>
constexpr std::array< double, N > slide::linspace (double x1, double x2)
 
FixedData< double > slide::range_fix (double x_min, double x_max, double x_step)
 
FixedData< double > slide::linstep_fix (double x_min, double x_step, int Nstep)
 
FixedData< double > slide::logstep_fix (double x_min, double x_step, int Nstep)
 
std::vector< double > slide::linspace (double x1, double x2, int N)