Unload the treelmesh
Deallocate the data within tree, while keep the global information
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(inout) | :: | me |
Structure to load the mesh to |
subroutine unload_treelmesh( me ) ! -------------------------------------------------------------------- ! !> Structure to load the mesh to type(treelmesh_type), intent(inout) :: me ! -------------------------------------------------------------------- ! write(logUnit(6),*) 'Deallocate the tree data structure' if (allocated(me%Part_first)) deallocate( me%Part_First ) if (allocated(me%Part_last)) deallocate( me%Part_Last ) if (allocated(me%treeID)) deallocate( me%treeID ) if (allocated(me%ElemPropertyBits)) deallocate( me%ElemPropertyBits ) if (associated(me%property)) deallocate(me%property) if (allocated(me%pathList)) deallocate( me%pathList ) end subroutine unload_treelmesh