Use named public item for CFInDeck functionality

This commit is contained in:
Joakim Hove
2020-03-03 08:34:47 +01:00
parent e6af67e897
commit 6af2bcdb6f
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems
item30 = 29, // Unknown
item31 = 30, // Unknown
item41 = 40, // = 0 for connection factor not defined, = 1 for connection factor defined
CFInDeck = 40, // = 0 for connection factor not defined, = 1 for connection factor defined
};
} // SConn

View File

@@ -191,7 +191,7 @@ namespace {
sConn[Ix::item30] = -1.0e+20f;
sConn[Ix::item31] = -1.0e+20f;
sConn[Ix::item41] = (conn.ctfAssignedFromInput()) ? 1 : 0;
sConn[Ix::CFInDeck] = (conn.ctfAssignedFromInput()) ? 1 : 0;
}
} // SConn