fault_block_layer.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2014 Equinor ASA, Norway.
3
4 The file 'fault_block_layer.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_LAYER_H
20#define ERT_FAULT_BLOCK_LAYER_H
21#ifdef __cplusplus
22extern "C" {
23#endif
24
26
27#include <ert/ecl/ecl_grid.hpp>
28#include <ert/ecl/ecl_kw.hpp>
30#include <ert/ecl/layer.hpp>
31
32 UTIL_IS_INSTANCE_HEADER(fault_block_layer);
33
34 typedef struct fault_block_layer_struct fault_block_layer_type;
35
38 void fault_block_layer_free__( void * arg );
39 bool fault_block_layer_has_block( const fault_block_layer_type * layer , int block_id);
48 bool fault_block_layer_scan_kw( fault_block_layer_type * layer , const ecl_kw_type * fault_block_kw);
49 bool fault_block_layer_load_kw( fault_block_layer_type * layer , const ecl_kw_type * fault_block_kw);
53 bool fault_block_layer_export( const fault_block_layer_type * layer , ecl_kw_type * faultblock_kw);
56
57
58#ifdef __cplusplus
59}
60#endif
61#endif
ecl_grid_struct ecl_grid_type
Definition: ECLGraph.hpp:43
struct ecl_kw_struct ecl_kw_type
Definition: ecl_kw.hpp:39
struct fault_block_struct fault_block_type
Definition: fault_block.hpp:37
fault_block_type * fault_block_layer_iget_block(const fault_block_layer_type *layer, int storage_index)
int fault_block_layer_get_max_id(const fault_block_layer_type *layer)
fault_block_type * fault_block_layer_add_block(fault_block_layer_type *layer, int block_id)
fault_block_type * fault_block_layer_safe_get_block(fault_block_layer_type *layer, int block_id)
struct fault_block_layer_struct fault_block_layer_type
Definition: fault_block_layer.hpp:34
void fault_block_layer_del_block(fault_block_layer_type *layer, int block_id)
fault_block_type * fault_block_layer_get_block(const fault_block_layer_type *layer, int block_id)
void fault_block_layer_insert_block_content(fault_block_layer_type *layer, const fault_block_type *src_block)
UTIL_IS_INSTANCE_HEADER(fault_block_layer)
bool fault_block_layer_export(const fault_block_layer_type *layer, ecl_kw_type *faultblock_kw)
const ecl_grid_type * fault_block_layer_get_grid(const fault_block_layer_type *layer)
int fault_block_layer_get_next_id(const fault_block_layer_type *layer)
void fault_block_layer_scan_layer(fault_block_layer_type *fault_layer, layer_type *layer)
void fault_block_layer_free(fault_block_layer_type *layer)
int fault_block_layer_get_size(const fault_block_layer_type *layer)
bool fault_block_layer_scan_kw(fault_block_layer_type *layer, const ecl_kw_type *fault_block_kw)
bool fault_block_layer_has_block(const fault_block_layer_type *layer, int block_id)
fault_block_layer_type * fault_block_layer_alloc(const ecl_grid_type *grid, int k)
int fault_block_layer_get_k(const fault_block_layer_type *layer)
void fault_block_layer_free__(void *arg)
bool fault_block_layer_load_kw(fault_block_layer_type *layer, const ecl_kw_type *fault_block_kw)
layer_type * fault_block_layer_get_layer(const fault_block_layer_type *layer)
struct layer_struct layer_type
Definition: layer.hpp:51