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

Public Member Functions

integer function count_ncf_ns_dim_list (LIST)
 
integer function count_var_ns_dim_list (LIST)
 

Detailed Description

Definition at line 325 of file mod_ncll.f90.

Member Function/Subroutine Documentation

◆ count_ncf_ns_dim_list()

integer function mod_ncll::count_nonsingleton_dim_list::count_ncf_ns_dim_list ( type(ncfile), intent(in)  LIST)

Definition at line 3049 of file mod_ncll.f90.

3049  IMPLICIT NONE
3050  INTEGER :: CNT
3051  TYPE(NCFILE), INTENT(IN) :: LIST
3052  TYPE(NCDIMP) ,POINTER :: CURRENT, PREVIOUS
3053 
3054  previous => list%DIMS
3055  current => previous%NEXT
3056  cnt = 0
3057  DO
3058  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
3059 
3060  ! DO NOT COUNT SINGLETON DIMENSIONS
3061  IF(current%DIM%DIM .GT. 1) cnt = cnt + 1
3062 
3063  previous => previous%NEXT
3064  current => current%NEXT
3065 
3066  END DO
3067 

◆ count_var_ns_dim_list()

integer function mod_ncll::count_nonsingleton_dim_list::count_var_ns_dim_list ( type(ncvar), intent(in)  LIST)

Definition at line 3072 of file mod_ncll.f90.

3072  IMPLICIT NONE
3073  INTEGER :: CNT
3074  TYPE(NCVAR), INTENT(IN) :: LIST
3075  TYPE(NCDIMP) ,POINTER :: CURRENT, PREVIOUS
3076 
3077  previous => list%DIMS
3078  current => previous%NEXT
3079  cnt = 0
3080  DO
3081  IF(.NOT. ASSOCIATED(current)) RETURN !END OF LIST
3082 
3083  ! DO NOT COUNT SINGLETON DIMENSIONS
3084  IF(current%DIM%DIM .GT. 1) cnt = cnt + 1
3085 
3086  previous => previous%NEXT
3087  current => current%NEXT
3088 
3089  END DO
3090 

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