Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -911,15 +911,15 @@
// step 2: volume residual

real64 const valVol = LvArray::math::abs( m_localResidual[stack.localRow + m_numComponents] ) / volumeNormalizer;
if( valVol > stack.localValue[0] )
if( valVol > stack.localValue[1] )

Check warning on line 914 in src/coreComponents/physicsSolvers/fluidFlow/ThermalCompositionalMultiphaseBaseKernels.hpp

View check run for this annotation

Codecov / codecov/patch

src/coreComponents/physicsSolvers/fluidFlow/ThermalCompositionalMultiphaseBaseKernels.hpp#L914

Added line #L914 was not covered by tests
{
stack.localValue[1] = valVol;
}

// step 3: energy residual

real64 const valEnergy = LvArray::math::abs( m_localResidual[stack.localRow + m_numComponents + 1] ) / energyNormalizer;
if( valEnergy > stack.localValue[1] )
if( valEnergy > stack.localValue[2] )

Check warning on line 922 in src/coreComponents/physicsSolvers/fluidFlow/ThermalCompositionalMultiphaseBaseKernels.hpp

View check run for this annotation

Codecov / codecov/patch

src/coreComponents/physicsSolvers/fluidFlow/ThermalCompositionalMultiphaseBaseKernels.hpp#L922

Added line #L922 was not covered by tests
{
stack.localValue[2] = valEnergy;
}
Expand Down