INTEHEAD: Promote Day, Month, Year to Public Indices

This commit makes the (Day, Month, Year) indices of the restart
file's INTEHEAD vector to the publicly available VectorItems.  This,
in turn, makes the entries more readily accessible outside of
InteHEAD.cpp.
This commit is contained in:
Bård Skaflestad
2019-10-28 23:27:39 -05:00
parent e9367d5116
commit d19f9d6899
2 changed files with 8 additions and 4 deletions

View File

@@ -75,7 +75,11 @@ namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems
NICAQZ = 45, // Number of data elements per aquifer connection in ICAQ array
NSCAQZ = 46, // Number of data elements per aquifer connection in SCAQ array
NACAQZ = 47, // Number of data elements per aquifer connection in ACAQ array
DAY = 64, // Calendar day of report step (1..31)
MONTH = 65, // Calendar month of report step (1..12)
YEAR = 66, // Calendar year of report step
NOOFACTIONS = 156, // The number of actions in the dataset
MAXNOLINES = 157, // Maximum number of lines of schedule data for ACTION keyword - including ENDACTIO
MAXNOSTRPRLINE = 158, // Maximum number of 8-chars strings pr input line of Action data (rounded up from input)

View File

@@ -83,9 +83,9 @@ enum index : std::vector<int>::size_type {
ih_061 = 61 , // 0 0
ih_062 = 62 , // 0 0
ih_063 = 63 , // 0 0
DAY = 64 , // IDAY 2 IDAY = calendar day at this report time
MONTH = 65 , // IMON 6 IMON = calendar month at this report time
YEAR = 66 , // IYEAR 2016 IYEAR = calendar year at this report time
DAY = VI::intehead::DAY, // IDAY 2 IDAY = calendar day at this report time
MONTH = VI::intehead::MONTH, // IMON 6 IMON = calendar month at this report time
YEAR = VI::intehead::YEAR, // IYEAR 2016 IYEAR = calendar year at this report time
NUM_SOLVER_STEPS = 67 , // The number of solver steps the simulator has performed so far.
REPORT_STEP = 68 , // The sequence/report number for for this restart file.
ih_069 = 69 , // 0 0