Definition at line 21 of file XdmfWriter.h.
#include <XdmfWriter.h>
◆ XdmfWriter() [1/3]
MeshLib::IO::XdmfWriter::XdmfWriter |
( |
std::string | xdmf_filename, |
|
|
std::function< std::string(std::vector< double >)> | xdmf_writer_fn ) |
Writes xdmf string into file on class destruction.
- Parameters
-
xdmf_filename | absolute or relative filepath to the xdmf file |
xdmf_writer_fn | function that generates xdmf string |
Definition at line 20 of file XdmfWriter.cpp.
24{
25}
std::function< std::string(std::vector< double >)> xdmf_writer
◆ XdmfWriter() [2/3]
MeshLib::IO::XdmfWriter::XdmfWriter |
( |
XdmfWriter && | | ) |
|
|
default |
◆ XdmfWriter() [3/3]
MeshLib::IO::XdmfWriter::XdmfWriter |
( |
XdmfWriter const & | | ) |
|
|
delete |
◆ ~XdmfWriter()
MeshLib::IO::XdmfWriter::~XdmfWriter |
( |
| ) |
|
◆ addTimeStep()
void MeshLib::IO::XdmfWriter::addTimeStep |
( |
double const & | time_step | ) |
|
Adds data for lazy (xdmf) writing algorithm.
- Parameters
-
time_step | time value of the current time_step |
Definition at line 40 of file XdmfWriter.cpp.
41{
42 times.push_back(time_step);
43}
References times.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ filename
std::string MeshLib::IO::XdmfWriter::filename |
|
private |
◆ times
std::vector<double> MeshLib::IO::XdmfWriter::times |
|
private |
◆ xdmf_writer
std::function<std::string(std::vector<double>)> MeshLib::IO::XdmfWriter::xdmf_writer |
|
private |
The documentation for this class was generated from the following files: