MFEM  v4.5.2 Finite element discretization library
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)

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 [MaxElemNodes]

## 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 861 of file ncmesh.hpp.

## ◆ PointMatrix() [1/7]

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

Definition at line 866 of file ncmesh.hpp.

## ◆ PointMatrix() [2/7]

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

Definition at line 868 of file ncmesh.hpp.

## ◆ PointMatrix() [3/7]

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

Definition at line 871 of file ncmesh.hpp.

## ◆ PointMatrix() [4/7]

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

Definition at line 874 of file ncmesh.hpp.

## ◆ PointMatrix() [5/7]

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

Definition at line 877 of file ncmesh.hpp.

## ◆ PointMatrix() [6/7]

 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 884 of file ncmesh.hpp.

## ◆ PointMatrix() [7/7]

 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 891 of file ncmesh.hpp.

## ◆ GetMatrix()

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

Definition at line 3980 of file ncmesh.cpp.

## ◆ operator()() [1/2]

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

Definition at line 900 of file ncmesh.hpp.

## ◆ operator()() [2/2]

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

Definition at line 901 of file ncmesh.hpp.

## ◆ operator==()

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

Definition at line 3966 of file ncmesh.cpp.

## ◆ np

 int mfem::NCMesh::PointMatrix::np

Definition at line 863 of file ncmesh.hpp.

## ◆ points

 Point mfem::NCMesh::PointMatrix::points[MaxElemNodes]

Definition at line 864 of file ncmesh.hpp.

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