Peano
Loading...
Searching...
No Matches
Writer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
convert/data/PatchData.h
"
4
#include "
convert/data/Variable.h
"
5
6
#include <vector>
7
8
namespace
convert
{
9
namespace
output
{
10
class
Writer;
11
}
12
}
13
14
class
convert::output::Writer
{
15
public
:
16
virtual
~Writer
() =
default
;
17
22
virtual
void
writeFile
(
const
convert::data::Variable
& variable,
const
std::vector<convert::data::PatchData>& data) = 0;
23
};
PatchData.h
Variable.h
convert::data::Variable
Represents one variable that is subsequently attached to the patches of a file.
Definition
Variable.h:18
convert::output::Writer
Definition
Writer.h:14
convert::output::Writer::~Writer
virtual ~Writer()=default
convert::output::Writer::writeFile
virtual void writeFile(const convert::data::Variable &variable, const std::vector< convert::data::PatchData > &data)=0
Our writers write only one variable at a time even though the Peano file format can hold multiple var...
convert
Definition
PatchData.h:11
peano4.api.toolbox.particles.postprocessing.convert.output
output
Definition
convert.py:121
src
convert
output
Writer.h
Generated on Tue Nov 3 2026 16:05:41 for Peano by
1.9.8