mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use NNC support from CpGrid.
This commit is contained in:
parent
51b24d33d5
commit
d087d7c41b
@ -253,7 +253,8 @@ protected:
|
|||||||
/*isPeriodic=*/false,
|
/*isPeriodic=*/false,
|
||||||
/*flipNormals=*/false,
|
/*flipNormals=*/false,
|
||||||
/*clipZ=*/false,
|
/*clipZ=*/false,
|
||||||
porv);
|
porv,
|
||||||
|
this->eclState().getInputNNC());
|
||||||
|
|
||||||
// we use separate grid objects: one for the calculation of the initial condition
|
// we use separate grid objects: one for the calculation of the initial condition
|
||||||
// via EQUIL and one for the actual simulation. The reason is that the EQUIL code
|
// via EQUIL and one for the actual simulation. The reason is that the EQUIL code
|
||||||
|
@ -275,6 +275,14 @@ public:
|
|||||||
unsigned insideFaceIdx = intersection.indexInInside();
|
unsigned insideFaceIdx = intersection.indexInInside();
|
||||||
unsigned outsideFaceIdx = intersection.indexInOutside();
|
unsigned outsideFaceIdx = intersection.indexInOutside();
|
||||||
|
|
||||||
|
if (insideFaceIdx == -1) {
|
||||||
|
// NNC. Set zero transmissibility, as it will be
|
||||||
|
// *added to* by applyNncToGridTrans_() later.
|
||||||
|
assert(outsideFaceIdx == -1);
|
||||||
|
trans_[isId_(elemIdx, outsideElemIdx)] = 0.0;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
DimVector faceCenterInside;
|
DimVector faceCenterInside;
|
||||||
DimVector faceCenterOutside;
|
DimVector faceCenterOutside;
|
||||||
DimVector faceAreaNormal;
|
DimVector faceAreaNormal;
|
||||||
|
Loading…
Reference in New Issue
Block a user