mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
swatInitScaling(): Remove EOL whitespace
This commit removes several instances of EOL whitespace in function 'swatInitScaling()'. Aesthetic only. No functional changes. Suggested by: [at] atgeirr
This commit is contained in:
parent
61300523c4
commit
46c7ff53a2
@ -414,12 +414,12 @@ namespace Opm
|
|||||||
|
|
||||||
|
|
||||||
/// Update capillary pressure scaling according to pressure diff. and initial water saturation.
|
/// Update capillary pressure scaling according to pressure diff. and initial water saturation.
|
||||||
/// \param[in] cell Cell index.
|
/// \param[in] cell Cell index.
|
||||||
/// \param[in] pcow P_oil - P_water.
|
/// \param[in] pcow P_oil - P_water.
|
||||||
/// \param[in/out] swat Water saturation. / Possibly modified Water saturation.
|
/// \param[in/out] swat Water saturation. / Possibly modified Water saturation.
|
||||||
template <class SatFuncSet>
|
template <class SatFuncSet>
|
||||||
void SaturationPropsFromDeck<SatFuncSet>::swatInitScaling(const int cell,
|
void SaturationPropsFromDeck<SatFuncSet>::swatInitScaling(const int cell,
|
||||||
const double pcow,
|
const double pcow,
|
||||||
double & swat)
|
double & swat)
|
||||||
{
|
{
|
||||||
if (phase_usage_.phase_used[BlackoilPhases::Aqua]) {
|
if (phase_usage_.phase_used[BlackoilPhases::Aqua]) {
|
||||||
@ -433,9 +433,9 @@ namespace Opm
|
|||||||
const int wpos = phase_usage_.phase_pos[BlackoilPhases::Aqua];
|
const int wpos = phase_usage_.phase_pos[BlackoilPhases::Aqua];
|
||||||
const int max_np = BlackoilPhases::MaxNumPhases;
|
const int max_np = BlackoilPhases::MaxNumPhases;
|
||||||
double s[max_np] = { 0.0 };
|
double s[max_np] = { 0.0 };
|
||||||
s[wpos] = swat;
|
s[wpos] = swat;
|
||||||
double pc[max_np] = { 0.0 };
|
double pc[max_np] = { 0.0 };
|
||||||
funcForCell(cell).evalPc(s, pc, &(eps_transf_[cell]));
|
funcForCell(cell).evalPc(s, pc, &(eps_transf_[cell]));
|
||||||
if (pc[wpos] > pc_low_threshold) {
|
if (pc[wpos] > pc_low_threshold) {
|
||||||
eps_transf_[cell].wat.pcFactor *= pcow/pc[wpos];
|
eps_transf_[cell].wat.pcFactor *= pcow/pc[wpos];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user