#include <EGrid.hpp>
|
| EGrid (const std::string &filename, std::string grid_name="global") |
|
int | global_index (int i, int j, int k) const |
|
int | active_index (int i, int j, int k) const |
|
const std::array< int, 3 > & | dimension () const |
|
std::array< int, 3 > | ijk_from_active_index (int actInd) const |
|
std::array< int, 3 > | ijk_from_global_index (int globInd) const |
|
void | getCellCorners (int globindex, std::array< double, 8 > &X, std::array< double, 8 > &Y, std::array< double, 8 > &Z) |
|
void | getCellCorners (const std::array< int, 3 > &ijk, std::array< double, 8 > &X, std::array< double, 8 > &Y, std::array< double, 8 > &Z) |
|
int | activeCells () const |
|
int | totalNumberOfCells () const |
|
void | load_grid_data () |
|
void | load_nnc_data () |
|
bool | is_radial () const |
|
const std::vector< int > & | hostCellsGlobalIndex () const |
|
std::vector< std::array< int, 3 > > | hostCellsIJK () |
|
std::vector< NNCentry > | get_nnc_ijk () |
|
const std::vector< std::string > & | list_of_lgrs () const |
|
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<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 |
|
◆ EclEntry
◆ NNCentry
◆ EGrid()
◆ active_index()
int Opm::EclIO::EGrid::active_index |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
◆ activeCells()
int Opm::EclIO::EGrid::activeCells |
( |
| ) |
const |
|
inline |
◆ arrayNames()
const std::vector< std::string > & Opm::EclIO::EclFile::arrayNames |
( |
| ) |
const |
|
inlineinherited |
◆ clearData()
void Opm::EclIO::EclFile::clearData |
( |
| ) |
|
|
inlineinherited |
◆ count()
std::size_t Opm::EclIO::EclFile::count |
( |
const std::string & |
name | ) |
const |
|
inherited |
◆ dimension()
const std::array< int, 3 > & Opm::EclIO::EGrid::dimension |
( |
| ) |
const |
|
inline |
◆ formattedInput()
bool Opm::EclIO::EclFile::formattedInput |
( |
| ) |
const |
|
inlineinherited |
◆ get() [1/2]
template<typename T >
const std::vector< T > & Opm::EclIO::EclFile::get |
( |
const std::string & |
name | ) |
|
|
inherited |
◆ get() [2/2]
template<typename T >
const std::vector< T > & Opm::EclIO::EclFile::get |
( |
int |
arrIndex | ) |
|
|
inherited |
◆ get_nnc_ijk()
std::vector< NNCentry > Opm::EclIO::EGrid::get_nnc_ijk |
( |
| ) |
|
◆ getCellCorners() [1/2]
void Opm::EclIO::EGrid::getCellCorners |
( |
const std::array< int, 3 > & |
ijk, |
|
|
std::array< double, 8 > & |
X, |
|
|
std::array< double, 8 > & |
Y, |
|
|
std::array< double, 8 > & |
Z |
|
) |
| |
◆ getCellCorners() [2/2]
void Opm::EclIO::EGrid::getCellCorners |
( |
int |
globindex, |
|
|
std::array< double, 8 > & |
X, |
|
|
std::array< double, 8 > & |
Y, |
|
|
std::array< double, 8 > & |
Z |
|
) |
| |
◆ getElementSizeList()
const std::vector< int > & Opm::EclIO::EclFile::getElementSizeList |
( |
| ) |
const |
|
inlineinherited |
◆ getImpl()
template<class T >
const std::vector< T > & Opm::EclIO::EclFile::getImpl |
( |
int |
arrIndex, |
|
|
eclArrType |
type, |
|
|
const std::unordered_map< int, std::vector< T > > & |
array, |
|
|
const std::string & |
typeStr |
|
) |
| |
|
inlineprotectedinherited |
◆ getList()
std::vector< EclEntry > Opm::EclIO::EclFile::getList |
( |
| ) |
const |
|
inherited |
◆ global_index()
int Opm::EclIO::EGrid::global_index |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
◆ hasKey()
◆ hostCellsGlobalIndex()
const std::vector< int > & Opm::EclIO::EGrid::hostCellsGlobalIndex |
( |
| ) |
const |
|
inline |
◆ hostCellsIJK()
std::vector< std::array< int, 3 > > Opm::EclIO::EGrid::hostCellsIJK |
( |
| ) |
|
◆ ijk_from_active_index()
std::array< int, 3 > Opm::EclIO::EGrid::ijk_from_active_index |
( |
int |
actInd | ) |
const |
◆ ijk_from_global_index()
std::array< int, 3 > Opm::EclIO::EGrid::ijk_from_global_index |
( |
int |
globInd | ) |
const |
◆ is_ix()
bool Opm::EclIO::EclFile::is_ix |
( |
| ) |
const |
|
inherited |
◆ is_radial()
bool Opm::EclIO::EGrid::is_radial |
( |
| ) |
const |
|
inline |
◆ list_of_lgrs()
const std::vector< std::string > & Opm::EclIO::EGrid::list_of_lgrs |
( |
| ) |
const |
|
inline |
◆ load_grid_data()
void Opm::EclIO::EGrid::load_grid_data |
( |
| ) |
|
◆ load_nnc_data()
void Opm::EclIO::EGrid::load_nnc_data |
( |
| ) |
|
◆ loadData() [1/4]
void Opm::EclIO::EclFile::loadData |
( |
| ) |
|
|
inherited |
◆ loadData() [2/4]
void Opm::EclIO::EclFile::loadData |
( |
const std::string & |
arrName | ) |
|
|
inherited |
◆ loadData() [3/4]
void Opm::EclIO::EclFile::loadData |
( |
const std::vector< int > & |
arrIndex | ) |
|
|
inherited |
◆ loadData() [4/4]
void Opm::EclIO::EclFile::loadData |
( |
int |
arrIndex | ) |
|
|
inherited |
◆ seekPosition()
std::streampos Opm::EclIO::EclFile::seekPosition |
( |
const std::vector< std::string >::size_type |
arrIndex | ) |
const |
|
protectedinherited |
◆ size()
std::size_t Opm::EclIO::EclFile::size |
( |
| ) |
const |
|
inherited |
◆ totalNumberOfCells()
int Opm::EclIO::EGrid::totalNumberOfCells |
( |
| ) |
const |
|
inline |
◆ array_element_size
std::vector<int> Opm::EclIO::EclFile::array_element_size |
|
protectedinherited |
◆ array_index
std::map<std::string, int> Opm::EclIO::EclFile::array_index |
|
protectedinherited |
◆ array_name
std::vector<std::string> Opm::EclIO::EclFile::array_name |
|
protectedinherited |
◆ array_size
std::vector<int64_t> Opm::EclIO::EclFile::array_size |
|
protectedinherited |
◆ array_type
std::vector<eclArrType> Opm::EclIO::EclFile::array_type |
|
protectedinherited |
◆ char_array
std::unordered_map<int, std::vector<std::string> > Opm::EclIO::EclFile::char_array |
|
protectedinherited |
◆ doub_array
std::unordered_map<int, std::vector<double> > Opm::EclIO::EclFile::doub_array |
|
protectedinherited |
◆ formatted
bool Opm::EclIO::EclFile::formatted |
|
protectedinherited |
◆ ifStreamPos
std::vector<uint64_t> Opm::EclIO::EclFile::ifStreamPos |
|
protectedinherited |
◆ inputFilename
◆ inte_array
std::unordered_map<int, std::vector<int> > Opm::EclIO::EclFile::inte_array |
|
protectedinherited |
◆ logi_array
std::unordered_map<int, std::vector<bool> > Opm::EclIO::EclFile::logi_array |
|
protectedinherited |
◆ real_array
std::unordered_map<int, std::vector<float> > Opm::EclIO::EclFile::real_array |
|
protectedinherited |
The documentation for this class was generated from the following file:
|