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
real(dp)function max_residual_lvl(mg,lvl)type(mg_t),intent(inout)::mginteger,intent(in)::lvlinteger::i,id,ncreal(dp)::resnc=mg%box_size_lvl(lvl)max_residual_lvl=0.0_dpdo i=1,size(mg%lvls(lvl)%my_ids)id=mg%lvls(lvl)%my_ids(i)call residual_box(mg,id,nc)res=maxval(abs(mg%boxes(id)%cc(1:nc,1:nc,1:nc,mg_ires)))max_residual_lvl=max(max_residual_lvl,res)end do end function max_residual_lvl