20 #ifndef OPM_ROCKFROMDECK_HEADER_INCLUDED
21 #define OPM_ROCKFROMDECK_HEADER_INCLUDED
23 #include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
50 void init(Opm::EclipseStateConstPtr eclState,
51 int number_of_cells,
const int* global_cell,
52 const int* cart_dims);
63 return porosity_.size();
77 return &permeability_[0];
81 void assignPorosity(Opm::EclipseStateConstPtr eclState,
83 const int* global_cell);
84 void assignPermeability(Opm::EclipseStateConstPtr eclState,
86 const int* global_cell,
88 double perm_threshold);
90 std::vector<double> porosity_;
91 std::vector<double> permeability_;
92 std::vector<unsigned char> permfield_valid_;
100 #endif // OPM_ROCKFROMDECK_HEADER_INCLUDED
void init(Opm::EclipseStateConstPtr eclState, int number_of_cells, const int *global_cell, const int *cart_dims)
Definition: AnisotropicEikonal.hpp:43
RockFromDeck()
Default constructor.
const double * porosity() const
Definition: RockFromDeck.hpp:67
int numCells() const
Definition: RockFromDeck.hpp:61
int numDimensions() const
Definition: RockFromDeck.hpp:55
const double * permeability() const
Definition: RockFromDeck.hpp:75
friend class BlackoilPropsDataHandle
Definition: RockFromDeck.hpp:36
Definition: RockFromDeck.hpp:32