mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 15:10:09 -05:00
transfluxmodule: use std::array
This commit is contained in:
1 parent
cf5ab2471e
commit
dc501d83a6
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user