perm_vector.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2016 Equinor ASA, Norway.
3
4 The file 'perm_vector.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 PERM_VECTOR_H
20#define PERM_VECTOR_H
21
23
24#ifdef __cplusplus
25extern "C" {
26#endif //__cplusplus
27
28typedef struct perm_vector_struct perm_vector_type;
29
30perm_vector_type * perm_vector_alloc( int * perm_input , int size );
31void perm_vector_free( perm_vector_type * perm_vector );
33int perm_vector_iget( const perm_vector_type * perm, int index);
34
35#ifdef __cplusplus
36}
37#endif //__cplusplus
38
39#endif
40
int index
Definition: cJSON.h:168
void perm_vector_free(perm_vector_type *perm_vector)
int perm_vector_iget(const perm_vector_type *perm, int index)
int perm_vector_get_size(const perm_vector_type *perm)
perm_vector_type * perm_vector_alloc(int *perm_input, int size)
struct perm_vector_struct perm_vector_type
Definition: perm_vector.hpp:28