well_branch_collection.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2013 Equinor ASA, Norway.
3
4 The file 'well_branch_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_BRANCH_COLLECTION_H
21#define ERT_WELL_BRANCH_COLLECTION_H
22
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28#include <stdbool.h>
29
31
33
34 typedef struct well_branch_collection_struct well_branch_collection_type;
35
39 bool well_branch_collection_has_branch( const well_branch_collection_type * branches , int branch_id);
44
45 UTIL_IS_INSTANCE_HEADER( well_branch_collection );
46
47#ifdef __cplusplus
48}
49#endif
50#endif
int index
Definition: cJSON.h:168
void well_branch_collection_free(well_branch_collection_type *branches)
void well_branch_collection_free__(void *arg)
bool well_branch_collection_add_start_segment(well_branch_collection_type *branches, well_segment_type *start_segment)
well_branch_collection_type * well_branch_collection_alloc(void)
struct well_branch_collection_struct well_branch_collection_type
Definition: well_branch_collection.hpp:34
bool well_branch_collection_has_branch(const well_branch_collection_type *branches, int branch_id)
UTIL_IS_INSTANCE_HEADER(well_branch_collection)
const well_segment_type * well_branch_collection_get_start_segment(const well_branch_collection_type *branches, int branch_id)
int well_branch_collection_get_size(const well_branch_collection_type *branches)
const well_segment_type * well_branch_collection_iget_start_segment(const well_branch_collection_type *branches, int index)
struct well_segment_struct well_segment_type
Definition: well_segment.hpp:40