Finite Element Domain Decomposition Library
FEDDLib
Toggle main menu visibility
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
17
namespace
FEDD
{
18
class
ExporterTxt {
19
public
:
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
exportData(
double
data1,
double
data2);
35
36
void
exportData(std::string data1,
double
data2);
37
38
void
exportData(std::string data1, std::string data2);
39
40
void
writeTxt(
double
data1,
double
data2);
41
42
void
writeTxt(std::string data1,
double
data2);
43
44
void
writeTxt(std::string data1, std::string data2);
45
46
void
closeExporter();
47
48
49
private
:
50
};
51
}
52
53
#endif
FEDD
Adaptive Mesh Refinement.
Definition
AdaptiveMeshRefinement_decl.hpp:36
feddlib
core
General
ExporterTxt.hpp
Generated by
1.17.0