Loading...
Searching...
No Matches
SimulationFlags.H
1#pragma once
2#include "word.H"
3#ifndef SimulationFlags_H
4#define SimulationFlags_H
5
9class SimulationFlags
10{
11public:
12 SimulationFlags():
13 m_exportPython(false), m_exportMatlab(false), m_exportTxt(false),
14 m_useDDES(false), m_useDNS(false), m_onLineReconstruct(false),
15 m_forcing(false), m_symDiff(false), m_useDEIM(false) { }
16
17 const bool& exportPython() const { return m_exportPython; }
18 const bool& exportMatlab() const { return m_exportMatlab; }
19 const bool& exportTxt() const { return m_exportTxt; }
20 const bool& useDDES() const { return m_useDDES; }
21 const bool& useDNS() const { return m_useDNS; }
22 const bool& onLineReconstruct() const { return m_onLineReconstruct; }
23 const bool& forcing() const { return m_forcing; }
24 const bool& symDiff() const { return m_symDiff; }
25 const bool& useDEIM() const { return m_useDEIM; }
26
27 void set_exportPython(const bool& b) { m_exportPython = b; }
28 void set_exportMatlab(const bool& b) { m_exportMatlab = b; }
29 void set_exportTxt(const bool& b) { m_exportTxt = b; }
30 void set_useDDES(const bool& b) { m_useDDES = b; }
31 void set_useDNS(const bool& b) { m_useDNS = b; }
32 void set_onLineReconstruct(const bool& b) { m_onLineReconstruct = b; }
33 void set_forcingOrNot(const bool& b) { m_forcing = b; }
34 void set_symDiff(const bool& b) { m_symDiff = b; }
35 void set_useDEIM(const bool& b) { m_useDEIM = b; }
36
37private:
38 Foam::word m_HRMethod;
39 bool m_exportPython;
40 bool m_exportMatlab;
41 bool m_exportTxt;
42 bool m_useDDES;
43 bool m_useDNS;
44 bool m_onLineReconstruct;
45 bool m_forcing;
46 bool m_symDiff;
47 bool m_useDEIM;
48};
49
50#endif