mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only consider perforation in the interior of the local grid.
This is needed for distributed wells to save most of the code
from checking whether a perforation is in the interior.
We add new methods compressedIndexForInterior that return -1
for non-interior cells and use that for the wells. This restores
the old behaviour before 1cfe3e0aad
This commit is contained in:
@@ -419,8 +419,8 @@ namespace Opm {
|
||||
|
||||
void assignWellTracerRates(data::Wells& wsrpt) const;
|
||||
|
||||
int compressedIndex(int cartesian_cell_idx) const override {
|
||||
return ebosSimulator_.vanguard().compressedIndex(cartesian_cell_idx);
|
||||
int compressedIndexForInterior(int cartesian_cell_idx) const override {
|
||||
return ebosSimulator_.vanguard().compressedIndexForInterior(cartesian_cell_idx);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user