Merge pull request #591 from joakim-hove/extend-tabdims

Updated the TABDIMS keyword.
This commit is contained in:
Joakim Hove
2015-09-28 12:17:41 +02:00
2 changed files with 27 additions and 3 deletions

View File

@@ -29,6 +29,12 @@
namespace Opm {
class Tabdims {
public:
/*
The TABDIMS keyword has a total of 25 items; most of them
are ECLIPSE300 only and quite exotic. Here we only
internalize the most common items.
*/
Tabdims(size_t ntsfun, size_t ntpvt, size_t nssfun , size_t nppvt, size_t ntfip , size_t nrpvt) :
m_ntsfun( ntsfun ),
m_ntpvt( ntpvt ),
@@ -61,8 +67,8 @@ namespace Opm {
size_t getNumRSNodes() const {
return m_nrpvt;
}
private:
size_t m_ntsfun,m_ntpvt,m_nssfun,m_nppvt,m_ntfip,m_nrpvt;
};

View File

@@ -5,6 +5,24 @@
{"name" : "NPPVT" , "value_type" : "INT" , "default" : 20},
{"name" : "NTFIP" , "value_type" : "INT" , "default" : 1},
{"name" : "NRPVT" , "value_type" : "INT" , "default" : 20},
{"name" : "MAX_RV_NODES" , "value_type" : "INT"},
{"name" : "NTENDP" , "value_type" : "INT" , "default" : 1, "comment" : "This item is ECLIPSE300 specific"},
{"name" : "NUM_STATE_EQ" , "value_type" : "INT" , "default" : 1, "comment" : "This item is ECLIPSE300 specific"}
{"name" : "NUM_STATE_EQ" , "value_type" : "INT" , "default" : 1, "comment" : "This item is ECLIPSE300 specific"},
{"name" : "NUM_EOS_RES" , "value_type" : "INT" , "default" : 1},
{"name" : "NUM_EOS_SURFACE" , "value_type" : "INT"},
{"name" : "MAX_FLUX_REGIONS" , "value_type" : "INT" , "default" : 10},
{"name" : "MAX_THERMAL_REGIONS" , "value_type" : "INT" , "default" : 1},
{"name" : "NTROCC" , "value_type" : "INT"},
{"name" : "MAX_PRESSURE_MAINTAINANCE_REGIONS" , "value_type" : "INT" , "default" : 0},
{"name" : "MAX_KVALUE_TABLES" , "value_type" : "INT" , "default" : 0},
{"name" : "NTALPHA" , "value_type" : "INT"},
{"name" : "ASPHALTENE_ASPKDAM_MAX_ROWS" , "value_type" : "INT" , "default" : 10},
{"name" : "ASPHALTENE_ASPREWG_MAX_ROWS" , "value_type" : "INT" , "default" : 10},
{"name" : "ASPHALTENE_ASPVISO_MAX_ROWS" , "value_type" : "INT" , "default" : 10},
{"name" : "ITEM20_NOT_USED" , "value_type" : "STRING"},
{"name" : "ASPHALTENE_ASPPW2D_MAX_COLUMNS" , "value_type" : "INT" , "default" : 5},
{"name" : "ASPHALTENE_ASPPW2D_MAX_ROWS" , "value_type" : "INT" , "default" : 5},
{"name" : "ASPHALTENE_ASPWETF_MAX_ROWS" , "value_type" : "INT" , "default" : 5},
{"name" : "NUM_KVALUE_TABLES" , "value_type" : "INT" , "default" : 0},
{"name" : "RESERVED" , "value_type" : "STRING" }
]}