Definition at line 217 of file mod_ncll.f90.
◆ delete_varp_byname()
subroutine mod_ncll::delete_var_link::delete_varp_byname |
( |
type(ncfile), intent(inout) |
LIST, |
|
|
character(len=*), intent(in) |
NAME, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 1074 of file mod_ncll.f90.
1076 TYPE(NCFILE),
INTENT(INOUT):: LIST
1077 CHARACTER(LEN=*),
INTENT(IN) :: NAME
1078 LOGICAL,
INTENT(OUT) :: FOUND
1079 TYPE(NCVARP),
pointer :: CURRENT, PREVIOUS
1081 previous => list%VARS
1082 current => previous%NEXT
1086 IF(.NOT.
ASSOCIATED(current))
RETURN 1088 IF( name == current%VAR%VARNAME )
THEN 1092 previous => previous%NEXT
1093 current => current%NEXT
1098 previous%NEXT => current%NEXT
1099 CALL kill_var(current%VAR)
◆ delete_varp_byvarid()
subroutine mod_ncll::delete_var_link::delete_varp_byvarid |
( |
type(ncfile), intent(inout) |
LIST, |
|
|
integer, intent(in) |
VARID, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 1106 of file mod_ncll.f90.
1108 TYPE(NCFILE),
INTENT(INOUT):: LIST
1109 INTEGER,
INTENT(IN) :: VARID
1110 LOGICAL,
INTENT(OUT) :: FOUND
1111 TYPE(NCVARP),
pointer :: CURRENT, PREVIOUS
1113 previous => list%VARS
1114 current => previous%NEXT
1118 IF(.NOT.
ASSOCIATED(current))
RETURN 1120 IF( varid == current%VAR%VARID )
THEN 1124 previous => previous%NEXT
1125 current => current%NEXT
1130 previous%NEXT => current%NEXT
1131 CALL kill_var(current%VAR)
The documentation for this interface was generated from the following file: