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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine unit_test_cx0(this,res,expected,tol,msg)class(unit_test),intent(inout)::thiscomplex(rk),intent(in)::res,expectedreal(rk),intent(in),optional::tolcharacter(*),intent(in),optional::msglogical::conditionreal(rk)::rel_errif(present(msg))thenthis%msg=msgelsethis%msg='forunittest'end if if(abs(expected)<tiny(0.0_rk))thenrel_err=abs(res-expected)elserel_err=abs(res-expected)/abs(expected)end if if(present(tol))thencondition=rel_err<tolelsecondition=rel_err==0.0_rkend if call this%print_msg(condition)end subroutine unit_test_cx0