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
logical function skip_direction(dir)! This is a Cray compiler directive to force inlining.! Required for OpenACC at optimization levels where it would not be inlined.!dir$ inlinealways skip_directioninteger,intent(in)::dir(3)if(all(dir==0))thenskip_direction=.true.else if(.not.req_diagonal.and.count(dir/=0)>1)thenskip_direction=.true.elseskip_direction=.false.end if end function skip_direction