My Project
Public Member Functions | List of all members
mod_ncll::delete_att_list Interface Reference

Public Member Functions

subroutine delete_ncf_attp_list (LIST)
 
subroutine delete_var_attp_list (LIST)
 

Detailed Description

Definition at line 249 of file mod_ncll.f90.

Member Function/Subroutine Documentation

◆ delete_ncf_attp_list()

subroutine mod_ncll::delete_att_list::delete_ncf_attp_list ( type(ncfile), intent(inout)  LIST)

Definition at line 1646 of file mod_ncll.f90.

1646  IMPLICIT NONE
1647  TYPE(NCFILE), INTENT(INOUT):: LIST
1648  TYPE(NCATTP) ,POINTER :: CURRENT, PREVIOUS
1649 
1650  previous => list%ATTS
1651  current => previous%NEXT
1652  DO
1653  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
1654 
1655  ! IF FOUND DELETE IT
1656  previous%NEXT => current%NEXT
1657  CALL kill_att(current%ATT)
1658  DEALLOCATE(current)
1659  current => previous%NEXT
1660 
1661  END DO
1662 

◆ delete_var_attp_list()

subroutine mod_ncll::delete_att_list::delete_var_attp_list ( type(ncvar), intent(inout)  LIST)

Definition at line 1730 of file mod_ncll.f90.

1730  IMPLICIT NONE
1731  TYPE(NCVAR), INTENT(INOUT):: LIST
1732  TYPE(NCATTP),POINTER :: CURRENT, PREVIOUS
1733 
1734  previous => list%ATTS
1735  current => previous%NEXT
1736 
1737  DO
1738  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
1739 
1740  previous%NEXT => current%NEXT
1741  CALL kill_att(current%ATT)
1742  DEALLOCATE(current)
1743  current => previous%NEXT
1744 
1745  END DO
1746 

The documentation for this interface was generated from the following file: