mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 16:30:02 -06:00
initialize nonTrivialBoundaryConditions inline
this way you don't have to read the code to find the default value
This commit is contained in:
parent
d2a720e40c
commit
95ab3427e2
@ -2776,7 +2776,6 @@ private:
|
||||
|
||||
void readBoundaryConditions_()
|
||||
{
|
||||
nonTrivialBoundaryConditions_ = false;
|
||||
const auto& simulator = this->simulator();
|
||||
const auto& vanguard = simulator.vanguard();
|
||||
const auto& bcconfig = vanguard.eclState().getSimulationConfig().bcconfig();
|
||||
@ -3028,7 +3027,7 @@ private:
|
||||
std::vector<bool> freebcZ_;
|
||||
std::vector<bool> freebcZMinus_;
|
||||
|
||||
bool nonTrivialBoundaryConditions_;
|
||||
bool nonTrivialBoundaryConditions_ = false;
|
||||
BCData<RateVector> massratebc_;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user