mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add some missing initializers
This commit is contained in:
@@ -167,8 +167,8 @@ public:
|
||||
{ return 1.0 - upstreamWeight(phaseIdx); }
|
||||
|
||||
private:
|
||||
short upstreamScvIdx_[numPhases];
|
||||
short downstreamScvIdx_[numPhases];
|
||||
short upstreamScvIdx_[numPhases]{};
|
||||
short downstreamScvIdx_[numPhases]{};
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
@@ -500,10 +500,10 @@ private:
|
||||
Evaluation pressureDifference_[numPhases];
|
||||
|
||||
// the local indices of the interior and exterior degrees of freedom
|
||||
unsigned short interiorDofIdx_;
|
||||
unsigned short exteriorDofIdx_;
|
||||
short upIdx_[numPhases];
|
||||
short dnIdx_[numPhases];
|
||||
unsigned short interiorDofIdx_{};
|
||||
unsigned short exteriorDofIdx_{};
|
||||
short upIdx_[numPhases]{};
|
||||
short dnIdx_[numPhases]{};
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
@@ -122,7 +122,7 @@ public:
|
||||
{};
|
||||
|
||||
private:
|
||||
int dofOffset_;
|
||||
int dofOffset_{};
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
@@ -124,10 +124,10 @@ public:
|
||||
|
||||
private:
|
||||
// local indices of the interior and the exterior sub-control-volumes
|
||||
unsigned short interiorScvIdx_;
|
||||
unsigned short exteriorScvIdx_;
|
||||
unsigned short interiorScvIdx_{};
|
||||
unsigned short exteriorScvIdx_{};
|
||||
|
||||
Scalar extrusionFactor_;
|
||||
Scalar extrusionFactor_{};
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
@@ -341,9 +341,9 @@ private:
|
||||
#if HAVE_DUNE_LOCALFUNCTIONS
|
||||
static LocalFiniteElementCache feCache_;
|
||||
|
||||
const LocalFiniteElement* localFiniteElement_;
|
||||
std::vector<Dune::FieldVector<Scalar, 1>> p1Value_[maxFap];
|
||||
DimVector p1Gradient_[maxFap][maxDof];
|
||||
const LocalFiniteElement* localFiniteElement_{nullptr};
|
||||
std::vector<Dune::FieldVector<Scalar, 1>> p1Value_[maxFap]{};
|
||||
DimVector p1Gradient_[maxFap][maxDof]{};
|
||||
#endif // HAVE_DUNE_LOCALFUNCTIONS
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user