mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9104 Thermal Fracture: Handle offset and scaling.
This commit is contained in:
committed by
Magne Sjaastad
parent
6b053b2023
commit
a09e17d14a
@@ -83,6 +83,9 @@ public:
|
||||
MinMaxAccumulator& minMaxAccumulator,
|
||||
PosNegAccumulator& posNegAccumulator );
|
||||
|
||||
static std::pair<double, double> minMaxDepth( std::shared_ptr<const RigThermalFractureDefinition> fractureDefinition,
|
||||
int activeTimeStepIndex );
|
||||
|
||||
private:
|
||||
static std::pair<std::vector<double>, std::vector<double>>
|
||||
generateUniformMesh( const cvf::BoundingBox& bb, int numSamplesX, int numSamplesY );
|
||||
@@ -95,6 +98,10 @@ private:
|
||||
getRelativeCoordinates( std::shared_ptr<const RigThermalFractureDefinition> fractureDefinition,
|
||||
size_t timeStepIndex );
|
||||
|
||||
static std::vector<double> scaleVector( const std::vector<double>& xs, double scaleFactor );
|
||||
|
||||
static std::vector<double> adjustedYCoordsAroundWellPathPosition( const std::vector<double>& ys, double offset );
|
||||
|
||||
static double interpolateProperty( const cvf::Vec3d& position,
|
||||
const std::vector<cvf::Vec3d>& points,
|
||||
std::shared_ptr<const RigThermalFractureDefinition> fractureDefinition,
|
||||
|
||||
Reference in New Issue
Block a user