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 execute_runmode_actionslogical::test_failedlogical::invalid_runmodetest_failed=.false.invalid_runmode=.false.select case(runmode)case(RUN_COLDSTART,RUN_WARMSTART,RUN_DRIVER,RUN_STRATSTART)return! Normal execution mode, do nothing special herecase(TEST_SPARSE_IJK)! Execute tests for reading sparse arraystest_failed=.not.tests_read_sparse_ijk()case(TEST_MPI_OPERATORS)test_failed=.not.tests_mpi_operators()case(TEST_2DCOMP_INIT_EXIT)call tests_2decomp_init_exitcase defaultwrite(*,*)'Unknown runmode:',runmodeinvalid_runmode=.true.end select call exitmpiif(invalid_runmode)then stop 1end if! Return appropriate exit code for unit tests:! 0 = success, 1 = failureif(test_failed)then stop 1else stop 0end if end subroutine execute_runmode_actions