mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1041 - pre-proto - Adding new functions transformMatrix (for calculating transform Matrix for fracture) and getPotentiallyFracturedCells (finding all cells in bounding box for fracture geometry) in RimFracture. Relevant code is updated to use these functions.
This commit is contained in:
@@ -109,11 +109,11 @@ bool RifEclipseExportTools::writeFracturesToTextFile(const QString& fileName, co
|
||||
if (!mainGrid) return false;
|
||||
|
||||
size_t i, j, k;
|
||||
mainGrid->ijkFromCellIndex(fracData.cellindex, &i, &j, &k);
|
||||
out << i; // 2. I location grid block
|
||||
out << j; // 3. J location grid block
|
||||
out << k; // 4. K location of upper connecting grid block
|
||||
out << k; // 5. K location of lower connecting grid block
|
||||
mainGrid->ijkFromCellIndex(fracData.reservoirCellIndex, &i, &j, &k);
|
||||
out << i+1; // 2. I location grid block, adding 1 to go to eclipse 1-based grid definition
|
||||
out << j+1; // 3. J location grid block, adding 1 to go to eclipse 1-based grid definition
|
||||
out << k+1; // 4. K location of upper connecting grid block, adding 1 to go to eclipse 1-based grid definition
|
||||
out << k+1; // 5. K location of lower connecting grid block, adding 1 to go to eclipse 1-based grid definition
|
||||
|
||||
out << "OPEN"; // 6. Open / Shut flag of connection
|
||||
out << "1* "; // 7. Saturation table number for connection rel perm. Default value
|
||||
|
||||
Reference in New Issue
Block a user