InitiateElementToElements
This routine creates the element surrounding a given element data
-
Before calling this routine, make sure the
refelemin mesh is allocated. -
By using
refelem, this routine forms the FacetElements. -
This routine needs
nodeToElementsinformation, therefore, ifnodeToElementsis not initiated then it callsinitiateNodeToelementsmethod. -
This method forms following data:
-
obj%elementData(ielem)%globalElements -
It also identifies those elements which are boundary element of mesh, and set
obj%elementData(ielem)%elementType=BOUNDARY_ELEMENTfor those elements. -
Note that at this point these boundary-elements can be interface element between two meshs, or domain-boundary element.
INTERFACE
MODULE SUBROUTINE InitiateElementToElements(obj)
CLASS(Mesh_), INTENT(INOUT) :: obj
!! mesh data
END SUBROUTINE InitiateElementToElements
END INTERFACE