1#ifndef OPM_VERTEQ_RUNLEN_HPP_INCLUDED
2#define OPM_VERTEQ_RUNLEN_HPP_INCLUDED
8struct UnstructuredGrid;
136 return pos [col + 1] -
pos [col];
150 return data [
pos [col + 1] - 1];
180 :
RunLenView <T> (number, pos_ptr, new T [pos_ptr [number]]) {
Definition: runlen.hpp:60
T & last(int col) const
Definition: runlen.hpp:149
int * pos
Definition: runlen.hpp:70
T * operator[](int col) const
Definition: runlen.hpp:116
int cols() const
Definition: runlen.hpp:125
int size(int col) const
Definition: runlen.hpp:135
RunLenView(const RunLenView &rhs)
Definition: runlen.hpp:103
T * data
Definition: runlen.hpp:76
RunLenView(int num_cols, int *pos_ptr, T *values)
Definition: runlen.hpp:91
int num_of_cols
Definition: runlen.hpp:69
Definition: opmfwd.hpp:15
rlw_int grid_cell_facetag(const UnstructuredGrid &g)
rlw_int grid_cell_faces(const UnstructuredGrid &g)
const RunLenView< double > rlw_double
Definition: runlen.hpp:191
const RunLenView< int > rlw_int
Definition: runlen.hpp:190
Definition: runlen.hpp:164
~RunLenData()
Definition: runlen.hpp:183
RunLenData(int number, int *pos_ptr)
Definition: runlen.hpp:175