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

Public Member Functions

logical function has_unlimited_ncf (LIST)
 
logical function has_unlimited_var (LIST)
 

Detailed Description

Definition at line 315 of file mod_ncll.f90.

Member Function/Subroutine Documentation

◆ has_unlimited_ncf()

logical function mod_ncll::has_unlimited::has_unlimited_ncf ( type(ncfile), intent(in)  LIST)

Definition at line 2806 of file mod_ncll.f90.

2806  IMPLICIT NONE
2807  TYPE(NCFILE), INTENT(IN):: LIST
2808  LOGICAL :: FOUND
2809  TYPE(NCDIMP) ,POINTER :: CURRENT, PREVIOUS
2810 
2811  previous => list%DIMS
2812  current => previous%NEXT
2813  found = .false.
2814 
2815  DO
2816  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
2817 
2818  IF(current%DIM%UNLIMITED ) THEN ! FOUND THE DIM LINK
2819  found = .true.
2820  EXIT
2821  ELSE
2822  previous => previous%NEXT
2823  current => current%NEXT
2824  END IF
2825  END DO
2826 

◆ has_unlimited_var()

logical function mod_ncll::has_unlimited::has_unlimited_var ( type(ncvar), intent(in)  LIST)

Definition at line 2917 of file mod_ncll.f90.

2917  IMPLICIT NONE
2918  TYPE(NCVAR), INTENT(IN) :: LIST
2919  LOGICAL :: FOUND
2920  TYPE(NCDIMP) ,POINTER :: CURRENT, PREVIOUS
2921 
2922  previous => list%DIMS
2923  current => previous%NEXT
2924  found = .false.
2925 
2926  DO
2927  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
2928 
2929  IF(current%DIM%UNLIMITED ) THEN ! FOUND THE DIM LINK
2930  found = .true.
2931  EXIT
2932  ELSE
2933  previous => previous%NEXT
2934  current => current%NEXT
2935  END IF
2936  END DO
2937 

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