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 test_clear(this)class(ESMF_TestMethod),intent(inout)::thistype(AccumulatorAction)::acctype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger::statuslogical::is_expected_valuereal(kind=ESMF_KIND_R4),parameter::TEST_VALUE=2.0_ESMF_KIND_R4call initialize_objects(importState,exportState,clock,ESMF_TYPEKIND_R4,_RC)call acc%initialize(importState,exportState,clock,_RC)call FieldSet(acc%accumulation_field,TEST_VALUE,_RC)call acc%clear(_RC)is_expected_value=FieldIsConstant(acc%accumulation_field,acc%CLEAR_VALUE_R4,_RC)@assertTrue(is_expected_value,'accumulation_field was not cleared.')call destroy_objects(importState,exportState,clock,_RC)end subroutine test_clear