preCICE
v3.2.0
Loading...
Searching...
No Matches
src
io
ExportContext.hpp
Go to the documentation of this file.
1
#ifndef PRECICE_IO_EXPORTCONTEXT_HPP_
2
#define PRECICE_IO_EXPORTCONTEXT_HPP_
3
4
#include <
string
>
5
#include "
io/SharedPointer.hpp
"
6
7
namespace
precice::io
{
8
9
struct
ExportContext
{
10
// @brief Exporters performing the actual export.
11
io::PtrExport
exporter
;
12
13
// @brief Path to export location.
14
std::string
location
;
15
16
// @brief Name of the mesh to export.
17
std::string
meshName
;
18
19
// @brief Exporting every N time windows (equals -1 when not set).
20
int
everyNTimeWindows
= -1;
21
22
// @brief If true, export is done in every iteration (also implicit).
23
bool
everyIteration
=
false
;
24
25
// @brief type of the exporter (e.g. vtk).
26
std::string
type
;
27
};
28
29
}
// namespace precice::io
30
31
#endif
/* PRECICE_IO_EXPORTCONTEXT_HPP_ */
std::string
SharedPointer.hpp
precice::io
provides Import and Export of the coupling mesh and data.
Definition
Acceleration.hpp:10
precice::io::PtrExport
std::shared_ptr< Export > PtrExport
Definition
SharedPointer.hpp:10
string
precice::io::ExportContext
Definition
ExportContext.hpp:9
precice::io::ExportContext::meshName
std::string meshName
Definition
ExportContext.hpp:17
precice::io::ExportContext::type
std::string type
Definition
ExportContext.hpp:26
precice::io::ExportContext::everyNTimeWindows
int everyNTimeWindows
Definition
ExportContext.hpp:20
precice::io::ExportContext::location
std::string location
Definition
ExportContext.hpp:14
precice::io::ExportContext::exporter
io::PtrExport exporter
Definition
ExportContext.hpp:11
precice::io::ExportContext::everyIteration
bool everyIteration
Definition
ExportContext.hpp:23