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.
function cast_as_ndarray(encap_polymorph)result(ndarray_obj)class(pf_encap_t),intent(in),target::encap_polymorphtype(ndarray),pointer::ndarray_objselect type(encap_polymorph)type is(ndarray)ndarray_obj=>encap_polymorphend select end function cast_as_ndarray