Thermal Fracture: change polygon to match StimPlan fracture grid

This commit is contained in:
Kristian Bendiksen 2022-08-05 12:57:23 +02:00
parent 9246f06b8f
commit 1093b844b0

View File

@ -306,10 +306,10 @@ cvf::cref<RigFractureGrid>
for ( int j = 0; j < static_cast<int>( depthCoords.size() ) - 1; j++ )
{
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 + 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 );
if ( !conductivityValues.empty() ) // Assuming vector to be of correct length, or no values