Opm::RunLenData< T > Struct Template Reference
Inheritance diagram for Opm::RunLenData< T >:
Detailed Descriptiontemplate<typename T>
|
|
inline |
Allocate a matrix based on sizes specified elsewhere. This is useful if you want to supply with your own data.
number | Number of entities (rows). |
pos_ptr | Number of elements to allocate in front of each entity; starting index in the array for this row. |
|
inline |
|
inlineinherited |
Number of columns that are stored in the entire matrix.
References Opm::RunLenView< T >::num_of_cols.
|
inlineinherited |
Quick accessor to get the last element. When we store accumulated data in the array, this will quickly give us the total.
Note that this is NOT the end iterator for the column.
col | Index of the column |
|
inlineinherited |
Access a column directly.
col | Index of the column to get |
|
inlineinherited |
Number of elements that are stored in one particular column.
col | Index of the column. |
|
protectedinherited |
Data for each of the individual elements, stored consecutively for each column located together, followed by the next column.
|
protectedinherited |
Size information. pos has num_of_cols+1 items, pos[i] contains the starting index of the data values for column i. (Since there is one more element than there are columns, the last one is the total number of elements). The number 0 is explicitly stored in the first column to avoid special processing.
Referenced by Opm::RunLenView< T >::cols().
|
protectedinherited |