TwophaseState_impl.hpp
Go to the documentation of this file.
1 #ifndef OPM_TWOPHASESTATE_HEADER_INCLUDED
2 #error Do not include this file directly!
3 #endif
4 
5 namespace Opm {
6 
7 inline void
8 TwophaseState::setFirstSat(const std::vector<int>& cells,
10  ExtremalSat es) {
11  SimulatorState::setFirstSat(cells, props, es);
12 }
13 
14 inline bool
16  double epsilon) const {
17  return dynamic_cast <const TwophaseState*>(&other)
18  ? SimulatorState::equals (other, epsilon)
19  : false;
20 }
21 
22 } // namespace Opm
void setFirstSat(const std::vector< int > &cells, const Props &props, ExtremalSat es)
Definition: IncompPropertiesInterface.hpp:35
Definition: AnisotropicEikonal.hpp:43
Definition: SimulatorState.hpp:16
Simulator state for a two-phase simulator.
Definition: TwophaseState.hpp:30
void setFirstSat(const std::vector< int > &cells, const Opm::IncompPropertiesInterface &props, ExtremalSat es)
Definition: TwophaseState_impl.hpp:8
virtual bool equals(const SimulatorState &other, double epsilon=1e-8) const
Definition: TwophaseState_impl.hpp:15
virtual bool equals(const SimulatorState &other, double epsilon=1e-8) const
ExtremalSat
Definition: SimulatorState.hpp:24