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 source_term_definition_strand(me,sim,Qext_Check)type(strand_t),intent(inout)::metype(simulation_t),intent(in)::simreal(dp),intent(out),optional::Qext_Checkreal(dp)::Spoint,DerSpoint,SJoule,DerSJoule,Jouleinteger::iif(sim%explicit)thenme%big%bmS=1.0_dp;me%big%bvS=0.0_dpendif do i=1,me%SC_Prop%NbCells! Adding of source term contributions (external heating + Joule effect)call solid_source_terms(me,i,me%scen%Q_ext(i),Spoint,DerSpoint,SJoule,DerSJoule,Joule,sim)if(sim_error>0)return if(present(Qext_Check))Qext_Check=Qext_Check+me%scen%Q_ext(i)*me%SC_Prop%dxLoc(i)*sim%dtme%big%bmS(i)=me%big%bmS(i)-sim%dt*(DerSpoint+DerSJoule)me%big%bvS(i)=me%big%bvS(i)+sim%dt*(Spoint+SJoule)me%hdf%data(i,6)=Jouleenddoend subroutine source_term_definition_strand