20#ifndef OPM_ROCKFROMDECK_HEADER_INCLUDED
21#define OPM_ROCKFROMDECK_HEADER_INCLUDED
23#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
27struct UnstructuredGrid;
50 void init(
const Opm::EclipseState& eclState,
51 int number_of_cells,
const int* global_cell,
52 const int* cart_dims);
63 return porosity_.size();
77 return &permeability_[0];
91 const int number_of_cells,
92 const int* global_cell,
94 const double perm_threshold,
98 void assignPorosity(
const Opm::EclipseState& eclState,
100 const int* global_cell);
102 std::vector<double> porosity_;
103 std::vector<double> permeability_;
104 std::vector<unsigned char> permfield_valid_;
Definition: RockFromDeck.hpp:33
RockFromDeck()
Default constructor.
RockFromDeck(std::size_t number_of_cells)
friend class BlackoilPropsDataHandle
Definition: RockFromDeck.hpp:36
void init(const Opm::EclipseState &eclState, int number_of_cells, const int *global_cell, const int *cart_dims)
int numDimensions() const
Definition: RockFromDeck.hpp:55
int numCells() const
Definition: RockFromDeck.hpp:61
static void extractInterleavedPermeability(const Opm::EclipseState &eclState, const int number_of_cells, const int *global_cell, const int *cart_dims, const double perm_threshold, std::vector< double > &permeability)
const double * porosity() const
Definition: RockFromDeck.hpp:67
const double * permeability() const
Definition: RockFromDeck.hpp:75
Definition: AnisotropicEikonal.hpp:44