Fix some warnings when running with valgrinds MPI wrapper.
It warns whenever uninitialized data is sent.
This commit is contained in:
parent
e8423d3b25
commit
d99aa0d497
@ -168,7 +168,7 @@ struct GroupProductionProperties {
|
||||
UDAValue water_target;
|
||||
UDAValue gas_target;
|
||||
UDAValue liquid_target;
|
||||
double guide_rate;
|
||||
double guide_rate = 0;
|
||||
GuideRateTarget guide_rate_def = GuideRateTarget::NO_GUIDE_RATE;
|
||||
double resv_target = 0;
|
||||
bool available_group_control = true;
|
||||
|
@ -89,8 +89,8 @@ private:
|
||||
std::vector<RockComp> m_comp;
|
||||
std::string num_property = ParserKeywords::ROCKOPTS::TABLE_TYPE::defaultValue;
|
||||
std::size_t num_tables = ParserKeywords::ROCKCOMP::NTROCC::defaultValue;
|
||||
bool m_water_compaction;
|
||||
Hysteresis hyst_mode;
|
||||
bool m_water_compaction = false;
|
||||
Hysteresis hyst_mode = Hysteresis::REVERS;
|
||||
};
|
||||
|
||||
} //namespace Opm
|
||||
|
@ -541,7 +541,7 @@ namespace Opm {
|
||||
DenT gasDenT;
|
||||
DenT watDenT;
|
||||
StandardCond stcond;
|
||||
std::size_t m_gas_comp_index;
|
||||
std::size_t m_gas_comp_index = 77;
|
||||
double m_rtemp;
|
||||
double m_salinity;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user