mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2680. First reasonable Fracture Gradient and Shear Failure Gradient estimation.
Caveats: * Hard coded poissonRatio = 0.25 * Hard coded UCS to 100 bar (fairly close to average value for shale in literature).
This commit is contained in:
@@ -589,20 +589,6 @@ cvf::Vec4d GeometryTools::barycentricCoords(const cvf::Vec3d& v0,
|
||||
return w;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double GeometryTools::interpolateQuad(const cvf::Vec3d& v1, double s1,
|
||||
const cvf::Vec3d& v2, double s2,
|
||||
const cvf::Vec3d& v3, double s3,
|
||||
const cvf::Vec3d& v4, double s4,
|
||||
const cvf::Vec3d& point)
|
||||
{
|
||||
cvf::Vec4d bc = barycentricCoords(v1, v2, v3, v4, point);
|
||||
|
||||
return s1*bc[0] + s2*bc[1] + s3*bc[2] + s4*bc[3];
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user