well_conn_collection.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2013 Equinor ASA, Norway.
3
4 The file 'well_conn_collection.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
20#ifndef ERT_WELL_CONN_COLLECTION_H
21#define ERT_WELL_CONN_COLLECTION_H
22
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
29
30#include <ert/ecl/ecl_kw.hpp>
31
33
34typedef struct well_conn_collection_struct well_conn_collection_type;
35
41 int index);
43 int index);
45 well_conn_type * conn);
47 well_conn_type * conn);
49 const ecl_kw_type * iwel_kw,
50 const ecl_kw_type * icon_kw,
51 const ecl_kw_type * scon_kw,
52 const ecl_kw_type * xcon_kw,
53 int iwell,
54 const ecl_rsthead_type * rst_head);
55
56UTIL_IS_INSTANCE_HEADER(well_conn_collection);
57
58#ifdef __cplusplus
59}
60#endif
61#endif
int index
Definition: cJSON.h:168
struct ecl_kw_struct ecl_kw_type
Definition: ecl_kw.hpp:39
Definition: ecl_rsthead.hpp:33
struct well_conn_struct well_conn_type
Definition: well_conn.hpp:44
void well_conn_collection_add_ref(well_conn_collection_type *wellcc, well_conn_type *conn)
well_conn_type * well_conn_collection_iget(const well_conn_collection_type *wellcc, int index)
const well_conn_type * well_conn_collection_iget_const(const well_conn_collection_type *wellcc, int index)
struct well_conn_collection_struct well_conn_collection_type
Definition: well_conn_collection.hpp:34
void well_conn_collection_add(well_conn_collection_type *wellcc, well_conn_type *conn)
UTIL_IS_INSTANCE_HEADER(well_conn_collection)
int well_conn_collection_get_size(const well_conn_collection_type *wellcc)
void well_conn_collection_free(well_conn_collection_type *wellcc)
int well_conn_collection_load_from_kw(well_conn_collection_type *wellcc, const ecl_kw_type *iwel_kw, const ecl_kw_type *icon_kw, const ecl_kw_type *scon_kw, const ecl_kw_type *xcon_kw, int iwell, const ecl_rsthead_type *rst_head)
void well_conn_collection_free__(void *arg)
well_conn_collection_type * well_conn_collection_alloc(void)