My Project
Loading...
Searching...
No Matches
Opm::EclIO::ERft Class Reference
Inheritance diagram for Opm::EclIO::ERft:
Opm::EclIO::EclFile

Public Types

using RftDate = std::tuple< int, int, int >
 
using RftReportList = std::vector< std::tuple< std::string, RftDate, float > >
 
- Public Types inherited from Opm::EclIO::EclFile
using EclEntry = std::tuple< std::string, eclArrType, std::int64_t >
 

Public Member Functions

 ERft (const std::string &filename)
 
template<typename T >
const std::vector< T > & getRft (const std::string &name, const std::string &wellName, const RftDate &date) const
 
template<typename T >
const std::vector< T > & getRft (const std::string &name, const std::string &wellName, int year, int month, int day) const
 
template<typename T >
const std::vector< T > & getRft (const std::string &name, int reportIndex) const
 
std::vector< std::string > listOfWells () const
 
std::vector< RftDate > listOfdates () const
 
const RftReportList & listOfRftReports () const
 
bool hasRft (const std::string &wellName, const RftDate &date) const
 
bool hasRft (const std::string &wellName, int year, int month, int day) const
 
std::vector< EclEntry > listOfRftArrays (int reportIndex) const
 
std::vector< EclEntry > listOfRftArrays (const std::string &wellName, const RftDate &date) const
 
std::vector< EclEntry > listOfRftArrays (const std::string &wellName, int year, int month, int day) const
 
bool hasArray (const std::string &arrayName, const std::string &wellName, const RftDate &date) const
 
bool hasArray (const std::string &arrayName, int reportInd) const
 
int numberOfReports ()
 
template<>
const std::vector< float > & getRft (const std::string &name, const std::string &wellName, const RftDate &date) const
 
template<>
const std::vector< double > & getRft (const std::string &name, const std::string &wellName, const RftDate &date) const
 
template<>
const std::vector< int > & getRft (const std::string &name, const std::string &wellName, const RftDate &date) const
 
template<>
const std::vector< bool > & getRft (const std::string &name, const std::string &wellName, const RftDate &date) const
 
template<>
const std::vector< int > & getRft (const std::string &name, const std::string &wellName, int year, int month, int day) const
 
template<>
const std::vector< float > & getRft (const std::string &name, const std::string &wellName, int year, int month, int day) const
 
template<>
const std::vector< double > & getRft (const std::string &name, const std::string &wellName, int year, int month, int day) const
 
template<>
const std::vector< bool > & getRft (const std::string &name, const std::string &wellName, int year, int month, int day) const
 
template<>
const std::vector< float > & getRft (const std::string &name, int reportIndex) const
 
template<>
const std::vector< double > & getRft (const std::string &name, int reportIndex) const
 
template<>
const std::vector< int > & getRft (const std::string &name, int reportIndex) const
 
template<>
const std::vector< bool > & getRft (const std::string &name, int reportIndex) const
 
- 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)
 

Additional Inherited Members

- 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
 
- 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: