Loading...
Searching...
No Matches
cornerpoint_grid.h
Go to the documentation of this file.
/*===========================================================================
//
// File: preprocess.h
//
// Created: Fri Jun 19 08:43:04 2009
//
// Author: Jostein R. Natvig <Jostein.R.Natvig@sintef.no>
//
// $Date: 2010-08-27 19:12:16 +0200 (Fri, 27 Aug 2010) $
//
// $Revision: 930 $
//
//==========================================================================*/
/*
Copyright 2010, 2011, 2012 SINTEF ICT, Applied Mathematics.
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPM_CORNERPOINT_GRID_HEADER_INCLUDED
#define OPM_CORNERPOINT_GRID_HEADER_INCLUDED
#include <opm/grid/UnstructuredGrid.h>
#include <opm/grid/cpgpreprocess/preprocess.h>
#ifdef __cplusplus
extern "C" {
#endif
struct UnstructuredGrid *
create_grid_cornerpoint(const struct grdecl *in,
double tol,
int edge_conformal);
void compute_geometry(struct UnstructuredGrid *g);
#ifdef __cplusplus
}
#endif
#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