ecl_coarse_cell.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2012 Equinor ASA, Norway.
3
4 This file 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_ECL_COARSE_CELL_H
20#define ERT_ECL_COARSE_CELL_H
21
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27typedef struct ecl_coarse_cell_struct ecl_coarse_cell_type;
28
30 const ecl_coarse_cell_type * coarse_cell2);
33 int i,
34 int j,
35 int k,
36 int global_index);
38void ecl_coarse_cell_free__(void * arg);
39
46const int * ecl_coarse_cell_get_box_ptr(const ecl_coarse_cell_type * coarse_cell);
47
50 int group_index);
52const int_vector_type * ecl_coarse_cell_get_index_vector(ecl_coarse_cell_type * coarse_cell);
53
56 int global_index,
57 int * active_index,
58 int * active_fracture_index,
59 int active_value);
63 int index);
65 int index);
68 FILE * stream);
69
70#ifdef __cplusplus
71}
72#endif
73#endif
int index
Definition: cJSON.h:168
ecl_coarse_cell_type * ecl_coarse_cell_alloc(void)
void ecl_coarse_cell_update(ecl_coarse_cell_type *coarse_cell, int i, int j, int k, int global_index)
int ecl_coarse_cell_iget_cell_index(ecl_coarse_cell_type *coarse_cell, int group_index)
const int * ecl_coarse_cell_get_index_ptr(ecl_coarse_cell_type *coarse_cell)
void ecl_coarse_cell_fprintf(const ecl_coarse_cell_type *coarse_cell, FILE *stream)
int ecl_coarse_cell_get_i2(const ecl_coarse_cell_type *coarse_cell)
bool ecl_coarse_cell_equal(const ecl_coarse_cell_type *coarse_cell1, const ecl_coarse_cell_type *coarse_cell2)
int ecl_coarse_cell_get_active_fracture_index(const ecl_coarse_cell_type *coarse_cell)
const int_vector_type * ecl_coarse_cell_get_index_vector(ecl_coarse_cell_type *coarse_cell)
const int * ecl_coarse_cell_get_box_ptr(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_j1(const ecl_coarse_cell_type *coarse_cell)
void ecl_coarse_cell_reset_active_index(ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_size(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_iget_active_cell_index(const ecl_coarse_cell_type *coarse_cell, int index)
void ecl_coarse_cell_update_index(ecl_coarse_cell_type *coarse_cell, int global_index, int *active_index, int *active_fracture_index, int active_value)
void ecl_coarse_cell_free__(void *arg)
int ecl_coarse_cell_get_active_index(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_iget_active_value(const ecl_coarse_cell_type *coarse_cell, int index)
void ecl_coarse_cell_free(ecl_coarse_cell_type *coarse_cell)
struct ecl_coarse_cell_struct ecl_coarse_cell_type
Definition: ecl_coarse_cell.hpp:27
int ecl_coarse_cell_get_i1(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_j2(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_k1(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_num_active(const ecl_coarse_cell_type *coarse_cell)
int ecl_coarse_cell_get_k2(const ecl_coarse_cell_type *coarse_cell)