Skip to content
Snippets Groups Projects
Commit 9b7ff69e authored by Markus Wolff's avatar Markus Wolff
Browse files

made decoupled 2p cell data compatible to older gcc compilers


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@7684 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 27673431
No related branches found
No related tags found
No related merge requests found
......@@ -76,9 +76,10 @@ private:
private:
Scalar saturation_[numPhases];
Scalar pressure_[numPhases];
Scalar capillaryPressure_;
Scalar mobility_[numPhases];
Scalar fracFlowFunc_[numPhases];
Scalar capillaryPressure_;
Scalar update_;
FluxData fluxData_;
......@@ -89,9 +90,17 @@ public:
* @param gridView a DUNE gridview object corresponding to diffusion and transport equation
*/
CellData2P() :
saturation_({0.0, 0.0}), pressure_({0.0, 0.0}), capillaryPressure_(0), mobility_({0.0, 0.0}), fracFlowFunc_({0.0, 0.0}), update_(0)
{
CellData2P()
{
for (int i = 0; i < numPhases;i++)
{
saturation_[i] = 0.0;
pressure_[i] = 0.0;
mobility_[i] = 0.0;
fracFlowFunc_[i] = 0.0;
}
capillaryPressure_ = 0.0;
update_ = 0.0;
}
FluxData& fluxData()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment