#7493 Use average "well path at fracture depth" for positioning.

This commit is contained in:
Kristian Bendiksen 2021-04-07 15:00:52 +02:00
parent f3a2062fec
commit cc5e1ca20a

View File

@ -172,8 +172,14 @@ std::vector<QString> RimFractureGroupStatistics::computeStatistics()
std::map<std::pair<RimFractureGroupStatistics::StatisticsType, QString>, std::shared_ptr<RigSlice2D>> statisticsGridsAll;
// TODO: take from an incoming xml?
double timeStep = 100.0;
double referenceDepth = 3000.0;
double timeStep = 1.0;
double referenceDepth = 0.0;
for ( auto definition : stimPlanFractureDefinitions )
{
referenceDepth += computeDepthOfWellPathAtFracture( definition );
}
referenceDepth /= stimPlanFractureDefinitions.size();
int numSamplesX = m_numSamplesX();
int numSamplesY = m_numSamplesY();