mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Switched from default constructing to explicit construction with false.
This commit is contained in:
parent
2b4ebb94cc
commit
9514b8c89a
@ -308,13 +308,13 @@ namespace Opm
|
||||
|
||||
/// Default constructor.
|
||||
WellsManager::WellsManager()
|
||||
: w_(0), is_parallel_run_()
|
||||
: w_(0), is_parallel_run_(false)
|
||||
{
|
||||
}
|
||||
|
||||
/// Construct from existing wells object.
|
||||
WellsManager::WellsManager(struct Wells* W)
|
||||
: w_(clone_wells(W)), is_parallel_run_()
|
||||
: w_(clone_wells(W)), is_parallel_run_(false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -323,7 +323,7 @@ namespace Opm
|
||||
const size_t timeStep,
|
||||
const UnstructuredGrid& grid,
|
||||
const double* permeability)
|
||||
: w_(0), is_parallel_run_()
|
||||
: w_(0), is_parallel_run_(false)
|
||||
{
|
||||
init(eclipseState, timeStep, UgGridHelpers::numCells(grid),
|
||||
UgGridHelpers::globalCell(grid), UgGridHelpers::cartDims(grid),
|
||||
|
Loading…
Reference in New Issue
Block a user