MFEM
v3.2
Finite element discretization library
|
#include <geom.hpp>
Classes | |
struct | Constants |
struct | Constants< Geometry::CUBE > |
struct | Constants< Geometry::POINT > |
struct | Constants< Geometry::SEGMENT > |
struct | Constants< Geometry::SQUARE > |
struct | Constants< Geometry::TETRAHEDRON > |
struct | Constants< Geometry::TRIANGLE > |
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] |
static const int | Dimension [NumGeom] = { 0, 1, 2, 2, 3, 3 } |
static const int | NumVerts [NumGeom] = { 1, 2, 3, 4, 4, 8 } |
static const int | NumEdges [NumGeom] = { 0, 1, 3, 4, 6, 12 } |
static const int | NumFaces [NumGeom] = { 0, 0, 1, 1, 4, 6 } |
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 |
|
static |
|
static |
|
static |
|
static |