preCICE v3.2.0
Loading...
Searching...
No Matches
ExportCSV.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "io/Export.hpp"
5#include "logging/Logger.hpp"
6
7namespace precice::io {
8
9class ExportCSV : public Export {
10public:
12 std::string_view participantName,
13 std::string_view location,
14 const mesh::Mesh &mesh,
15 ExportKind kind,
16 int frequency,
17 int rank,
18 int size);
19
20 void doExport(int index, double time) final override;
21
22 void exportSeries() const final override;
23
24private:
25 mutable logging::Logger _log{"io::ExportCSV"};
26};
27
28} // namespace precice::io
ExportCSV(std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
Definition ExportCSV.cpp:38
logging::Logger _log
Definition ExportCSV.hpp:25
void doExport(int index, double time) final override
Export the mesh and writes files.
Definition ExportCSV.cpp:48
void exportSeries() const final override
Export(std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
Definition Export.hpp:23
This class provides a lightweight logger.
Definition Logger.hpp:17
Container and creator for meshes.
Definition Mesh.hpp:38
provides Import and Export of the coupling mesh and data.
provides Mesh, Data and primitives.
contains the time interpolation logic.
Definition Sample.hpp:8