mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
SimulatorFullyImplicitBlackoil: only access output parameters when output is enabled.
This commit is contained in:
parent
7fd9895a12
commit
e577b3b2d9
@ -243,10 +243,10 @@ namespace Opm
|
||||
const std::vector<double>& threshold_pressures_by_face)
|
||||
: param_(param),
|
||||
output_( param.getDefault("output", true) ),
|
||||
output_vtk_(param.getDefault("output_vtk",true) ),
|
||||
output_matlab_(param.getDefault("output_matlab", true)),
|
||||
output_dir_(param.getDefault("output_dir", std::string("output"))),
|
||||
output_interval_(param.getDefault("output_interval", 1)),
|
||||
output_vtk_( output_ ? param.getDefault("output_vtk",true) : false ),
|
||||
output_matlab_( output_ ? param.getDefault("output_matlab", true) : false ),
|
||||
output_dir_( output_ ? param.getDefault("output_dir", std::string("output")) : "" ),
|
||||
output_interval_( output_ ? param.getDefault("output_interval", 1): 0 ),
|
||||
grid_(grid),
|
||||
props_(props),
|
||||
rock_comp_props_(rock_comp_props),
|
||||
|
Loading…
Reference in New Issue
Block a user