35 #ifndef OPM_PREPROCESS_HEADER 36 #define OPM_PREPROCESS_HEADER 167 const int *is_aquifer_cell,
int dimensions[3]
Cartesian box dimensions.
Definition: preprocess.h:83
Raw corner-point specification of a particular geological model.
Definition: preprocess.h:56
const int * actnum
Explicit "active" map.
Definition: preprocess.h:60
Connection topologically normal to I-J plane.
Definition: preprocess.h:69
Arbitrary non-neighbouring connection.
Definition: preprocess.h:70
const double * coord
Pillar end-points.
Definition: preprocess.h:58
int * face_nodes
Node (vertex) numbers of each face, stored sequentially.
Definition: preprocess.h:87
int add_cell_face_mapping(struct processed_grid *grid)
Populate cell-to-face mapping.
Definition: preprocess.c:1349
double * node_coordinates
Vertex coordinates.
Definition: preprocess.h:111
enum face_tag * face_tag
Classification of grid's individual connections (faces).
Definition: preprocess.h:95
Connection topologically normal to I-K plane.
Definition: preprocess.h:68
int number_of_nodes_on_pillars
Total number of unique cell vertices that lie on pillars.
Definition: preprocess.h:107
Connection topologically normal to J-K plane.
Definition: preprocess.h:67
const double * zcorn
Corner-point depths.
Definition: preprocess.h:59
int * local_cell_index
Deceptively named local-to-global cell index mapping.
Definition: preprocess.h:116
Result structure representing minimal derived topology and geometry of a geological model in corner-p...
Definition: preprocess.h:77
unsigned number_of_faces
Total number of unique grid faces (i.e., connections).
Definition: preprocess.h:85
face_tag
Connection taxonomy.
Definition: preprocess.h:66
int number_of_cells
Number of active grid cells.
Definition: preprocess.h:115
unsigned int * cell_face_ptr
Start position for each cell's 'cell_faces'.
Definition: preprocess.h:100
int dims[3]
Cartesian box dimensions.
Definition: preprocess.h:57
int process_grdecl(int pinchActive, int edge_conformal, double tol, const struct grdecl *g, const int *is_aquifer_cell, struct processed_grid *out)
Construct a prototypical grid representation from a corner-point specification.
Definition: preprocess.c:1105
int n
Upper bound on "number_of_nodes".
Definition: preprocess.h:80
int * face_neighbors
Global cell numbers.
Definition: preprocess.h:92
int m
Upper bound on "number_of_faces".
Definition: preprocess.h:78
int * cell_faces
Face numbers of each cell, stored sequentially.
Definition: preprocess.h:103
int number_of_nodes
Number of unique grid vertices.
Definition: preprocess.h:106
unsigned int * face_node_ptr
Start position for each face's 'face_nodes'.
Definition: preprocess.h:89
void free_processed_grid(struct processed_grid *g)
Release memory resources acquired in previous grid processing using function process_grdecl().
Definition: preprocess.c:1333