My Project
WriteRestartHelpers.hpp
1
/*
2
Copyright (c) 2018 Statoil ASA
3
4
This file is part of the Open Porous Media project (OPM).
5
6
OPM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
OPM is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with OPM. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef OPM_WRITE_RESTART_HELPERS_HPP
21
#define OPM_WRITE_RESTART_HELPERS_HPP
22
23
#include <vector>
24
25
// Forward declarations
26
27
namespace
Opm
{
28
29
class
Runspec;
30
class
EclipseGrid;
31
class
EclipseState;
32
class
Schedule;
33
class
Well;
34
class
UnitSystem;
35
class
UDQActive;
36
class
Actdims;
37
38
}
// Opm
39
40
namespace
Opm
{
namespace
RestartIO {
namespace
Helpers {
41
42
std::vector<double>
43
createDoubHead(
const
EclipseState& es,
44
const
Schedule& sched,
45
const
std::size_t lookup_step,
46
const
double
simTime,
47
const
double
nextTimeStep);
48
49
std::vector<int>
50
createInteHead(
const
EclipseState& es,
51
const
EclipseGrid& grid,
52
const
Schedule& sched,
53
const
double
simTime,
54
const
int
num_solver_steps,
55
const
int
report_step,
56
const
int
lookup_step);
57
58
std::vector<bool>
59
createLogiHead(
const
EclipseState& es);
60
61
std::vector<int>
62
createUdqDims(
const
Schedule& sched,
63
const
std::size_t lookup_step,
64
const
std::vector<int>& inteHead);
65
66
std::size_t
67
entriesPerSACT();
68
69
std::size_t
70
entriesPerIACT();
71
72
std::size_t
73
entriesPerZACT();
74
75
std::size_t
76
entriesPerZACN(
const
Opm::Actdims
& actdims);
77
78
std::size_t
79
entriesPerIACN(
const
Opm::Actdims
& actdims);
80
81
std::size_t
82
entriesPerSACN(
const
Opm::Actdims
& actdims);
83
84
std::vector<int>
85
createActionRSTDims(
const
Schedule& sched,
86
const
std::size_t simStep);
87
88
}}}
// Opm::RestartIO::Helpers
89
90
#endif
// OPM_WRITE_RESTART_HELPERS_HPP
Opm::Actdims
Definition:
Actdims.hpp:30
Opm
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition:
Exceptions.hpp:29
opm
output
eclipse
WriteRestartHelpers.hpp
Generated by
1.9.1