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
subroutine links_SSsrcLink_update(me,dt)type(SSsrcLink_t),intent(inout)::mereal(dp),intent(in)::dtinteger::ii,ireal(dp)::VarcentSdo i=1,me%sizeNodesif(me%lk(2,i)%p%typeS==trim("solid"))thenme%Lk12(i)=-dt*me%DerSrcS1dT2(i)me%Lk21(i)=-dt*me%DerSrcS2dT1(i)else if(me%lk(2,i)%p%typeS==trim("mesh2D"))then do ii=1,me%nb_2D_Ports(i)me%LkArr(1,1+ii,i)=-dt*me%Der4LkArr(1,1+ii,i)VarcentS=1.0_dp/(me%lk(1+ii,i)%p%rhoS*me%lk(1+ii,i)%p%cpS)me%LkArr(1+ii,1,i)=dt/me%lk(1+ii,i)%p%SurfS*VarcentS*me%Der4LkArr(1+ii,1,i)enddo endif enddoend subroutine links_SSsrcLink_update