MFEM
v3.1
Finite element discretization library
|
#include <geom.hpp>
Public Types | |
enum | Type { POINT, SEGMENT, TRIANGLE, SQUARE, TETRAHEDRON, CUBE } |
Public Member Functions | |
Geometry () | |
~Geometry () | |
const IntegrationRule * | GetVertices (int GeomType) |
const IntegrationPoint & | GetCenter (int GeomType) |
DenseMatrix * | GetPerfGeomToGeomJac (int GeomType) |
void | GetPerfPointMat (int GeomType, DenseMatrix &pm) |
void | JacToPerfJac (int GeomType, const DenseMatrix &J, DenseMatrix &PJ) const |
int | NumBdr (int GeomType) |
Static Public Member Functions | |
static void | GetRandomPoint (int GeomType, IntegrationPoint &ip) |
static bool | CheckPoint (int GeomType, const IntegrationPoint &ip) |
Check if the given point is inside the given reference element. More... | |
static bool | ProjectPoint (int GeomType, const IntegrationPoint &beg, IntegrationPoint &end) |
Static Public Attributes | |
static const int | NumGeom = 6 |
static const int | NumBdrArray [] = { 0, 2, 3, 4, 4, 6 } |
static const char * | Name [NumGeom] |
static const double | Volume [NumGeom] |
Types of domains for integration rules and reference finite elements: Geometry::POINT - a point Geometry::SEGMENT - the interval [0,1] Geometry::TRIANGLE - triangle with vertices (0,0), (1,0), (0,1) Geometry::SQUARE - the unit square (0,1)x(0,1) Geometry::TETRAHEDRON - w/ vert. (0,0,0),(1,0,0),(0,1,0),(0,0,1) Geometry::CUBE - the unit cube
enum mfem::Geometry::Type |
|
static |
|
inline |
|
inline |
void mfem::Geometry::GetPerfPointMat | ( | int | GeomType, |
DenseMatrix & | pm | ||
) |
|
static |
const IntegrationRule * mfem::Geometry::GetVertices | ( | int | GeomType | ) |
void mfem::Geometry::JacToPerfJac | ( | int | GeomType, |
const DenseMatrix & | J, | ||
DenseMatrix & | PJ | ||
) | const |
|
static |
|
static |
|
static |
|
static |