Operate.hpp
Go to the documentation of this file.
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#ifndef OPERATE_HPP
19#define OPERATE_HPP
20
21#include <functional>
22
23
24namespace Opm {
25namespace Operate {
26
27//using operate_fptr = decltype(&MULTA);
28using function = std::function<double(double,double)>;
29
30function get(const std::string& func, double alpha, double beta);
31
32}
33}
34#endif
const char *const string
Definition: cJSON.h:170
function get(const std::string &func, double alpha, double beta)
std::function< double(double, double)> function
Definition: Operate.hpp:28
Definition: A.hpp:4