WriteRestartHelpers.hpp
Go to the documentation of this file.
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
27namespace Opm {
28
29 class Runspec;
30 class EclipseGrid;
31 class EclipseState;
32 class Schedule;
33 class Well;
34 class UnitSystem;
35 class UDQActive;
36
37} // Opm
38
39namespace Opm { namespace RestartIO { namespace Helpers {
40
41 std::vector<double>
43 const Schedule& sched,
44 const std::size_t lookup_step,
45 const double simTime,
46 const double nextTimeStep);
47
48 std::vector<int>
50 const EclipseGrid& grid,
51 const Schedule& sched,
52 const double simTime,
53 const int num_solver_steps,
54 const int report_step,
55 const int lookup_step);
56
57 std::vector<bool>
59
60 std::vector<int>
61 createUdqDims(const Schedule& sched,
62 const std::size_t lookup_step,
63 const std::vector<int>& inteHead);
64
65 std::vector<int>
67 const Schedule& sched,
68 const std::size_t simStep);
69
70}}} // Opm::RestartIO::Helpers
71
72#endif // OPM_WRITE_RESTART_HELPERS_HPP
Definition: EclipseGrid.hpp:54
Definition: EclipseState.hpp:63
Definition: Runspec.hpp:264
Definition: Schedule.hpp:113
std::vector< bool > createLogiHead(const EclipseState &es)
std::vector< int > createInteHead(const EclipseState &es, const EclipseGrid &grid, const Schedule &sched, const double simTime, const int num_solver_steps, const int report_step, const int lookup_step)
std::vector< double > createDoubHead(const EclipseState &es, const Schedule &sched, const std::size_t lookup_step, const double simTime, const double nextTimeStep)
std::vector< int > createActionxDims(const Runspec &rspec, const Schedule &sched, const std::size_t simStep)
std::vector< int > createUdqDims(const Schedule &sched, const std::size_t lookup_step, const std::vector< int > &inteHead)
Definition: A.hpp:4