destroy all the lists in the element object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_element_type), | intent(inout) | :: | me |
element object |
subroutine destroy_element( me ) ! --------------------------------------------------------------------------- !> element object type( tem_element_type ), intent(inout) :: me ! --------------------------------------------------------------------------- integer :: iVal ! --------------------------------------------------------------------------- call destroy( me = me%tID ) call destroy( me = me%property ) call destroy( me = me%eType ) call destroy( me = me%pntTID ) do iVal = 1, me%stencil%nVals call destroy( me = me%stencil%val( iVal ) ) end do call destroy( me = me%stencil ) do iVal = 1, me%neighID%nVals call destroy( me = me%neighID%val( iVal ) ) end do call destroy( me = me%neighID ) call destroy( me = me%sourceProc ) call destroy( me = me%haloNesting ) call destroy( me = me%needsUpdate ) end subroutine destroy_element