Use std::array instead of C arrays.

This commit is contained in:
Atgeirr Flø Rasmussen 2022-09-22 16:05:53 +02:00
parent 7551517401
commit 7981fb92e0

View File

@ -447,8 +447,8 @@ public:
unsigned globalSpaceIdx,
unsigned timeIdx)
{
short upIdx[numPhases];
short dnIdx[numPhases];
std::array<short, numPhases> upIdx;
std::array<short, numPhases> dnIdx;
RateVector volumeFlux;
RateVector pressureDifference;
ExtensiveQuantities::calculateBoundaryGradients_(problem,