20 #ifndef OPM_ROCKBASIC_HEADER_INCLUDED
21 #define OPM_ROCKBASIC_HEADER_INCLUDED
51 return porosity_.size();
65 return &permeability_[0];
70 std::vector<double> porosity_;
71 std::vector<double> permeability_;
79 #endif // OPM_ROCKBASIC_HEADER_INCLUDED
Definition: RockBasic.hpp:30
Definition: AnisotropicEikonal.hpp:43
const double * porosity() const
Definition: RockBasic.hpp:55
RockBasic()
Default constructor.
int numDimensions() const
Definition: RockBasic.hpp:43
const double * permeability() const
Definition: RockBasic.hpp:63
void init(const int dimensions, const int num_cells, const double poro, const double perm)
Initialize with homogenous porosity and permeability.
int dimensions(const UnstructuredGrid &grid)
Get the dimensions of a grid.
int numCells() const
Definition: RockBasic.hpp:49