OpenCAEPoro  v0.5.0
A simulator for multicomponent porous media flow
Classes | Functions | Variables
CornerGrid.hpp File Reference

Declaration of classes related to the corner grid. More...

#include <math.h>
#include <stdlib.h>
#include <vector>
#include "OCPConst.hpp"

Go to the source code of this file.

Classes

class  Point2D
 A point in 2D. More...
 
class  Point3D
 A point in 3D. More...
 
class  Hexahedron
 A hexahedron cell. More...
 
class  HexahedronFace
 A face of a hexahedron cell. More...
 
class  Matrix3
 3 by 3 matrix. More...
 
class  HalfConn
 ??? More...
 
class  ConnGrid
 ??? More...
 
class  GeneralConnect
 ??? More...
 
class  OCP_COORD
 ??? More...
 

Functions

Point3D operator* (const Point3D &p, const OCP_DBL &a)
 Point * a.
 
Point3D operator* (const OCP_DBL &a, const Point3D &p)
 a * Point
 
Point3D CrossProduct (const Point3D &p1, const Point3D &p2)
 Cross product.
 
OCP_DBL VolumHexahedron (const Hexahedron &h)
 Get the volume of a hexahedron.
 
Point3D CenterHexahedron (const Hexahedron &h)
 Find the center of a hexahedron.
 
Point3D VectorFace (const HexahedronFace &f)
 Find the normal vector of a face.
 
Point3D CenterFace (const HexahedronFace &f)
 Find the center of a face.
 
Point2D CalCrossingPoint (const Point2D Line1[2], const Point2D Line2[2])
 ???
 
OCP_DBL CalAreaNotQuadr (const HexahedronFace &FACE1, const HexahedronFace &FACE2)
 ???
 

Variables

const OCP_DBL SMALL_REAL = 1E-10
 Used for checking determinate of a small matrix.
 
const OCP_DBL TEENY = 1E-3
 Used for checking distance b/w center to face.
 
const OCP_DBL SMALL = 1E-3
 Small number as tolerance.
 
const USI MAX_NEIGHBOR = 80
 Max number of neighbors allowed.
 

Detailed Description

Declaration of classes related to the corner grid.

Author
Shizhe Li
Date
Nov/16/2021

Copyright (C) 2021–present by the OpenCAEPoro team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file CornerGrid.hpp.