mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use the gridhelpers to make it run with cp-grid
This commit is contained in:
parent
065b2f595c
commit
f1e91b8b87
@ -95,7 +95,7 @@ struct HelperOps
|
||||
size_t cartesianSize = eclState->getEclipseGrid()->getCartesianSize();
|
||||
std::vector<int> global2localIdx(cartesianSize,0);
|
||||
for (int i = 0; i< nc; ++i) {
|
||||
global2localIdx[grid.global_cell[i]] = i;
|
||||
global2localIdx[ globalCell( grid )[i] ] = i;
|
||||
}
|
||||
const std::vector<size_t>& NNC1 = nnc->nnc1();
|
||||
const std::vector<size_t>& NNC2 = nnc->nnc2();
|
||||
|
Loading…
Reference in New Issue
Block a user