mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
Janitor: add result name for "PORV".
This commit is contained in:
1 parent
3bfe0c1f63
commit
fa9066de06
11 files changed
+36
-15
No files matched your search
+4
-2
@@ -64,8 +64,10 @@ void RigMobilePoreVolumeResultCalculator::calculate( const RigEclipseResultAddre
|
||||
const std::vector<double>* swcrResults = nullptr;
|
||||
const std::vector<double>* multpvResults = nullptr;
|
||||
|
||||
porvResults =
|
||||
RigCaseCellResultsData::getResultIndexableStaticResult( m_resultsData->activeCellInfo(), m_resultsData, "PORV", porvDataTemp );
|
||||
porvResults = RigCaseCellResultsData::getResultIndexableStaticResult( m_resultsData->activeCellInfo(),
|
||||
m_resultsData,
|
||||
RiaResultNames::porv(),
|
||||
porvDataTemp );
|
||||
if ( !porvResults || porvResults->empty() )
|
||||
{
|
||||
RiaLogging::error( "Assumed PORV, but not data was found." );
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ void RigPorvSoilSgasResultCalculator::calculate( const RigEclipseResultAddress&
|
||||
{
|
||||
RigEclipseResultAddress soilAddress( RiaDefines::ResultCatType::DYNAMIC_NATIVE, RiaResultNames::soil() );
|
||||
RigEclipseResultAddress sgasAddress( RiaDefines::ResultCatType::DYNAMIC_NATIVE, RiaResultNames::sgas() );
|
||||
RigEclipseResultAddress porvAddress( RiaDefines::ResultCatType::STATIC_NATIVE, "PORV" );
|
||||
RigEclipseResultAddress porvAddress( RiaDefines::ResultCatType::STATIC_NATIVE, RiaResultNames::porv() );
|
||||
|
||||
if ( resVarAddr.resultName() == RiaResultNames::riPorvSoil() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user