fixed some jenkins warnings
This commit is contained in:
parent
3d8826fc28
commit
659ae7e846
@ -369,7 +369,7 @@ unsigned cubicRoots(SolContainer* sol,
|
|||||||
|
|
||||||
// Find one real root of a depressed cubic using hyperbolic method. Different solutions depending on
|
// Find one real root of a depressed cubic using hyperbolic method. Different solutions depending on
|
||||||
// sign of p
|
// sign of p
|
||||||
Scalar t;
|
Scalar t = 0;
|
||||||
if (p < 0) {
|
if (p < 0) {
|
||||||
// Help calculation
|
// Help calculation
|
||||||
Scalar theta = (1.0 / 3.0) * acosh( ((-3.0 * abs(q)) / (2.0 * p)) * sqrt(-3.0 / p) );
|
Scalar theta = (1.0 / 3.0) * acosh( ((-3.0 * abs(q)) / (2.0 * p)) * sqrt(-3.0 / p) );
|
||||||
|
@ -177,8 +177,8 @@ namespace Opm {
|
|||||||
unsigned phaseIdx,
|
unsigned phaseIdx,
|
||||||
unsigned compIdx)
|
unsigned compIdx)
|
||||||
{
|
{
|
||||||
assert(0 <= phaseIdx && phaseIdx < numPhases);
|
assert(phaseIdx < numPhases);
|
||||||
assert(0 <= compIdx && compIdx < numComponents);
|
assert(compIdx < numComponents);
|
||||||
|
|
||||||
LhsEval phi = PengRobinsonMixture::computeFugacityCoefficient(fluidState, paramCache, phaseIdx, compIdx);
|
LhsEval phi = PengRobinsonMixture::computeFugacityCoefficient(fluidState, paramCache, phaseIdx, compIdx);
|
||||||
|
|
||||||
|
@ -182,8 +182,8 @@ namespace Opm {
|
|||||||
unsigned phaseIdx,
|
unsigned phaseIdx,
|
||||||
unsigned compIdx)
|
unsigned compIdx)
|
||||||
{
|
{
|
||||||
assert(0 <= phaseIdx && phaseIdx < numPhases);
|
assert(phaseIdx < numPhases);
|
||||||
assert(0 <= compIdx && compIdx < numComponents);
|
assert(compIdx < numComponents);
|
||||||
|
|
||||||
// TODO: here the derivatives for the phi are dropped. Should we keep the derivatives against the pressure
|
// TODO: here the derivatives for the phi are dropped. Should we keep the derivatives against the pressure
|
||||||
// and temperature?
|
// and temperature?
|
||||||
|
Loading…
Reference in New Issue
Block a user