|
static void | GetRandomPoint (int GeomType, IntegrationPoint &ip) |
| Get a random point in the reference element specified by GeomType. More...
|
|
static bool | CheckPoint (int GeomType, const IntegrationPoint &ip) |
| Check if the given point is inside the given reference element. More...
|
|
static bool | CheckPoint (int GeomType, const IntegrationPoint &ip, double eps) |
| Check if the given point is inside the given reference element. Overload for fuzzy tolerance. More...
|
|
static bool | ProjectPoint (int GeomType, const IntegrationPoint &beg, IntegrationPoint &end) |
| Project a point end, onto the given Geometry::Type, GeomType. More...
|
|
static bool | ProjectPoint (int GeomType, IntegrationPoint &ip) |
| Project a point ip, onto the given Geometry::Type, GeomType. More...
|
|
|
static const int | NumGeom = 6 |
|
static const int | MaxDim = 3 |
|
static const int | NumBdrArray [NumGeom] = { 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
Definition at line 29 of file geom.hpp.
Project a point end, onto the given Geometry::Type, GeomType.
Check if the end point is inside the reference element, if not overwrite it with the point on the boundary that lies on the line segment between beg and end (beg must be inside the element). Return true if end is inside the element, and false otherwise.
Definition at line 446 of file geom.cpp.
Project a point ip, onto the given Geometry::Type, GeomType.
If ip is outside the element, replace it with the point on the boundary that is closest to the original ip and return false; otherwise, return true without changing ip.
Definition at line 497 of file geom.cpp.