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.
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
subroutine set_kpoint_distribution(common_data,dist,istdout,istderr,ierr)use w90_error_base,only:w90_error_typeuse w90_error,only:set_error_fatalimplicit none! argumentsinteger,intent(in)::istderr,istdout,dist(:)integer,intent(out)::ierrtype(lib_common_type),intent(inout)::common_data! local variablestype(w90_error_type),allocatable::errorierr=0if(size(dist)<1)then call set_error_fatal(error,'Error in k-point distribution, mpisize < 1',common_data%comm)call prterr(error,ierr,istdout,istderr,common_data%comm)return end ifcommon_data%dist_kpoints=distend subroutine set_kpoint_distribution