Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Inquire the constituent input alias to use for the given standard name. To be successfully
considered as the input alias, it must be:
1. Defined in the CAM-SIMA registry;
2. Present on the file indicated by pio_file.
If no suitable input alias is found, an empty character string is produced.
(KCW, 2026-08-17)
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
integer,
private
::
ierr
integer,
private
::
j
integer,
private
::
varid
Source Code
function dyn_constituent_input_alias(pio_file,standard_name)result(input_alias)! Module(s) from CCPP.use phys_vars_init_check,only:ic_name_len,std_name_len,&input_var_names,phys_var_stdnames! Module(s) from external libraries.use pio,only:file_desc_t,pio_file_is_open,pio_inq_varid,pio_noerrtype(file_desc_t),pointer,intent(in)::pio_filecharacter(std_name_len),intent(in)::standard_namecharacter(ic_name_len)::input_aliasinteger::i,jinteger::ierr,varidinput_alias=''if(.not.associated(pio_file))then return end if if(.not.pio_file_is_open(pio_file))then return end ifj=findloc(adjustl(phys_var_stdnames),adjustl(standard_name),dim=1)if(j==0)then return end if do i=1,size(input_var_names,1)if(input_var_names(i,j)=='')then cycle end if! Check if the variable is present on the file.ierr=pio_inq_varid(pio_file,trim(adjustl(input_var_names(i,j))),varid)if(ierr==pio_noerr)theninput_alias=trim(adjustl(input_var_names(i,j)))exit end if end do end function dyn_constituent_input_alias