SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
CellData.hpp
Go to the documentation of this file.
1/*
2 * CellData.hpp
3 *
4 * Created on: 13 Apr 2022
5 * Author(s): Jorn Reniers, Volkan Kumtepeli
6 */
7
8#pragma once
9
10#include "CellDataStorage.hpp"
11#include "CellDataWriter.hpp"
12#include "../../settings/enum_definitions.hpp"
13
14#include <string>
15
16namespace slide {
17template <settings::cellDataStorageLevel N>
18struct CellData : public CellDataStorage<N>
19{
20 auto writeData(auto &cell, const std::string &prefix)
21 {
22 CellDataWriter<N>::writeData(cell, prefix, *this);
23 }
24};
25} // namespace slide
Slide namespace contains all the types, classes, and functions for the simulation framework.
Definition: Cell.hpp:27
Definition: CellDataStorage.hpp:23
static void writeData(auto &cell, const std::string &prefix, auto &storage)
Definition: CellDataWriter.hpp:65
Definition: CellData.hpp:19
auto writeData(auto &cell, const std::string &prefix)
Definition: CellData.hpp:20