SimpleFluid2pWrappingProps.hpp
Go to the documentation of this file.
1 /*===========================================================================
2 //
3 // File: SimpleFluid2pWrappingProps.hpp
4 //
5 // Author: hnil <hnil@sintef.no>
6 //
7 // Created: 15 Nov 2012
8 //==========================================================================*/
9 /*
10  Copyright 2011 SINTEF ICT, Applied Mathematics.
11  Copyright 2011 Statoil ASA.
12 
13  This file is part of the Open Porous Media Project (OPM).
14 
15  OPM is free software: you can redistribute it and/or modify
16  it under the terms of the GNU General Public License as published by
17  the Free Software Foundation, either version 3 of the License, or
18  (at your option) any later version.
19 
20  OPM is distributed in the hope that it will be useful,
21  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  GNU General Public License for more details.
24 
25  You should have received a copy of the GNU General Public License
26  along with OPM. If not, see <http://www.gnu.org/licenses/>.
27 */
28 
29 
30 #ifndef SIMPLEFLUID2PWRAPPINGPROPS_HPP
31 #define SIMPLEFLUID2PWRAPPINGPROPS_HPP
32 
34 #include <vector>
35 
36 namespace Opm{
38  {
39  public:
41 
42  double density(int phase) const;
43 
44 
45  template <class Sat,
46  class Mob,
47  class DMob>
48  void mobility(int c, const Sat& s, Mob& mob, DMob& dmob) const;
49 
50 
51  template <class Sat,
52  class Pcap,
53  class DPcap>
54  void pc(int c, const Sat& s, Pcap& pcap, DPcap& dpcap) const;
55 
56  double s_min(int c) const;
57 
58 
59  double s_max(int c) const;
60 
61 
62  private:
63  const Opm::IncompPropertiesInterface& props_;
64  std::vector<double> smin_;
65  std::vector<double> smax_;
66  };
67 }
68 
70 #endif // SIMPLEFLUID2PWRAPPINGPROPS_HPP
Definition: IncompPropertiesInterface.hpp:35
void mobility(int c, const Sat &s, Mob &mob, DMob &dmob) const
Definition: SimpleFluid2pWrappingProps_impl.hpp:60
Definition: AnisotropicEikonal.hpp:43
Definition: SimpleFluid2pWrappingProps.hpp:37
void pc(int c, const Sat &s, Pcap &pcap, DPcap &dpcap) const
Definition: SimpleFluid2pWrappingProps_impl.hpp:80
double density(int phase) const
Definition: SimpleFluid2pWrappingProps_impl.hpp:52
double s_min(int c) const
Definition: SimpleFluid2pWrappingProps_impl.hpp:93
double s_max(int c) const
Definition: SimpleFluid2pWrappingProps_impl.hpp:98
SimpleFluid2pWrappingProps(const Opm::IncompPropertiesInterface &props)
Definition: SimpleFluid2pWrappingProps_impl.hpp:36