preCICE v3.2.0
|
Abstract base class of all classes exporting container data structures. More...
#include <Export.hpp>
Classes | |
struct | Record |
Public Types | |
enum struct | ExportKind : bool { TimeWindows , Iterations } |
Public Member Functions | |
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 | |
Export & | operator= (const Export &)=delete |
Export & | operator= (Export &&)=delete |
virtual void | doExport (int index, double time)=0 |
Export the mesh and writes files. | |
virtual void | exportSeries () const =0 |
Protected Member Functions | |
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 | |
std::string | _participantName |
std::string | _location |
const mesh::Mesh *const | _mesh |
ExportKind | _kind |
int | _frequency |
int | _rank |
int | _size |
std::vector< Record > | _records |
Abstract base class of all classes exporting container data structures.
Definition at line 14 of file Export.hpp.
|
strong |
Enumerator | |
---|---|
TimeWindows | |
Iterations |
Definition at line 18 of file Export.hpp.
|
virtualdefault |
|
inline |
Definition at line 23 of file Export.hpp.
|
delete |
|
delete |
|
pure virtual |
Export the mesh and writes files.
[in] | index | the index of this iteration or time window |
[in] | time | the associated time of this time window |
Implemented in precice::io::ExportCSV, precice::io::ExportVTK, and precice::io::ExportXML.
|
pure virtual |
Implemented in precice::io::ExportCSV, precice::io::ExportVTK, and precice::io::ExportXML.
|
protected |
|
protected |
Definition at line 7 of file Export.cpp.
|
inlineprotected |
Definition at line 59 of file Export.hpp.
|
protected |
Definition at line 44 of file Export.cpp.
|
protected |
|
protected |
Definition at line 68 of file Export.hpp.
|
protected |
Definition at line 67 of file Export.hpp.
|
protected |
Definition at line 65 of file Export.hpp.
|
protected |
Definition at line 66 of file Export.hpp.
|
protected |
Definition at line 64 of file Export.hpp.
|
protected |
Definition at line 69 of file Export.hpp.
|
protected |
Definition at line 77 of file Export.hpp.
|
protected |
Definition at line 70 of file Export.hpp.