OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ResultSinkFilePrinter.h
Go to the documentation of this file.
1#pragma once
5
6#include <string>
7#include <fstream>
8
10{
11public:
12 ResulSinkFilePrinter(int executionFrequency, int totalTimeSteps, std::string path, std::string headLine);
14 virtual void ConsumeResultContainer(ResultContainer * container) override;
15 virtual void PerformPostProcessing() override;
16
17private:
18 std::ofstream _myfile;
19 void PrintVectorfield(ResultContainerVector3DComplex* vectorField);
20 void PrintScalarfield(ResultContainerScalar* scalarField);
21
22};
Definition ResultSinkFilePrinter.h:10
virtual void PerformPostProcessing() override
Definition ResultSinkFilePrinter.cpp:33
ResulSinkFilePrinter(int executionFrequency, int totalTimeSteps, std::string path, std::string headLine)
Definition ResultSinkFilePrinter.cpp:4
virtual void ConsumeResultContainer(ResultContainer *container) override
Definition ResultSinkFilePrinter.cpp:15
~ResulSinkFilePrinter()
Definition ResultSinkFilePrinter.cpp:10
Definition ResultContainer.h:5
Definition ResultContainerScalar.h:5
Definition ResultContainerVector3DComplex.h:6
Definition ResultSink.h:9