mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Thermal Fracture: change polygon to match StimPlan fracture grid
This commit is contained in:
parent
9246f06b8f
commit
1093b844b0
@ -306,10 +306,10 @@ cvf::cref<RigFractureGrid>
|
|||||||
for ( int j = 0; j < static_cast<int>( depthCoords.size() ) - 1; j++ )
|
for ( int j = 0; j < static_cast<int>( depthCoords.size() ) - 1; j++ )
|
||||||
{
|
{
|
||||||
std::vector<cvf::Vec3d> cellPolygon;
|
std::vector<cvf::Vec3d> cellPolygon;
|
||||||
cellPolygon.push_back( cvf::Vec3d( xCoords[i], depthCoords[j], 0.0 ) );
|
|
||||||
cellPolygon.push_back( cvf::Vec3d( xCoords[i + 1], depthCoords[j], 0.0 ) );
|
|
||||||
cellPolygon.push_back( cvf::Vec3d( xCoords[i + 1], depthCoords[j + 1], 0.0 ) );
|
|
||||||
cellPolygon.push_back( cvf::Vec3d( xCoords[i], depthCoords[j + 1], 0.0 ) );
|
cellPolygon.push_back( cvf::Vec3d( xCoords[i], depthCoords[j + 1], 0.0 ) );
|
||||||
|
cellPolygon.push_back( cvf::Vec3d( xCoords[i + 1], depthCoords[j + 1], 0.0 ) );
|
||||||
|
cellPolygon.push_back( cvf::Vec3d( xCoords[i + 1], depthCoords[j], 0.0 ) );
|
||||||
|
cellPolygon.push_back( cvf::Vec3d( xCoords[i], depthCoords[j], 0.0 ) );
|
||||||
|
|
||||||
RigFractureCell stimPlanCell( cellPolygon, i, j );
|
RigFractureCell stimPlanCell( cellPolygon, i, j );
|
||||||
if ( !conductivityValues.empty() ) // Assuming vector to be of correct length, or no values
|
if ( !conductivityValues.empty() ) // Assuming vector to be of correct length, or no values
|
||||||
|
Loading…
Reference in New Issue
Block a user