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 philambda_quadrant(x,y,z,phi,lambda)real(wp),intent(in)::x,y,zreal(wp),intent(inout)::phi,lambdaif(z<zero)thenphi=-phiend if if(x>=zero)then if(y>=zero)thenlambda=lambdaelselambda=-lambdaend if else if(y>=zero)thenlambda=pi-lambdaelselambda=lambda-piend if end ifend subroutine philambda_quadrant