GetFaceElemType
This method returns the element type of each face.
Interface
INTERFACE GetFaceElemType
MODULE PURE SUBROUTINE GetFaceElemType1(elemType, faceElemType, opt, &
& tFaceNodes)
INTEGER(I4B), INTENT(IN) :: elemType
!! name of element
INTEGER(I4B), INTENT(INOUT) :: faceElemType(:)
!! Element names of faces
INTEGER(I4B), OPTIONAL, INTENT(INOUT) :: tFaceNodes(:)
!! Total number of nodes in each face
INTEGER(I4B), OPTIONAL, INTENT(IN) :: opt
!! If opt = 1, then edge connectivity for hierarchial approximation
!! If opt = 2, then edge connectivity for Lagrangian approximation
!! opt = 1 is default
END SUBROUTINE GetFaceElemType1
END INTERFACE GetFaceElemType
elemTypeInteger code for element type.
faceElemTypeA vector of face element types. It should be allocated by the user.
tFaceNodesThis is optional. If present, then we can get the total number of nodes in each face.
opt- If opt = 1, then edge connectivity for hierarchial approximation
- If opt = 2, then edge connectivity for Lagrangian approximation
- opt = 1 is default
Line
For the line elements we call GetFaceElemType_Line method. This method works as follows:
faceElemTypeisPointtFaceNodesis1optis ignored
Triangle
For the triangle elements we call GetFaceElemType_Triangle method. This method works as follows:
optsis ignored.
Triangle3
faceElemTypeisLine2tFaceNodesis2
Triangle6
faceElemTypeisLine3tFaceNodesis3
Triangle9, Triangle10
faceElemTypeisLine4tFaceNodesis4
Triangle15
faceElemTypeisLine5tFaceNodesis5
Triangle21
faceElemTypeisLine6tFaceNodesis6