Definition at line 205 of file mod_ncll.f90.
◆ find_file_byname()
type(ncfile) function, pointer mod_ncll::find_file::find_file_byname |
( |
type(ncfilelist), intent(in) |
LIST, |
|
|
character(len=*), intent(in) |
NAME, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 737 of file mod_ncll.f90.
738 TYPE(NCFILE),
POINTER :: NCF
739 TYPE(NCFILELIST),
INTENT(IN) :: LIST
740 CHARACTER(LEN=*),
INTENT(IN) :: NAME
741 LOGICAL,
INTENT(OUT) :: FOUND
742 TYPE(NCFILEP),
pointer :: CURRENT, PREVIOUS
745 previous => list%FIRST
746 current => previous%NEXT
751 IF(.NOT.
ASSOCIATED(current))
RETURN 753 if(.not.
associated(current%ncf))
Call fatal_error&
754 & (
"FIND_FILE: Link in file list has file pointer that is & 757 idx = index(current%NCF%FNAME,name)
764 previous => previous%NEXT
765 current => current%NEXT
◆ find_file_byncid()
type(ncfile) function, pointer mod_ncll::find_file::find_file_byncid |
( |
type(ncfilelist), intent(in) |
LIST, |
|
|
integer, intent(in) |
NCID, |
|
|
logical, intent(out) |
FOUND |
|
) |
| |
Definition at line 773 of file mod_ncll.f90.
774 TYPE(NCFILE),
POINTER :: NCF
775 TYPE(NCFILELIST),
INTENT(IN) :: LIST
776 INTEGER,
INTENT(IN) :: NCID
777 LOGICAL,
INTENT(OUT) :: FOUND
778 TYPE(NCFILEP),
pointer :: CURRENT, PREVIOUS
781 previous => list%FIRST
782 current => previous%NEXT
786 IF(.NOT.
ASSOCIATED(current))
RETURN 788 IF( ncid == current%NCF%NCID )
THEN 793 previous => previous%NEXT
794 current => current%NEXT
The documentation for this interface was generated from the following file: