My Project
Loading...
Searching...
No Matches
UDQParser.hpp
1/*
2 Copyright 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 it under the terms
7 of the GNU General Public License as published by the Free Software
8 Foundation, either version 3 of the License, or (at your option) any later
9 version.
10
11 OPM is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License along with
16 OPM. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef UDQPARSER_HPP
20#define UDQPARSER_HPP
21
22#include <opm/input/eclipse/Schedule/UDQ/UDQEnums.hpp>
23#include <opm/input/eclipse/Schedule/UDQ/UDQToken.hpp>
24
25#include <memory>
26#include <string>
27#include <vector>
28
29namespace Opm {
30
31class ErrorGuard;
32class KeywordLocation;
33class ParseContext;
34class UDQASTNode;
35class UDQParams;
36
37} // namespace Opm
38
39namespace Opm {
40
41 std::unique_ptr<UDQASTNode>
42 parseUDQExpression(const UDQParams& udq_params,
43 UDQVarType target_type,
44 const std::string& target_var,
45 const KeywordLocation& location,
46 const std::vector<UDQToken>& tokens_,
47 const ParseContext& parseContext,
48 ErrorGuard& errors);
49
50} // namespace Opm
51
52#endif // UDQPARSER_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30