Merge pull request #838 from andlaus/initialize_SatHyst
properly initialize the attributes of the SatHyst class
This commit is contained in:
commit
d8edb3db92
@ -65,6 +65,14 @@ namespace Opm
|
|||||||
|
|
||||||
// Hysteresis
|
// Hysteresis
|
||||||
struct SatHyst {
|
struct SatHyst {
|
||||||
|
SatHyst() {
|
||||||
|
sg_hyst = -1.0;
|
||||||
|
sow_hyst = -1.0;
|
||||||
|
|
||||||
|
sg_shift = 0.0;
|
||||||
|
sow_shift = 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
double sg_hyst;
|
double sg_hyst;
|
||||||
double sg_shift;
|
double sg_shift;
|
||||||
double sow_hyst;
|
double sow_hyst;
|
||||||
|
Loading…
Reference in New Issue
Block a user