type_vector_functions.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2013 Equinor ASA, Norway.
3
4 The file 'type_vector_functions.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#ifndef ERT_TYPE_VECTOR_FUNCTIONS_H
19#define ERT_TYPE_VECTOR_FUNCTIONS_H
20
21#include <ert/util/int_vector.hpp>
22#include <ert/util/bool_vector.hpp>
23#include <ert/util/double_vector.hpp>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29 int_vector_type * bool_vector_alloc_active_list( const bool_vector_type * mask );
30 bool_vector_type * int_vector_alloc_mask( const int_vector_type * active_list );
31 int_vector_type * bool_vector_alloc_active_index_list(const bool_vector_type * mask , int default_value);
32 bool double_vector_approx_equal( const double_vector_type * v1 , const double_vector_type * v12 , double epsilon);
33
34#ifdef __cplusplus
35}
36#endif
37#endif
int_vector_type * bool_vector_alloc_active_list(const bool_vector_type *mask)
int_vector_type * bool_vector_alloc_active_index_list(const bool_vector_type *mask, int default_value)
bool double_vector_approx_equal(const double_vector_type *v1, const double_vector_type *v12, double epsilon)
bool_vector_type * int_vector_alloc_mask(const int_vector_type *active_list)