All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
TwophaseState_impl.hpp
1 #ifndef OPM_TWOPHASESTATE_HEADER_INCLUDED
2 #error Do not include this file directly!
3 #endif
4 
5 namespace Opm {
6 
7 inline bool
8 TwophaseState::equals (const SimulatorState& other,
9  double epsilon) const {
10  return dynamic_cast <const TwophaseState*>(&other)
11  ? SimulatorState::equals (other, epsilon)
12  : false;
13 }
14 
15 } // namespace Opm