transfluxmodule: use std::array

This commit is contained in:
Arne Morten Kvarving committed 2025-04-29 15:20:21 +02:00
1 parent cf5ab2471e
commit dc501d83a6
1 file changed
+4 -4
+4 -4
View File
@@ -506,17 +506,17 @@ private:
{ return *static_cast<const Implementation*>(this); }
// the volumetric flux of all phases [m^3/s]
Evaluation volumeFlux_[numPhases];
std::array<Evaluation, numPhases> volumeFlux_;
// the difference in effective pressure between the exterior and the interior degree
// of freedom [Pa]
Evaluation pressureDifference_[numPhases];
std::array<Evaluation, numPhases> 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<short, numPhases> upIdx_{};
std::array<short, numPhases> dnIdx_{};
};
} // namespace Opm