My Project
Loading...
Searching...
No Matches
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 <cstddef>
24
#include <vector>
25
26
// Forward declarations
27
28
namespace
Opm
{
29
30
class
Runspec;
31
class
EclipseGrid;
32
class
EclipseState;
33
class
Schedule;
34
class
Well;
35
class
UnitSystem;
36
class
UDQActive;
37
class
Actdims;
38
39
}
// Opm
40
41
namespace
Opm::RestartIO::Helpers {
42
43
std::vector<double>
44
createDoubHead(
const
EclipseState& es,
45
const
Schedule& sched,
46
const
std::size_t sim_step,
47
const
std::size_t report_step,
48
const
double
simTime,
49
const
double
nextTimeStep);
50
51
std::vector<int>
52
createInteHead(
const
EclipseState& es,
53
const
EclipseGrid& grid,
54
const
Schedule& sched,
55
const
double
simTime,
56
const
int
num_solver_steps,
57
const
int
report_step,
58
const
int
lookup_step);
59
60
std::vector<bool>
61
createLogiHead(
const
EclipseState& es);
62
63
std::size_t
64
entriesPerSACT();
65
66
std::size_t
67
entriesPerIACT();
68
69
std::size_t
70
entriesPerZACT();
71
72
std::size_t
73
entriesPerZACN(
const
Opm::Actdims
& actdims);
74
75
std::size_t
76
entriesPerIACN(
const
Opm::Actdims
& actdims);
77
78
std::size_t
79
entriesPerSACN(
const
Opm::Actdims
& actdims);
80
81
std::vector<int>
82
createActionRSTDims(
const
Schedule& sched,
83
const
std::size_t simStep);
84
85
}
// Opm::RestartIO::Helpers
86
87
#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:30
opm
output
eclipse
WriteRestartHelpers.hpp
Generated by
1.9.8