ecl_grav.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2011 Equinor ASA, Norway.
3
4 This file 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_GRAV_H
20#define ERT_ECL_GRAV_H
21
22#include <ert/ecl/ecl_file.hpp>
24#include <ert/ecl/ecl_grid.hpp>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30typedef struct ecl_grav_struct ecl_grav_type;
31typedef struct ecl_grav_survey_struct ecl_grav_survey_type;
32
33
34void ecl_grav_free( ecl_grav_type * ecl_grav_config );
35ecl_grav_type * ecl_grav_alloc( const ecl_grid_type * ecl_grid, const ecl_file_type * init_file );
36ecl_grav_survey_type * ecl_grav_add_survey_FIP( ecl_grav_type * grav , const char * name , const ecl_file_view_type * restart_file );
39ecl_grav_survey_type * ecl_grav_add_survey_RFIP( ecl_grav_type * grav , const char * name , const ecl_file_view_type * restart_file );
40double ecl_grav_eval( const ecl_grav_type * grav , const char * base, const char * monitor , ecl_region_type * region , double utm_x, double utm_y , double depth, int phase_mask);
41void ecl_grav_new_std_density( ecl_grav_type * grav , ecl_phase_enum phase , double default_density);
42void ecl_grav_add_std_density( ecl_grav_type * grav , ecl_phase_enum phase , int pvtnum , double density);
43
44#ifdef __cplusplus
45}
46#endif
47#endif
ecl_grid_struct ecl_grid_type
Definition: ECLGraph.hpp:43
struct ecl_file_struct ecl_file_type
Definition: ECLResultData.hpp:39
const char *const name
Definition: cJSON.h:258
struct ecl_file_view_struct ecl_file_view_type
Definition: ecl_file_view.hpp:50
void ecl_grav_free(ecl_grav_type *ecl_grav_config)
ecl_grav_survey_type * ecl_grav_add_survey_RPORV(ecl_grav_type *grav, const char *name, const ecl_file_view_type *restart_file)
void ecl_grav_new_std_density(ecl_grav_type *grav, ecl_phase_enum phase, double default_density)
ecl_grav_survey_type * ecl_grav_add_survey_RFIP(ecl_grav_type *grav, const char *name, const ecl_file_view_type *restart_file)
ecl_grav_survey_type * ecl_grav_add_survey_PORMOD(ecl_grav_type *grav, const char *name, const ecl_file_view_type *restart_file)
ecl_grav_type * ecl_grav_alloc(const ecl_grid_type *ecl_grid, const ecl_file_type *init_file)
struct ecl_grav_struct ecl_grav_type
Definition: ecl_grav.hpp:30
double ecl_grav_eval(const ecl_grav_type *grav, const char *base, const char *monitor, ecl_region_type *region, double utm_x, double utm_y, double depth, int phase_mask)
ecl_grav_survey_type * ecl_grav_add_survey_FIP(ecl_grav_type *grav, const char *name, const ecl_file_view_type *restart_file)
void ecl_grav_add_std_density(ecl_grav_type *grav, ecl_phase_enum phase, int pvtnum, double density)
struct ecl_grav_survey_struct ecl_grav_survey_type
Definition: ecl_grav.hpp:31
struct ecl_region_struct ecl_region_type
Definition: ecl_region.hpp:54
ecl_phase_enum
Definition: ecl_util.hpp:90