diff --git a/opm/models/common/transfluxmodule.hh b/opm/models/common/transfluxmodule.hh index e467594c11..fda2cf2c3d 100644 --- a/opm/models/common/transfluxmodule.hh +++ b/opm/models/common/transfluxmodule.hh @@ -506,17 +506,17 @@ private: { return *static_cast(this); } // the volumetric flux of all phases [m^3/s] - Evaluation volumeFlux_[numPhases]; + std::array volumeFlux_; // the difference in effective pressure between the exterior and the interior degree // of freedom [Pa] - Evaluation pressureDifference_[numPhases]; + std::array pressureDifference_; // the local indices of the interior and exterior degrees of freedom unsigned short interiorDofIdx_{}; unsigned short exteriorDofIdx_{}; - short upIdx_[numPhases]{}; - short dnIdx_[numPhases]{}; + std::array upIdx_{}; + std::array dnIdx_{}; }; } // namespace Opm