preCICE v3.2.0
Loading...
Searching...
No Matches
precice::io::ExportCSV Class Reference

#include <ExportCSV.hpp>

Inheritance diagram for precice::io::ExportCSV:
[legend]
Collaboration diagram for precice::io::ExportCSV:
[legend]

Public Member Functions

 ExportCSV (std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
void doExport (int index, double time) final override
 Export the mesh and writes files.
void exportSeries () const final override
Public Member Functions inherited from precice::io::Export
virtual ~Export ()=default
 Export (std::string_view participantName, std::string_view location, const mesh::Mesh &mesh, ExportKind kind, int frequency, int rank, int size)
 Export (const Export &)=delete
 Export (Export &&)=delete
Exportoperator= (const Export &)=delete
Exportoperator= (Export &&)=delete

Private Attributes

logging::Logger _log {"io::ExportCSV"}

Additional Inherited Members

Public Types inherited from precice::io::Export
enum struct  ExportKind : bool { TimeWindows , Iterations }
Protected Member Functions inherited from precice::io::Export
bool isParallel () const
std::string formatIndex (int index) const
bool keepExport (int index) const
void writeSeriesFile (std::string_view filename) const
void recordExport (std::string filename, double time)
Protected Attributes inherited from precice::io::Export
std::string _participantName
std::string _location
const mesh::Mesh *const _mesh
ExportKind _kind
int _frequency
int _rank
int _size
std::vector< Record_records

Detailed Description

Definition at line 9 of file ExportCSV.hpp.

Constructor & Destructor Documentation

◆ ExportCSV()

precice::io::ExportCSV::ExportCSV ( std::string_view participantName,
std::string_view location,
const mesh::Mesh & mesh,
ExportKind kind,
int frequency,
int rank,
int size )

Definition at line 38 of file ExportCSV.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ doExport()

void precice::io::ExportCSV::doExport ( int index,
double time )
finaloverridevirtual

Export the mesh and writes files.

Parameters
[in]indexthe index of this iteration or time window
[in]timethe associated time of this time window

Implements precice::io::Export.

Definition at line 48 of file ExportCSV.cpp.

Here is the call graph for this function:

◆ exportSeries()

void precice::io::ExportCSV::exportSeries ( ) const
finaloverridevirtual

Implements precice::io::Export.

Definition at line 131 of file ExportCSV.cpp.

Member Data Documentation

◆ _log

logging::Logger precice::io::ExportCSV::_log {"io::ExportCSV"}
mutableprivate

Definition at line 25 of file ExportCSV.hpp.


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