mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
fix whitespace at eol
and some brace placements
This commit is contained in:
@@ -857,7 +857,6 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Capture connection fluxes, particularly to account for inter-region flows.
|
* \brief Capture connection fluxes, particularly to account for inter-region flows.
|
||||||
*
|
*
|
||||||
@@ -1003,12 +1002,14 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateFluidInPlace(const ElementContext& elemCtx){
|
void updateFluidInPlace(const ElementContext& elemCtx)
|
||||||
|
{
|
||||||
for (unsigned dofIdx = 0; dofIdx < elemCtx.numPrimaryDof(/*timeIdx=*/0); ++dofIdx) {
|
for (unsigned dofIdx = 0; dofIdx < elemCtx.numPrimaryDof(/*timeIdx=*/0); ++dofIdx) {
|
||||||
updateFluidInPlace_(elemCtx, dofIdx);
|
updateFluidInPlace_(elemCtx, dofIdx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void updateFluidInPlace(unsigned globalDofIdx,const IntensiveQuantities& intQuants, double totVolume){
|
void updateFluidInPlace(unsigned globalDofIdx,const IntensiveQuantities& intQuants, double totVolume)
|
||||||
|
{
|
||||||
this->updateFluidInPlace_(globalDofIdx, intQuants, totVolume);
|
this->updateFluidInPlace_(globalDofIdx, intQuants, totVolume);
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
@@ -1022,7 +1023,8 @@ private:
|
|||||||
return candidate == parallelWells.end() || *candidate != value;
|
return candidate == parallelWells.end() || *candidate != value;
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateFluidInPlace_(const ElementContext& elemCtx, unsigned dofIdx){
|
void updateFluidInPlace_(const ElementContext& elemCtx, unsigned dofIdx)
|
||||||
|
{
|
||||||
const auto& intQuants = elemCtx.intensiveQuantities(dofIdx, /*timeIdx=*/0);
|
const auto& intQuants = elemCtx.intensiveQuantities(dofIdx, /*timeIdx=*/0);
|
||||||
unsigned globalDofIdx = elemCtx.globalSpaceIndex(dofIdx, /*timeIdx=*/0);
|
unsigned globalDofIdx = elemCtx.globalSpaceIndex(dofIdx, /*timeIdx=*/0);
|
||||||
const auto totVolume = elemCtx.simulator().model().dofTotalVolume(globalDofIdx);
|
const auto totVolume = elemCtx.simulator().model().dofTotalVolume(globalDofIdx);
|
||||||
@@ -1295,7 +1297,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Simulator& simulator_;
|
const Simulator& simulator_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,6 @@ namespace Details {
|
|||||||
|
|
||||||
template std::pair<double,double> cellZMinMax(const Dune::cpgrid::Entity<0>& element);
|
template std::pair<double,double> cellZMinMax(const Dune::cpgrid::Entity<0>& element);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} // namespace EQUIL
|
} // namespace EQUIL
|
||||||
// namespace Opm
|
} // namespace Opm
|
||||||
|
|||||||
Reference in New Issue
Block a user