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
function to_ptr_arr2d(arr)result(ptr_arr)real(dp),target,intent(in)::arr(:,:)type(dbl_pointer_t)::ptr_arr(size(arr))!real(dp), pointer :: arr_ptr(:) ! TODO after updating compiler by Damieninteger::i,j,kk=1!arr_ptr(1:size(arr)) => arrdo i=1,size(arr,2)do j=1,size(arr,1)ptr_arr(k)%p=>arr(j,i)k=k+1enddo enddoend function to_ptr_arr2d