SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
read_CSVfiles.hpp File Reference
#include "../../types/matrix.hpp"
#include "../util_debug.hpp"
#include <string>
#include <iostream>
#include <fstream>
#include <cassert>
#include <sstream>
#include <vector>
#include <map>
#include <span>
#include <cstring>
Include dependency graph for read_CSVfiles.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  slide::XYplain
 struct Data More...
 

Namespaces

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

Functions

template<typename Tpath >
std::string slide::getFileContents (const Tpath &name)
 
auto slide::getFile (std::string name)
 
template<typename Tpath , typename T , size_t ROW, size_t COL>
void slide::loadCSV_mat (const Tpath &name, Matrix< T, ROW, COL > &x)
 
template<typename Tpath , typename T , size_t ROW>
void slide::loadCSV_1col (const Tpath &name, std::array< T, ROW > &x)
 
void slide::ignoreBOM (std::ifstream &in)
 
template<typename Tpath , typename Tx , typename Ty >
void slide::loadCSV_2col (const Tpath &name, Tx &x, Ty &y, int n=0)
 
template<typename Tpath , typename Tx >
void slide::loadCSV_Ncol (const Tpath &name, DynamicMatrix< Tx > &x, int n=0)
 
template<typename Tpath >
void slide::loadCSV_2col (const Tpath &name, std::span< double > &x, std::span< double > &y, int n=0)