mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-02 11:00:31 -06:00
adjust to PinchMode now being an enum class
This commit is contained in:
parent
716ea14cb0
commit
e3a4c70da9
@ -216,7 +216,7 @@ update(bool global, const std::function<unsigned int(unsigned int)>& map)
|
||||
bool useSmallestMultiplier;
|
||||
if (comm.rank() == 0) {
|
||||
const auto& eclGrid = eclState_.getInputGrid();
|
||||
useSmallestMultiplier = eclGrid.getMultzOption() == PinchMode::ModeEnum::ALL;
|
||||
useSmallestMultiplier = eclGrid.getMultzOption() == PinchMode::ALL;
|
||||
}
|
||||
if (global && comm.size() > 1) {
|
||||
comm.broadcast(&useSmallestMultiplier, 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user