ecl_grid_dims.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2013 Equinor ASA, Norway.
3
4 The file 'ecl_grid_dims.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_ECL_GRID_DIMS_H
20#define ERT_ECL_GRID_DIMS_H
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <ert/ecl/grid_dims.hpp>
26
27 typedef struct ecl_grid_dims_struct ecl_grid_dims_type;
28
29 ecl_grid_dims_type * ecl_grid_dims_alloc( const char * grid_file , const char * data_file);
32 const grid_dims_type * ecl_grid_dims_iget_dims( const ecl_grid_dims_type * grid_dims , int grid_nr );
33
34#ifdef __cplusplus
35}
36#endif
37#endif
void ecl_grid_dims_free(ecl_grid_dims_type *grid_dims)
const grid_dims_type * ecl_grid_dims_iget_dims(const ecl_grid_dims_type *grid_dims, int grid_nr)
int ecl_grid_dims_get_num_grids(const ecl_grid_dims_type *grid_dims)
struct ecl_grid_dims_struct ecl_grid_dims_type
Definition: ecl_grid_dims.hpp:27
ecl_grid_dims_type * ecl_grid_dims_alloc(const char *grid_file, const char *data_file)
Definition: grid_dims.hpp:25