Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
ExporterTxt.hpp
1#ifndef ExporterTxt_hpp
2#define ExporterTxt_hpp
3
4#include "feddlib/core/FEDDCore.hpp"
5#include "feddlib/core/core_config.h"
6#include <fstream>
7
16
17namespace FEDD {
18class ExporterTxt {
19public:
20 typedef Teuchos::RCP<const Teuchos::Comm<int> > CommConstPtr_Type;
21
22 bool verbose_;
23
24 std::ofstream txt_out_;
25
26 ExporterTxt();
27
28 void setup(std::string filename, CommConstPtr_Type comm, int targetRank=0);
29
30 void exportData(double data);
31
32 void writeTxt(double data);
33
34 void closeExporter();
35
36private:
37 };
38}
39
40#endif
Adaptive Mesh Refinement.
Definition AdaptiveMeshRefinement.cpp:5