opm-common
Loading...
Searching...
No Matches
Opm::EclIO::EInit Class Reference
Inheritance diagram for Opm::EclIO::EInit:
Opm::EclIO::EclFile

Public Member Functions

 EInit (const std::string &filename)
const std::vector< std::string > & list_of_lgrs () const
std::vector< EclFile::EclEntry > list_arrays () const
std::vector< EclFile::EclEntry > list_arrays (const std::string &grid_name) const
const std::array< int, 3 > & grid_dimension (const std::string &grid_name="global") const
int activeCells (const std::string &grid_name="global") const
bool hasLGR (const std::string &name) const
template<typename T>
const std::vector< T > & getInitData (const std::string &name, const std::string &grid_name="global")
Public Member Functions inherited from Opm::EclIO::EclFile
 EclFile (const std::string &filename, bool preload=false)
 EclFile (const std::string &filename, Formatted fmt, bool preload=false)
bool formattedInput () const
void loadData ()
void loadData (const std::string &arrName)
void loadData (int arrIndex)
void loadData (const std::vector< int > &arrIndex)
void clearData ()
std::vector< EclEntry > getList () const
const std::vector< int > & getElementSizeList () const
template<typename T>
const std::vector< T > & get (int arrIndex)
template<typename T>
const std::vector< T > & get (const std::string &name)
bool hasKey (const std::string &name) const
std::size_t count (const std::string &name) const
const std::vector< std::string > & arrayNames () const
std::size_t size () const
bool is_ix () const
template<>
const std::vector< int > & get (int arrIndex)
template<>
const std::vector< float > & get (int arrIndex)
template<>
const std::vector< double > & get (int arrIndex)
template<>
const std::vector< bool > & get (int arrIndex)
template<>
const std::vector< int > & get (const std::string &name)
template<>
const std::vector< float > & get (const std::string &name)
template<>
const std::vector< double > & get (const std::string &name)
template<>
const std::vector< bool > & get (const std::string &name)

Protected Member Functions

template<typename T>
const std::vector< T > & ImplgetInitData (const std::string &name, const std::string &grid_name="global")
Protected Member Functions inherited from Opm::EclIO::EclFile
template<class T>
const std::vector< T > & getImpl (int arrIndex, eclArrType type, const std::unordered_map< int, std::vector< T > > &array, const std::string &typeStr)
std::streampos seekPosition (const std::vector< std::string >::size_type arrIndex) const

Additional Inherited Members

Public Types inherited from Opm::EclIO::EclFile
using EclEntry = std::tuple<std::string, eclArrType, std::int64_t>
Protected Attributes inherited from Opm::EclIO::EclFile
bool formatted
std::string inputFilename
std::unordered_map< int, std::vector< int > > inte_array
std::unordered_map< int, std::vector< bool > > logi_array
std::unordered_map< int, std::vector< double > > doub_array
std::unordered_map< int, std::vector< float > > real_array
std::unordered_map< int, std::vector< std::string > > char_array
std::vector< std::string > array_name
std::vector< eclArrType > array_type
std::vector< std::int64_t > array_size
std::vector< int > array_element_size
std::vector< std::uint64_t > ifStreamPos
std::map< std::string, int > array_index

The documentation for this class was generated from the following files:
  • opm/io/eclipse/EInit.hpp
  • opm/io/eclipse/EInit.cpp