My Project
WriteInit.hpp
1 /*
2  Copyright (c) 2019 Equinor 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_INIT_HPP
21 #define OPM_WRITE_INIT_HPP
22 
23 #include <map>
24 #include <string>
25 #include <vector>
26 
27 #include <opm/parser/eclipse/EclipseState/Grid/NNC.hpp>
28 
29 namespace Opm {
30 
31  class EclipseGrid;
32  class EclipseState;
33  class NNC;
34  class Schedule;
35 
36 } // namespace Opm
37 
38 namespace Opm { namespace data {
39 
40  class Solution;
41 
42 }} // namespace Opm::data
43 
44 namespace Opm { namespace EclIO { namespace OutputStream {
45 
46  class Init;
47 
48 }}} // namespace Opm::EclIO::OutputStream
49 
50 namespace Opm { namespace InitIO {
51 
52  void write(const ::Opm::EclipseState& es,
53  const ::Opm::EclipseGrid& grid,
54  const ::Opm::Schedule& schedule,
55  const ::Opm::data::Solution& simProps,
56  std::map<std::string, std::vector<int>> int_data,
57  const std::vector<::Opm::NNCdata>& nnc,
58  ::Opm::EclIO::OutputStream::Init& initFile);
59 
60 }} // namespace Opm::InitIO
61 
62 #endif // OPM_WRITE_INIT_HPP
File manager for "init" output streams.
Definition: OutputStream.hpp:56
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29