MFEM
v4.5.1
Finite element discretization library
|
The PointMatrix stores the coordinates of the slave face using the master face coordinate as reference. More...
#include <ncmesh.hpp>
Public Member Functions | |
PointMatrix () | |
PointMatrix (const Point &p0, const Point &p1) | |
PointMatrix (const Point &p0, const Point &p1, const Point &p2) | |
PointMatrix (const Point &p0, const Point &p1, const Point &p2, const Point &p3) | |
PointMatrix (const Point &p0, const Point &p1, const Point &p2, const Point &p3, const Point &p4, const Point &p5) | |
PointMatrix (const Point &p0, const Point &p1, const Point &p2, const Point &p3, const Point &p4, const Point &p5, const Point &p6, const Point &p7) | |
Point & | operator() (int i) |
const Point & | operator() (int i) const |
bool | operator== (const PointMatrix &pm) const |
void | GetMatrix (DenseMatrix &point_matrix) const |
Public Attributes | |
int | np |
Point | points [8] |
The PointMatrix stores the coordinates of the slave face using the master face coordinate as reference.
In 2D, the point matrix has the orientation of the parent edge, so its columns need to be flipped when applying it, see ApplyLocalSlaveTransformation.
In 3D, the orientation part of Elem2Inf is encoded in the point matrix.
The following transformation gives the relation between the reference quad face coordinates (xi, eta) in [0,1]^2, and the fine quad face coordinates (x, y): x = a0*(1-xi)*(1-eta) + a1*xi*(1-eta) + a2*xi*eta + a3*(1-xi)*eta y = b0*(1-xi)*(1-eta) + b1*xi*(1-eta) + b2*xi*eta + b3*(1-xi)*eta
Definition at line 845 of file ncmesh.hpp.
|
inline |
Definition at line 850 of file ncmesh.hpp.
Definition at line 852 of file ncmesh.hpp.
|
inline |
Definition at line 855 of file ncmesh.hpp.
|
inline |
Definition at line 858 of file ncmesh.hpp.
|
inline |
Definition at line 861 of file ncmesh.hpp.
|
inline |
Definition at line 868 of file ncmesh.hpp.
void mfem::NCMesh::PointMatrix::GetMatrix | ( | DenseMatrix & | point_matrix | ) | const |
Definition at line 3833 of file ncmesh.cpp.
|
inline |
Definition at line 877 of file ncmesh.hpp.
|
inline |
Definition at line 878 of file ncmesh.hpp.
bool mfem::NCMesh::PointMatrix::operator== | ( | const PointMatrix & | pm | ) | const |
Definition at line 3819 of file ncmesh.cpp.
int mfem::NCMesh::PointMatrix::np |
Definition at line 847 of file ncmesh.hpp.
Point mfem::NCMesh::PointMatrix::points[8] |
Definition at line 848 of file ncmesh.hpp.