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.
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 explicit_scheme_for_fluxes_solid(me,dt)type(solid_t),intent(inout)::mereal(dp),intent(in)::dtreal(dp)::VarcentreeS,cpMSinteger::i,iiif(me%MC_Prop%cond_btw_nodes)then do i=1,me%MC_Prop%NbCellscpMS=me%mat%heat_capacity(me%StVar%MCtemp(i))VarcentreeS=1.0_dp/(me%mat%density*cpMS)me%StVar%MCtemp(i)=me%StVar%MCtemp(i)-(dt/me%MC_Prop%dxLoc(i))*VarcentreeS*(me%flxS%sd(i)-me%flxS%sd(i-1))enddo endifend subroutine explicit_scheme_for_fluxes_solid