preCICE
v3.1.2
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
{
8
namespace
io {
9
10
struct
ExportContext
{
11
// @brief Exporters performing the actual export.
12
io::PtrExport
exporter
;
13
14
// @brief Path to export location.
15
std::string
location
;
16
17
// @brief Exporting every N time windows (equals -1 when not set).
18
int
everyNTimeWindows
= -1;
19
20
// @brief If true, export is done in every iteration (also implicit).
21
bool
everyIteration
=
false
;
22
23
// @brief type of the exporter (e.g. vtk).
24
std::string
type
;
25
};
26
27
}
// namespace io
28
}
// namespace precice
29
30
#endif
/* PRECICE_IO_EXPORTCONTEXT_HPP_ */
std::string
SharedPointer.hpp
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std::shared_ptr< Export >
string
precice::io::ExportContext
Definition
ExportContext.hpp:10
precice::io::ExportContext::type
std::string type
Definition
ExportContext.hpp:24
precice::io::ExportContext::everyNTimeWindows
int everyNTimeWindows
Definition
ExportContext.hpp:18
precice::io::ExportContext::location
std::string location
Definition
ExportContext.hpp:15
precice::io::ExportContext::exporter
io::PtrExport exporter
Definition
ExportContext.hpp:12
precice::io::ExportContext::everyIteration
bool everyIteration
Definition
ExportContext.hpp:21