My Project
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
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
70 struct UnstructuredGrid *
71 create_grid_cornerpoint(const struct grdecl *in, double tol);
72
73
97 void compute_geometry(struct UnstructuredGrid *g);
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif /* OPM_CORNERPOINT_GRID_HEADER_INCLUDED */
Main OPM-Core grid data structure along with helper functions for construction, destruction and readi...
struct UnstructuredGrid * create_grid_cornerpoint(const struct grdecl *in, double tol)
Construct grid representation from corner-point specification of a particular geological model.
Definition cornerpoint_grid.c:164
void compute_geometry(struct UnstructuredGrid *g)
Compute derived geometric primitives in a grid.
Definition cornerpoint_grid.c:137
Low-level corner-point processing routines and supporting data structures.
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition UnstructuredGrid.h:99
Raw corner-point specification of a particular geological model.
Definition preprocess.h:56