mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7452 Refactor: Extract method for stress gradient calculation.
This commit is contained in:
@@ -93,6 +93,18 @@ protected:
|
||||
const std::vector<double>& inputVector,
|
||||
std::vector<double>& result );
|
||||
|
||||
double calculateStressGradientForLayer( size_t i,
|
||||
std::vector<std::pair<size_t, size_t>> layerBoundaryIndexes,
|
||||
double depthTopOfZone,
|
||||
double depthBottomOfZone,
|
||||
double topSv,
|
||||
const std::vector<double>& initialPressureData,
|
||||
const std::vector<double>& pressureDiffData,
|
||||
double stressDepthRef,
|
||||
double verticalStressRef,
|
||||
double verticalStressGradientRef,
|
||||
double k0 ) const;
|
||||
|
||||
static double calculateStressDifferenceAtDepth( double depth,
|
||||
double offset,
|
||||
double stressDepthRef,
|
||||
|
||||
Reference in New Issue
Block a user