MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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 997 of file ncmesh.hpp.

Constructor & Destructor Documentation

◆ PointMatrix() [1/7]

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

Definition at line 1002 of file ncmesh.hpp.

◆ PointMatrix() [2/7]

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

Definition at line 1004 of file ncmesh.hpp.

◆ PointMatrix() [3/7]

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

Definition at line 1007 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 1010 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 1013 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 1020 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 1027 of file ncmesh.hpp.

Member Function Documentation

◆ GetMatrix()

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

Definition at line 4090 of file ncmesh.cpp.

◆ operator()() [1/2]

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

Definition at line 1036 of file ncmesh.hpp.

◆ operator()() [2/2]

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

Definition at line 1037 of file ncmesh.hpp.

◆ operator==()

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

Definition at line 4076 of file ncmesh.cpp.

Member Data Documentation

◆ np

int mfem::NCMesh::PointMatrix::np

Definition at line 999 of file ncmesh.hpp.

◆ points

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

Definition at line 1000 of file ncmesh.hpp.


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