26#ifndef OPM_MODELS_DIRECTIONAL_MOBILITY_HH
27#define OPM_MODELS_DIRECTIONAL_MOBILITY_HH
31#include <opm/material/densead/Evaluation.hpp>
37template <
class TypeTag,
class Evaluation>
45 using array_type = std::array<Evaluation,numPhases>;
47 : mobilityX_{other.mobilityX_}, mobilityY_{other.mobilityY_}, mobilityZ_{other.mobilityZ_} {}
49 : mobilityX_{
mX}, mobilityY_{
mY}, mobilityZ_{
mZ} {}
51 array_type& getArray(
int index) {
60 throw std::runtime_error(
"Unexpected mobility array index");
63 array_type mobilityX_;
64 array_type mobilityY_;
65 array_type mobilityZ_;
Defines the common properties required by the porous medium multi-phase models.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
The Opm property system, traits with inheritance.
Definition directionalmobility.hh:38