white space cleaning up
no functionality change.
This commit is contained in:
parent
16c88d0a02
commit
0f8df5cca1
@ -205,26 +205,26 @@ public:
|
||||
Vm = VmCubic;
|
||||
|
||||
// find the extrema (if they are present)
|
||||
Evaluation Vmin, Vmax, pmin, pmax;
|
||||
if (findExtrema_(Vmin, Vmax,
|
||||
pmin, pmax,
|
||||
a, b, T))
|
||||
{
|
||||
if (isGasPhase)
|
||||
Vm = std::max(Vmax, VmCubic);
|
||||
else {
|
||||
if (Vmin > 0)
|
||||
Vm = std::min(Vmin, VmCubic);
|
||||
else
|
||||
Vm = VmCubic;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// the EOS does not exhibit any physically meaningful
|
||||
// extrema, and the fluid is critical...
|
||||
Vm = VmCubic;
|
||||
handleCriticalFluid_(Vm, fs, params, phaseIdx, isGasPhase);
|
||||
}
|
||||
Evaluation Vmin, Vmax, pmin, pmax;
|
||||
if (findExtrema_(Vmin, Vmax,
|
||||
pmin, pmax,
|
||||
a, b, T))
|
||||
{
|
||||
if (isGasPhase)
|
||||
Vm = std::max(Vmax, VmCubic);
|
||||
else {
|
||||
if (Vmin > 0)
|
||||
Vm = std::min(Vmin, VmCubic);
|
||||
else
|
||||
Vm = VmCubic;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// the EOS does not exhibit any physically meaningful
|
||||
// extrema, and the fluid is critical...
|
||||
Vm = VmCubic;
|
||||
handleCriticalFluid_(Vm, fs, params, phaseIdx, isGasPhase);
|
||||
}
|
||||
}
|
||||
|
||||
Valgrind::CheckDefined(Vm);
|
||||
|
Loading…
Reference in New Issue
Block a user