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 get2d_hdf5(cfg,sig)result(ok)class(input_t),intent(in)::cfgreal(dp),allocatable::sig(:,:)logical::okinteger(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 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)allocate(sig(dims(1),dims(2)))call h5dOpen_f(file_id,dSet,dSet_id,error)call h5dRead_f(dSet_id,H5T_NATIVE_DOUBLE,sig,dims,error)call h5dClose_f(dSet_id,error)call h5fClose_f(file_id,error)ok=.true.end function get2d_hdf5