Opm::RestartIO::Helpers::AggregateGroupData Class Reference

#include <AggregateGroupData.hpp>

Public Types

using inj_cmode_enum = Opm::Group::InjectionCMode
 

Public Member Functions

 AggregateGroupData (const std::vector< int > &inteHead)
 
void captureDeclaredGroupData (const Opm::Schedule &sched, const Opm::UnitSystem &units, const std::size_t simStep, const Opm::SummaryState &sumState, const std::vector< int > &inteHead)
 
const std::vector< int > & getIGroup () const
 
const std::vector< float > & getSGroup () const
 
const std::vector< double > & getXGroup () const
 
const std::vector< EclIO::PaddedOutputString< 8 > > & getZGroup () const
 

Public Attributes

const std::vector< std::stringrestart_group_keys
 
const std::vector< std::stringrestart_field_keys
 
const std::map< std::string, size_t > groupKeyToIndex
 
const std::map< inj_cmode_enum, int > cmodeToNum
 
const std::map< std::string, size_t > fieldKeyToIndex
 

Member Typedef Documentation

◆ inj_cmode_enum

Constructor & Destructor Documentation

◆ AggregateGroupData()

Opm::RestartIO::Helpers::AggregateGroupData::AggregateGroupData ( const std::vector< int > &  inteHead)
explicit

Member Function Documentation

◆ captureDeclaredGroupData()

void Opm::RestartIO::Helpers::AggregateGroupData::captureDeclaredGroupData ( const Opm::Schedule sched,
const Opm::UnitSystem units,
const std::size_t  simStep,
const Opm::SummaryState sumState,
const std::vector< int > &  inteHead 
)

◆ getIGroup()

const std::vector< int > & Opm::RestartIO::Helpers::AggregateGroupData::getIGroup ( ) const
inline

◆ getSGroup()

const std::vector< float > & Opm::RestartIO::Helpers::AggregateGroupData::getSGroup ( ) const
inline

◆ getXGroup()

const std::vector< double > & Opm::RestartIO::Helpers::AggregateGroupData::getXGroup ( ) const
inline

◆ getZGroup()

const std::vector< EclIO::PaddedOutputString< 8 > > & Opm::RestartIO::Helpers::AggregateGroupData::getZGroup ( ) const
inline

Member Data Documentation

◆ cmodeToNum

◆ fieldKeyToIndex

const std::map<std::string, size_t> Opm::RestartIO::Helpers::AggregateGroupData::fieldKeyToIndex
Initial value:
= {
{"FOPR", 0},
{"FWPR", 1},
{"FGPR", 2},
{"FVPR", 3},
{"FWIR", 5},
{"FGIR", 6},
{"FWCT", 8},
{"FGOR", 9},
{"FOPT", 10},
{"FWPT", 11},
{"FGPT", 12},
{"FVPT", 13},
{"FWIT", 15},
{"FGIT", 16},
{"FVIT", 17},
{"FOPP", 22},
{"FWPP", 23},
{"FOPTH", 135},
{"FWPTH", 139},
{"FWITH", 140},
{"FGPTH", 143},
{"FGITH", 144},
}

◆ groupKeyToIndex

const std::map<std::string, size_t> Opm::RestartIO::Helpers::AggregateGroupData::groupKeyToIndex
Initial value:
= {
{"GOPR", 0},
{"GWPR", 1},
{"GGPR", 2},
{"GVPR", 3},
{"GWIR", 5},
{"GGIR", 6},
{"GWCT", 8},
{"GGOR", 9},
{"GOPT", 10},
{"GWPT", 11},
{"GGPT", 12},
{"GVPT", 13},
{"GWIT", 15},
{"GGIT", 16},
{"GVIT", 17},
{"GOPP", 22},
{"GWPP", 23},
{"GOPTH", 135},
{"GWPTH", 139},
{"GWITH", 140},
{"GGPTH", 143},
{"GGITH", 144},
}

◆ restart_field_keys

const std::vector<std::string> Opm::RestartIO::Helpers::AggregateGroupData::restart_field_keys
Initial value:
= {"FOPP", "FWPP", "FOPR", "FWPR", "FGPR",
"FVPR", "FWIR", "FGIR", "FWCT", "FGOR",
"FOPT", "FWPT", "FGPT", "FVPT", "FWIT",
"FGIT", "FVIT",
"FOPTH", "FWPTH", "FGPTH",
"FWITH", "FGITH"}

◆ restart_group_keys

const std::vector<std::string> Opm::RestartIO::Helpers::AggregateGroupData::restart_group_keys
Initial value:
= {"GOPP", "GWPP", "GOPR", "GWPR", "GGPR",
"GVPR", "GWIR", "GGIR", "GWCT", "GGOR",
"GOPT", "GWPT", "GGPT", "GVPT", "GWIT",
"GGIT", "GVIT",
"GOPTH", "GWPTH", "GGPTH",
"GWITH", "GGITH"}

The documentation for this class was generated from the following file: