mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1764 If no NTG values are defined on file, use 1.0 as NTG value
This commit is contained in:
@@ -127,7 +127,11 @@ void RigEclipseToStimPlanCellTransmissibilityCalculator::calculateStimPlanCellsM
|
|||||||
double dy = dataAccessObjectDy->cellScalarGlobIdx(fracCell);
|
double dy = dataAccessObjectDy->cellScalarGlobIdx(fracCell);
|
||||||
double dz = dataAccessObjectDz->cellScalarGlobIdx(fracCell);
|
double dz = dataAccessObjectDz->cellScalarGlobIdx(fracCell);
|
||||||
|
|
||||||
double NTG = dataAccessObjectNTG->cellScalarGlobIdx(fracCell);
|
double NTG = 1.0;
|
||||||
|
if (dataAccessObjectNTG.notNull())
|
||||||
|
{
|
||||||
|
NTG = dataAccessObjectNTG->cellScalarGlobIdx(fracCell);
|
||||||
|
}
|
||||||
|
|
||||||
const RigMainGrid* mainGrid = m_case->eclipseCaseData()->mainGrid();
|
const RigMainGrid* mainGrid = m_case->eclipseCaseData()->mainGrid();
|
||||||
std::array<cvf::Vec3d, 8> hexCorners;
|
std::array<cvf::Vec3d, 8> hexCorners;
|
||||||
|
|||||||
Reference in New Issue
Block a user