mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
using compressed cell index for cellToConnectionIdx_ in AquiferCarterTracy
This commit is contained in:
1 parent
3a55e4aac2
commit
b3f29de675
1 file changed
+3
-3
@@ -295,10 +295,10 @@ namespace Opm
|
||||
cellToConnectionIdx_.resize(ebos_simulator_.gridView().size(/*codim=*/0), -1);
|
||||
for (size_t idx = 0; idx < cell_idx_.size(); ++idx)
|
||||
{
|
||||
cellToConnectionIdx_[cell_idx_[idx]] = idx;
|
||||
|
||||
const int cell_index = cartesian_to_compressed_.at(cell_idx_[idx]);
|
||||
auto cellFacesRange = cell2Faces[cell_index];
|
||||
cellToConnectionIdx_[cell_index] = idx;
|
||||
|
||||
const auto cellFacesRange = cell2Faces[cell_index];
|
||||
for(auto cellFaceIter = cellFacesRange.begin(); cellFaceIter != cellFacesRange.end(); ++cellFaceIter)
|
||||
{
|
||||
// The index of the face in the compressed grid
|
||||
|
||||
Reference in new issue
Block a user