(#540) Range filter mapping now works fem->ecl and opposite.

We need to test more, but now it is getting there.
This commit is contained in:
Jacob Støren
2015-10-21 10:04:00 +02:00
parent 53826f4966
commit 00b56b7440
2 changed files with 158 additions and 112 deletions

View File

@@ -23,6 +23,7 @@
class RimCellRangeFilter;
class RigMainGrid;
class RigFemPart;
struct RigRangeEndPoints;
class RigCaseToCaseRangeFilterMapper
{
@@ -34,10 +35,16 @@ public:
private:
static void convertRangeFilter(RimCellRangeFilter* srcFilter, RimCellRangeFilter* dstFilter,
static void convertRangeFilter(const RimCellRangeFilter* srcFilter, RimCellRangeFilter* dstFilter,
const RigMainGrid* eclGrid, const RigFemPart* femPart,
bool femIsDestination);
static void convertRangeFilterEndPoints(const RigRangeEndPoints &src,
RigRangeEndPoints &dst,
const RigMainGrid* eclGrid,
const RigFemPart* femPart,
bool femIsDestination);
static bool findBestFemCellFromEclCell(const RigMainGrid* masterEclGrid, size_t ei, size_t ej, size_t ek,
const RigFemPart* dependentFemPart, size_t* fi, size_t * fj, size_t* fk);