ecl_grav_common.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2011 Equinor ASA, Norway.
3
4 The file 'ecl_grav_common.h' is part of ERT - Ensemble based
5 Reservoir Tool.
6
7 ERT is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 ERT is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.
15
16 See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
17 for more details.
18*/
19
20#ifndef ERT_ECL_GRAV_COMMON_H
21#define ERT_ECL_GRAV_COMMON_H
22
23#include <stdbool.h>
24
25#include <ert/ecl/ecl_file.hpp>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
33 const ecl_file_type * init_file);
34
36 ecl_region_type * region,
37 const bool * aquifer,
38 const double * weight,
39 double utm_x,
40 double utm_y,
41 double depth);
42
44 ecl_region_type * region,
45 const bool * aquifer,
46 const double * weight,
47 double utm_x,
48 double utm_y,
49 double depth,
50 double poisson_ratio,
51 double seabed);
52
53#ifdef __cplusplus
54}
55
56#endif
57#endif
struct ecl_file_struct ecl_file_type
Definition: ECLResultData.hpp:39
Definition: ecl_grid_cache.hpp:28
double ecl_grav_common_eval_biot_savart(const ecl::ecl_grid_cache &grid_cache, ecl_region_type *region, const bool *aquifer, const double *weight, double utm_x, double utm_y, double depth)
bool * ecl_grav_common_alloc_aquifer_cell(const ecl::ecl_grid_cache &grid_cache, const ecl_file_type *init_file)
double ecl_grav_common_eval_geertsma(const ecl::ecl_grid_cache &grid_cache, ecl_region_type *region, const bool *aquifer, const double *weight, double utm_x, double utm_y, double depth, double poisson_ratio, double seabed)
struct ecl_region_struct ecl_region_type
Definition: ecl_region.hpp:54