Definition at line 193 of file mod_ncll.f90.
◆ delete_filep_byname()
subroutine mod_ncll::delete_file_link::delete_filep_byname |
( |
type(ncfilelist), intent(inout) |
LIST, |
|
|
character(len=*), intent(in) |
NAME, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 544 of file mod_ncll.f90.
545 TYPE(NCFILELIST),
INTENT(INOUT) :: LIST
546 CHARACTER(LEN=*),
INTENT(IN) :: NAME
547 LOGICAL,
INTENT(OUT) :: FOUND
548 TYPE(NCFILEP),
pointer :: CURRENT, PREVIOUS
550 previous => list%FIRST
551 current => previous%NEXT
555 IF(.NOT.
ASSOCIATED(current))
RETURN 557 IF( name == current%NCF%FNAME )
THEN 561 previous => previous%NEXT
562 current => current%NEXT
567 previous%NEXT => current%NEXT
568 CALL kill_file(current%NCF)
◆ delete_filep_byncid()
subroutine mod_ncll::delete_file_link::delete_filep_byncid |
( |
type(ncfilelist), intent(inout) |
LIST, |
|
|
integer, intent(in) |
NCID, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 575 of file mod_ncll.f90.
576 TYPE(NCFILELIST),
INTENT(INOUT) :: LIST
577 INTEGER,
INTENT(IN) :: NCID
578 LOGICAL,
INTENT(OUT) :: FOUND
579 TYPE(NCFILEP),
pointer :: CURRENT, PREVIOUS
581 previous => list%FIRST
582 current => previous%NEXT
586 IF(.NOT.
ASSOCIATED(current))
RETURN 588 IF( ncid == current%NCF%NCID )
THEN 592 previous => previous%NEXT
593 current => current%NEXT
598 previous%NEXT => current%NEXT
599 CALL kill_file(current%NCF)
The documentation for this interface was generated from the following file: