ThirdParty
custom-opm-common
opm-common
src
opm
parser
eclipse
EclipseState
Grid
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
24
namespace
Opm
{
25
namespace
Operate {
26
27
//using operate_fptr = decltype(&MULTA);
28
using
function
=
std::function
<double(
double
,
double
)>;
29
30
function
get
(
const
std::string
& func,
double
alpha,
double
beta);
31
32
}
33
}
34
#endif
string
const char *const string
Definition:
cJSON.h:170
Opm::Operate::get
function get(const std::string &func, double alpha, double beta)
Opm::Operate::function
std::function< double(double, double)> function
Definition:
Operate.hpp:28
Opm
Definition:
A.hpp:4