ecl_nnc_geometry.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2017 Equinor ASA, Norway.
3
4 The file 'ecl_nnc_geometry.h' is part of ERT - Ensemble based Reservoir Tool.
5
6 ERT is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 ERT is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.
14
15 See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
16 for more details.
17*/
18
19#ifndef ERT_NNC_GEOMETRY_H
20#define ERT_NNC_GEOMETRY_H
21
23
24#include <ert/ecl/ecl_grid.hpp>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30typedef struct ecl_nnc_geometry_struct ecl_nnc_geometry_type;
32
38
39 int input_index; /* corresponds to the input ordering of this nnc */
40};
41
42UTIL_IS_INSTANCE_HEADER( ecl_nnc_geometry);
48
49#ifdef __cplusplus
50}
51#endif
52#endif
ecl_grid_struct ecl_grid_type
Definition: ECLGraph.hpp:43
int index
Definition: cJSON.h:168
ecl_nnc_geometry_type * ecl_nnc_geometry_alloc(const ecl_grid_type *grid)
void ecl_nnc_geometry_free(ecl_nnc_geometry_type *nnc_geo)
struct ecl_nnc_geometry_struct ecl_nnc_geometry_type
Definition: ecl_nnc_geometry.hpp:30
int ecl_nnc_geometry_size(const ecl_nnc_geometry_type *nnc_geo)
bool ecl_nnc_geometry_same_kw(const ecl_nnc_pair_type *nnc1, const ecl_nnc_pair_type *nnc2)
UTIL_IS_INSTANCE_HEADER(ecl_nnc_geometry)
const ecl_nnc_pair_type * ecl_nnc_geometry_iget(const ecl_nnc_geometry_type *nnc_geo, int index)
Definition: ecl_nnc_geometry.hpp:33
int grid_nr1
Definition: ecl_nnc_geometry.hpp:34
int input_index
Definition: ecl_nnc_geometry.hpp:39
int global_index1
Definition: ecl_nnc_geometry.hpp:35
int global_index2
Definition: ecl_nnc_geometry.hpp:37
int grid_nr2
Definition: ecl_nnc_geometry.hpp:36