|
My Project
|
About cell information and dimension: The actual grid information is held in a pointer to an ERT ecl_grid_type instance. More...
#include <EclipseGrid.hpp>
Public Member Functions | |
| EclipseGrid (const std::string &filename) | |
| EclipseGrid (const EclipseGrid &src)=default | |
| EclipseGrid (const EclipseGrid &src, const std::vector< int > &actnum) | |
| EclipseGrid (const EclipseGrid &src, const double *zcorn, const std::vector< int > &actnum) | |
| EclipseGrid (size_t nx, size_t ny, size_t nz, double dx=1.0, double dy=1.0, double dz=1.0) | |
| EclipseGrid (const std::array< int, 3 > &dims, const std::vector< double > &coord, const std::vector< double > &zcorn, const int *actnum=nullptr) | |
| EclipseGrid (const Deck &deck, const int *actnum=nullptr) | |
| EclipseGrid ignores ACTNUM in Deck, and therefore needs ACTNUM explicitly. More... | |
| size_t | getNumActive () const |
| bool | allActive () const |
| size_t | activeIndex (size_t i, size_t j, size_t k) const |
| size_t | activeIndex (size_t globalIndex) const |
| void | save (const std::string &filename, bool formatted, const std::vector< Opm::NNCdata > &nnc, const Opm::UnitSystem &units) const |
| size_t | getGlobalIndex (size_t active_index) const |
| size_t | getGlobalIndex (size_t i, size_t j, size_t k) const |
| bool | circle () const |
| bool | isPinchActive () const |
| double | getPinchThresholdThickness () const |
| PinchMode::ModeEnum | getPinchOption () const |
| PinchMode::ModeEnum | getMultzOption () const |
| PinchMode::ModeEnum | getPinchGapMode () const |
| MinpvMode::ModeEnum | getMinpvMode () const |
| const std::vector< double > & | getMinpvVector () const |
| template<typename T > | |
| std::vector< T > | compressedVector (const std::vector< T > &input_vector) const |
| const std::vector< int > & | getActiveMap () const |
| Will return a vector a length num_active; where the value of each element is the corresponding global index. | |
| std::array< double, 3 > | getCellCenter (size_t i, size_t j, size_t k) const |
| std::array< double, 3 > | getCellCenter (size_t globalIndex) const |
| std::array< double, 3 > | getCornerPos (size_t i, size_t j, size_t k, size_t corner_index) const |
| const std::vector< double > & | activeVolume () const |
| double | getCellVolume (size_t globalIndex) const |
| double | getCellVolume (size_t i, size_t j, size_t k) const |
| double | getCellThickness (size_t globalIndex) const |
| double | getCellThickness (size_t i, size_t j, size_t k) const |
| std::array< double, 3 > | getCellDims (size_t i, size_t j, size_t k) const |
| std::array< double, 3 > | getCellDims (size_t globalIndex) const |
| bool | cellActive (size_t globalIndex) const |
| bool | cellActive (size_t i, size_t j, size_t k) const |
| double | getCellDepth (size_t i, size_t j, size_t k) const |
| double | getCellDepth (size_t globalIndex) const |
| ZcornMapper | zcornMapper () const |
| const std::vector< double > & | getCOORD () const |
| const std::vector< double > & | getZCORN () const |
| const std::vector< int > & | getACTNUM () const |
| size_t | fixupZCORN () |
| size_t | getZcornFixed () |
| void | resetACTNUM () |
| void | resetACTNUM (const std::vector< int > &actnum) |
| bool | equal (const EclipseGrid &other) const |
Public Member Functions inherited from Opm::GridDims | |
| GridDims (std::array< int, 3 > xyz) | |
| GridDims (size_t nx, size_t ny, size_t nz) | |
| GridDims (const Deck &deck) | |
| size_t | getNX () const |
| size_t | getNY () const |
| size_t | getNZ () const |
| size_t | operator[] (int dim) const |
| const std::array< int, 3 > | getNXYZ () const |
| size_t | getGlobalIndex (size_t i, size_t j, size_t k) const |
| const std::array< int, 3 > | getIJK (size_t globalIndex) const |
| size_t | getCartesianSize () const |
| void | assertGlobalIndex (size_t globalIndex) const |
| void | assertIJK (size_t i, size_t j, size_t k) const |
| bool | operator== (const GridDims &data) const |
| template<class Serializer > | |
| void | serializeOp (Serializer &serializer) |
Static Public Member Functions | |
| static bool | hasGDFILE (const Deck &deck) |
| static bool | hasCylindricalKeywords (const Deck &deck) |
| static bool | hasCornerPointKeywords (const Deck &) |
| static bool | hasCartesianKeywords (const Deck &) |
Static Public Member Functions inherited from Opm::GridDims | |
| static GridDims | serializeObject () |
Additional Inherited Members | |
Protected Attributes inherited from Opm::GridDims | |
| size_t | m_nx |
| size_t | m_ny |
| size_t | m_nz |
About cell information and dimension: The actual grid information is held in a pointer to an ERT ecl_grid_type instance.
This pointer must be used for access to all cell related properties, including:
| Opm::EclipseGrid::EclipseGrid | ( | const Deck & | deck, |
| const int * | actnum = nullptr |
||
| ) |
EclipseGrid ignores ACTNUM in Deck, and therefore needs ACTNUM explicitly.
If a null pointer is passed, every cell is active.