well_ts.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2011 Equinor ASA, Norway.
3
4 The file 'well_ts.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_TS_H
21#define ERT_WELL_TS_H
22
23
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30 typedef struct well_ts_struct well_ts_type;
31
32 void well_ts_free( well_ts_type * well_ts );
33 void well_ts_add_well( well_ts_type * well_ts , well_state_type * well_state );
34 well_ts_type * well_ts_alloc( const char * well_name );
35 void well_ts_free__( void * arg );
36 well_state_type * well_ts_get_state_from_sim_time( const well_ts_type * well_ts , time_t sim_time);
37 well_state_type * well_ts_get_state_from_report( const well_ts_type * well_ts , int report_nr);
39 int well_ts_get_size( const well_ts_type * well_ts);
40 const char * well_ts_get_name( const well_ts_type * well_ts);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
int index
Definition: cJSON.h:168
struct well_state_struct well_state_type
Definition: well_state.hpp:41
void well_ts_free__(void *arg)
well_state_type * well_ts_iget_state(const well_ts_type *well_ts, int index)
well_state_type * well_ts_get_state_from_report(const well_ts_type *well_ts, int report_nr)
void well_ts_free(well_ts_type *well_ts)
int well_ts_get_size(const well_ts_type *well_ts)
well_state_type * well_ts_get_first_state(const well_ts_type *well_ts)
well_state_type * well_ts_get_state_from_sim_time(const well_ts_type *well_ts, time_t sim_time)
const char * well_ts_get_name(const well_ts_type *well_ts)
void well_ts_add_well(well_ts_type *well_ts, well_state_type *well_state)
well_state_type * well_ts_get_last_state(const well_ts_type *well_ts)
struct well_ts_struct well_ts_type
Definition: well_ts.hpp:30
well_ts_type * well_ts_alloc(const char *well_name)