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 IsAtCaustic(qleq0)! LP: There are two versions of the phase shift condition used in the! BELLHOP code, with the equalities in opposite positions. qleq0 false is! only used in SGB.LOGICAL,INTENT(IN)::qleq0IF(qleq0)THENIsAtCaustic=q<=0.0d0.AND.qOld>0.0d0.OR.q>=0.0d0.AND.qOld<0.0d0ELSEIsAtCaustic=q<0.0d0.AND.qOld>=0.0d0.OR.q>0.0d0.AND.qOld<=0.0d0END IF END FUNCTION IsAtCaustic