mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
fix whitespace at eol
and some brace placements
This commit is contained in:
parent
3ea6f714db
commit
5f28175603
@ -857,7 +857,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* \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) {
|
||||
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);
|
||||
}
|
||||
private:
|
||||
@ -1022,7 +1023,8 @@ private:
|
||||
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);
|
||||
unsigned globalDofIdx = elemCtx.globalSpaceIndex(dofIdx, /*timeIdx=*/0);
|
||||
const auto totVolume = elemCtx.simulator().model().dofTotalVolume(globalDofIdx);
|
||||
@ -1295,7 +1297,7 @@ private:
|
||||
}
|
||||
|
||||
const Simulator& simulator_;
|
||||
};
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
|
@ -105,6 +105,6 @@ namespace Details {
|
||||
|
||||
template std::pair<double,double> cellZMinMax(const Dune::cpgrid::Entity<0>& element);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace EQUIL
|
||||
// namespace Opm
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user