opm-grid
Toggle main menu visibility
Loading...
Searching...
No Matches
cornerpoint_grid.h
Go to the documentation of this file.
1
/*===========================================================================
2
//
3
// File: preprocess.h
4
//
5
// Created: Fri Jun 19 08:43:04 2009
6
//
7
// Author: Jostein R. Natvig <Jostein.R.Natvig@sintef.no>
8
//
9
// $Date: 2010-08-27 19:12:16 +0200 (Fri, 27 Aug 2010) $
10
//
11
// $Revision: 930 $
12
//
13
//==========================================================================*/
14
15
/*
16
Copyright 2010, 2011, 2012 SINTEF ICT, Applied Mathematics.
17
18
This file is part of the Open Porous Media project (OPM).
19
20
OPM is free software: you can redistribute it and/or modify
21
it under the terms of the GNU General Public License as published by
22
the Free Software Foundation, either version 3 of the License, or
23
(at your option) any later version.
24
25
OPM is distributed in the hope that it will be useful,
26
but WITHOUT ANY WARRANTY; without even the implied warranty of
27
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
GNU General Public License for more details.
29
30
You should have received a copy of the GNU General Public License
31
along with OPM. If not, see <http://www.gnu.org/licenses/>.
32
*/
33
34
#ifndef OPM_CORNERPOINT_GRID_HEADER_INCLUDED
35
#define OPM_CORNERPOINT_GRID_HEADER_INCLUDED
36
42
43
#include <
opm/grid/UnstructuredGrid.h
>
44
45
#include <
opm/grid/cpgpreprocess/preprocess.h
>
46
47
#ifdef __cplusplus
48
extern
"C"
{
49
#endif
50
78
struct
UnstructuredGrid
*
79
create_grid_cornerpoint
(
const
struct
grdecl
*in,
80
double
tol,
81
int
edge_conformal);
82
106
void
compute_geometry
(
struct
UnstructuredGrid
*g);
107
108
#ifdef __cplusplus
109
}
110
#endif
111
112
#endif
/* OPM_CORNERPOINT_GRID_HEADER_INCLUDED */
UnstructuredGrid.h
Main OPM-Core grid data structure along with helper functions for construction, destruction and readi...
compute_geometry
void compute_geometry(struct UnstructuredGrid *g)
Compute derived geometric primitives in a grid.
Definition
cornerpoint_grid.c:140
create_grid_cornerpoint
struct UnstructuredGrid * create_grid_cornerpoint(const struct grdecl *in, double tol, int edge_conformal)
Construct grid representation from corner-point specification of a particular geological model.
Definition
cornerpoint_grid.c:166
preprocess.h
Low-level corner-point processing routines and supporting data structures.
UnstructuredGrid
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition
UnstructuredGrid.h:101
grdecl
Raw corner-point specification of a particular geological model.
Definition
preprocess.h:56
opm
grid
cornerpoint_grid.h
Generated by
1.17.0