Read keywords MULTIN and MULTOUT
This commit is contained in:
@@ -126,8 +126,6 @@ namespace Opm {
|
||||
const std::string& input_path ) :
|
||||
m_write_INIT_file( grid.hasKeyword( "INIT" ) ),
|
||||
m_write_EGRID_file( write_egrid_file( grid ) ),
|
||||
m_UNIFIN( runspec.hasKeyword( "UNIFIN" ) ),
|
||||
m_UNIFOUT( runspec.hasKeyword( "UNIFOUT" ) ),
|
||||
m_FMTIN( runspec.hasKeyword( "FMTIN" ) ),
|
||||
m_FMTOUT( runspec.hasKeyword( "FMTOUT" ) ),
|
||||
m_deck_filename( input_path ),
|
||||
@@ -135,6 +133,16 @@ namespace Opm {
|
||||
m_nosim( nosim )
|
||||
{
|
||||
this->setBaseName(basename(input_path));
|
||||
for (const auto& kw : runspec) {
|
||||
if (kw.name() == "UNIFOUT")
|
||||
this->m_UNIFOUT = true;
|
||||
else if (kw.name() == "UNIFIN")
|
||||
this->m_UNIFIN = true;
|
||||
else if (kw.name() == "MULTOUT")
|
||||
this->m_UNIFOUT = false;
|
||||
else if (kw.name() == "MULTIN")
|
||||
this->m_UNIFIN = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{"name" : "MULTIN", "sections" : ["RUNSPEC"]}
|
||||
@@ -0,0 +1 @@
|
||||
{"name" : "MULTOUT", "sections" : ["RUNSPEC"]}
|
||||
@@ -164,6 +164,8 @@ set( keywords
|
||||
000_Eclipse100/M/MSFN
|
||||
000_Eclipse100/M/MSGFILE
|
||||
000_Eclipse100/M/MULTFLT
|
||||
000_Eclipse100/M/MULTIN
|
||||
000_Eclipse100/M/MULTOUT
|
||||
000_Eclipse100/M/MULTIPLY
|
||||
000_Eclipse100/M/MULTIREG
|
||||
000_Eclipse100/M/MULTNUM
|
||||
|
||||
Reference in New Issue
Block a user