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.
Source Code
function get0d_hdf5(cfg,sig)result(ok)class(input_t),intent(in)::cfgreal(dp),intent(inout)::siglogical::okreal(dp)::sig_tmp(1)integer(hId_t)::file_id,dSet_idinteger(hSize_t)::dims(7),type_sizeinteger::error,type_classcharacter(:),allocatable::dSetok=.false.if(.not.cfg%has_key('h5'))returndSet=cfg%str('data')call h5Open_f(error)call h5fOpen_f(cfg%str('h5'),H5F_ACC_RDONLY_F,file_id,error)call h5ltGet_dataset_info_f(file_id,dSet,dims,type_class,type_size,error)call h5dOpen_f(file_id,dSet,dSet_id,error)call h5dRead_f(dSet_id,H5T_NATIVE_DOUBLE,sig_tmp,dims,error)call h5dClose_f(dSet_id,error)call h5fClose_f(file_id,error)call h5close_f(error)sig=sig_tmp(1)ok=.true.end function get0d_hdf5