OpenCAEPoro
0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
include
OCPStructure.hpp
Go to the documentation of this file.
1
12
#ifndef __OCPSTRUCTURE_HEADER__
13
#define __OCPSTRUCTURE_HEADER__
14
15
// Standard header files
16
#include <vector>
17
18
// OpenCAEPoro header files
19
#include "
OCPConst.hpp
"
20
21
using namespace
std;
22
24
class
ResFIM
25
{
26
public
:
27
void
SetZero()
28
{
29
fill(res.begin(), res.end(), 0);
30
maxRelRes_v = 0;
31
maxRelRes_mol = 0;
32
maxWellRelRes_mol = 0;
33
}
34
35
vector<double> res;
36
OCP_DBL
maxRelRes0_v;
37
OCP_DBL
maxRelRes_v;
38
OCP_DBL
maxRelRes_mol;
39
OCP_DBL
maxWellRelRes_mol;
40
41
// use negative number to represent well number (ToDo)
42
OCP_INT
maxId_v;
43
OCP_INT
maxId_mol;
44
};
45
46
#endif
OCPConst.hpp
Definition of build-in datatypes and consts.
OCP_DBL
double OCP_DBL
Double precision.
Definition:
OCPConst.hpp:26
OCP_INT
int OCP_INT
Long integer.
Definition:
OCPConst.hpp:25
ResFIM
FIM.
Definition:
OCPStructure.hpp:25
Generated on Sat Oct 15 2022 00:08:52 for OpenCAEPoro by
1.9.1