fault_block.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2014 Equinor ASA, Norway.
3
4 The file 'fault_block.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_FAULT_BLOCK_H
20#define ERT_FAULT_BLOCK_H
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <ert/util/int_vector.hpp>
26#include <ert/util/double_vector.hpp>
28
30
31#include <ert/ecl/ecl_grid.hpp>
32#include <ert/ecl/ecl_kw.hpp>
33
34
35
36
37 typedef struct fault_block_struct fault_block_type;
38
39 void fault_block_free__( void * arg);
41 double fault_block_get_xc( fault_block_type * fault_block );
42 double fault_block_get_yc( fault_block_type * fault_block );
44 int fault_block_get_size( const fault_block_type * fault_block );
45 void fault_block_export_cell(const fault_block_type * fault_block , int index , int * i , int * j , int * k , double * x, double * y, double * z);
46 void fault_block_assign_to_region( fault_block_type * fault_block , int region_id );
47 const int_vector_type * fault_block_get_region_list( const fault_block_type * fault_block );
48 int fault_block_iget_j(const fault_block_type * fault_block , int index);
49 int fault_block_iget_i(const fault_block_type * fault_block , int index);
50 void fault_block_add_cell( fault_block_type * fault_block , int i , int j);
51 bool fault_block_trace_edge( const fault_block_type * block , double_vector_type * x_list , double_vector_type * y_list, int_vector_type * cell_list);
52 const int_vector_type * fault_block_get_global_index_list( const fault_block_type * fault_block);
53 void fault_block_copy_content(fault_block_type * target_block , const fault_block_type * src_block );
54 void fault_block_list_neighbours( const fault_block_type * block , bool connected_only , const geo_polygon_collection_type * polylines , int_vector_type * neighbour_list);
55
57
58#ifdef __cplusplus
59}
60#endif
61#endif
int index
Definition: cJSON.h:168
int fault_block_iget_j(const fault_block_type *fault_block, int index)
void fault_block_assign_to_region(fault_block_type *fault_block, int region_id)
void fault_block_add_cell(fault_block_type *fault_block, int i, int j)
bool fault_block_trace_edge(const fault_block_type *block, double_vector_type *x_list, double_vector_type *y_list, int_vector_type *cell_list)
double fault_block_get_yc(fault_block_type *fault_block)
double fault_block_get_xc(fault_block_type *fault_block)
void fault_block_list_neighbours(const fault_block_type *block, bool connected_only, const geo_polygon_collection_type *polylines, int_vector_type *neighbour_list)
struct fault_block_struct fault_block_type
Definition: fault_block.hpp:37
int fault_block_get_id(const fault_block_type *block)
const int_vector_type * fault_block_get_global_index_list(const fault_block_type *fault_block)
void fault_block_export_cell(const fault_block_type *fault_block, int index, int *i, int *j, int *k, double *x, double *y, double *z)
int fault_block_get_size(const fault_block_type *block)
int fault_block_iget_i(const fault_block_type *fault_block, int index)
UTIL_IS_INSTANCE_HEADER(fault_block)
void fault_block_copy_content(fault_block_type *target_block, const fault_block_type *src_block)
void fault_block_free__(void *arg)
const int_vector_type * fault_block_get_region_list(const fault_block_type *fault_block)
struct geo_polygon_collection_struct geo_polygon_collection_type
Definition: geo_polygon_collection.hpp:34
x y * z
Definition: exprtk.hpp:9663
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z)