MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
mfem::NCMesh::PointMatrix Struct Reference

The PointMatrix stores the coordinates of the slave face using the master face coordinate as reference. More...

#include <ncmesh.hpp>

Collaboration diagram for mfem::NCMesh::PointMatrix:
[legend]

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)
 
Pointoperator() (int i)
 
const Pointoperator() (int i) const
 
bool operator== (const PointMatrix &pm) const
 
void GetMatrix (DenseMatrix &point_matrix) const
 

Public Attributes

int np
 
Point points [8]
 

Detailed Description

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.

Constructor & Destructor Documentation

mfem::NCMesh::PointMatrix::PointMatrix ( )
inline

Definition at line 850 of file ncmesh.hpp.

mfem::NCMesh::PointMatrix::PointMatrix ( const Point p0,
const Point p1 
)
inline

Definition at line 852 of file ncmesh.hpp.

mfem::NCMesh::PointMatrix::PointMatrix ( const Point p0,
const Point p1,
const Point p2 
)
inline

Definition at line 855 of file ncmesh.hpp.

mfem::NCMesh::PointMatrix::PointMatrix ( const Point p0,
const Point p1,
const Point p2,
const Point p3 
)
inline

Definition at line 858 of file ncmesh.hpp.

mfem::NCMesh::PointMatrix::PointMatrix ( const Point p0,
const Point p1,
const Point p2,
const Point p3,
const Point p4,
const Point p5 
)
inline

Definition at line 861 of file ncmesh.hpp.

mfem::NCMesh::PointMatrix::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 
)
inline

Definition at line 868 of file ncmesh.hpp.

Member Function Documentation

void mfem::NCMesh::PointMatrix::GetMatrix ( DenseMatrix point_matrix) const

Definition at line 3831 of file ncmesh.cpp.

Point& mfem::NCMesh::PointMatrix::operator() ( int  i)
inline

Definition at line 877 of file ncmesh.hpp.

const Point& mfem::NCMesh::PointMatrix::operator() ( int  i) const
inline

Definition at line 878 of file ncmesh.hpp.

bool mfem::NCMesh::PointMatrix::operator== ( const PointMatrix pm) const

Definition at line 3817 of file ncmesh.cpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following files: