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_rhs(mg,f1,f2)type(mg_t),intent(inout)::mgreal(dp),intent(in)::f1,f2integer::lvl,i,id,ncdo lvl=1,mg%highest_lvlnc=mg%box_size_lvl(lvl)do i=1,size(mg%lvls(lvl)%my_leaves)id=mg%lvls(lvl)%my_leaves(i)mg%boxes(id)%cc(1:nc,1:nc,1:nc,&mg_irhs)=f1*mg%boxes(id)%cc(1:nc,1:nc,1:nc,&mg_iphi)+f2*mg%boxes(id)%cc(1:nc,1:nc,1:nc,mg_irhs)end do end do end subroutine set_rhs