Commit Graph

31 Commits

Author SHA1 Message Date
Gaute Lindkvist
03cfa8f146 #3644 Move hex overlap code to RigCellGeometryTools and clamp in z-direction as well.
* The latter is not important for 2d Maps because the height of the 2d extrusion is always at least as much as the cells.
* However this makes it so the code can estimate overlap with bounding boxes that do not reach the full height of the hexahedron.
* Also added unit tests.
2018-11-08 15:53:10 +01:00
Gaute Lindkvist
25b45fb8fc #3644 Write unit test for cell volume calculation and fix negative volumes for "flipped" cells. 2018-11-08 13:46:57 +01:00
Gaute Lindkvist
50a0924f84 #3630 Fix volume sum calculation to avoid multiplying by volume twice. 2018-11-08 11:52:19 +01:00
Gaute Lindkvist
ef4b70d6e5 #3630 Implement volume calculation on grid 2018-11-08 11:52:19 +01:00
Bjørn Erik Jensen
81608990a0 #3470 InFlow model. New class RiaCellDividingTools. Moved method from RigCellGeometryTools 2018-10-31 14:47:03 +01:00
Bjørn Erik Jensen
9d90f54d5f #3474 LGR Export. Create temporary LGR. Take 1 2018-10-19 10:44:07 +02:00
Bjørn Erik Jensen
7369ce56ba #3114 compdat export. Improve performance 2018-08-20 11:47:41 +02:00
Magne Sjaastad
5114e05156 #3035 Fault Truncation: Add polygon subtraction 2018-06-22 17:14:28 +02:00
Bjørn Erik Jensen
6942a99406 #2569 Fracture containment. Fix fracture border polygon calculation 2018-03-08 11:06:17 +01:00
Magne Sjaastad
72b5f540e5 #2529 Fracture : Remove all #ifdef USE_PROTOTYPE_FEATURE_FRACTURES 2018-02-26 20:54:45 +01:00
Magne Sjaastad
fb1b6cc628 CppCheck : Remove unused variables 2017-09-07 22:05:20 +02:00
Magne Sjaastad
228c8d1f87 CppCheck : Add const reference and remove unused variable 2017-09-07 21:24:06 +02:00
astridkbjorke
5134a461d9 #1776 Updating calculation of length of stimplan-eclipse-overlap polygon for sl/pi-term in matrix-to-fracture transmissibility to avoid possible NaN values in export. Length is now calculated in x direction in the fracture coordinate system. 2017-08-23 09:46:00 +02:00
Magne Sjaastad
de6e6858fa #1794 Include Clipper library inside ifdef USE_PROTOTYPE_FEATURE_FRACTURES 2017-08-21 22:05:15 +02:00
Magne Sjaastad
3644f4eb76 Do not compare signed with unsigned 2017-08-11 16:17:40 +02:00
astridkbjorke
09363b2fec #1737 Making small adjustment to polygon to avoid having well path line going though perforation length polygon vertex, due to problems in clipper for this case. 2017-08-07 13:14:22 +02:00
Bjørnar Grip Fjær
2090db62b2 #1602 Consolidate some intersection functionality to common tools class 2017-06-16 09:44:28 +02:00
Magne Sjaastad
dd912b4f97 Merge branch 'dev' into pre-proto 2017-06-08 14:09:03 +02:00
Bjørnar Grip Fjær
b82bda5905 #1577 Improve RigWellPathIntersectionTools 2017-06-07 16:04:34 +02:00
Jacob Støren
e4abc737cd #1514, #1506 Fix several wellpath stimplan intersection bugs.
First numbers to file achieved, but they are wrong and too few
2017-05-26 17:37:48 +02:00
Jacob Støren
6cbbed15bf #1514 Add Wellpath StimPlanGrid intersector. Fix errors in polyline polygon intersection. Add tests for Polyline polygon intersection 2017-05-22 18:11:03 +02:00
Jacob Støren
50c182aa26 #1514 Add polyline/polygon intersection method
To be used for wellpath stimplan intersection
2017-05-22 15:34:50 +02:00
astridkbjorke
153bc57dfb pre-proto - Some cleanup and adding function for getting access to one RigFractureData 2017-04-03 15:17:35 +02:00
astridkbjorke
5630df5c1c pre-proto - Deleting line segments shorter than tolerance used when connecting line segments to polygons. 2017-02-03 14:12:40 +01:00
Magne Sjaastad
0633e6ca39 Fixed mix of signed and unsigned value compare 2017-02-03 10:14:02 +01:00
astridkbjorke
fccd7d9314 pre-proto - Fixing include 2017-01-27 12:12:08 +01:00
astridkbjorke
9c9592ccce #1091 - pre-proto - Adding function for calculating fracture length. 2017-01-27 12:12:08 +01:00
astridkbjorke
66e2bcd6d8 pre-proto - Fixing include error (and starting method to calculate fracture lenght) 2017-01-24 14:25:18 +01:00
astridkbjorke
08da3e926a #1091 - pre-proto - Expanding the findCellAverageZdirection function to find local X, Y and Z for a cell. 2017-01-24 12:15:26 +01:00
astridkbjorke
030b405d7f #1091 - pre-proto - Adding function for finding an "average" z direction, as the vector normal to the vectors between face centers in i and j. 2017-01-24 11:03:07 +01:00
astridkbjorke
02f4b94ca1 #1091 - pre-proto - Moving functions planeHexCellIntersection and createPolygonFromLineSegments from RimFracture to RigCellGeometryTools 2017-01-24 09:16:51 +01:00