Simulation Core
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

36 行
1.1 KiB

  1. module AnnularMain
  2. implicit none
  3. public
  4. contains
  5. ! subroutine Annular_Setup()
  6. ! ! use CSimulationVariables
  7. ! implicit none
  8. ! call OnSimulationInitialization%Add(Annular_Init)
  9. ! call OnSimulationStop%Add(Annular_Init)
  10. ! call OnAnnularStep%Add(Annular_Step)
  11. ! call OnAnnularOutput%Add(Annular_Output)
  12. ! call OnAnnularMain%Add(AnnularMainBody)
  13. ! end subroutine
  14. ! subroutine Annular_Init
  15. ! implicit none
  16. ! end subroutine Annular_Init
  17. subroutine Annular_Step
  18. use SimulationVariables
  19. implicit none
  20. if (data%State%Annular%finished_Annular/=0) then
  21. call ANNULAR_SUB1
  22. if (data%State%Annular%AnnularIsOpening .or. data%State%Annular%AnnularIsClosing .or. data%State%RAM(1)%Bottles_Charged_MalfActive) then
  23. if(data%State%Annular%finished_Annular==0) then
  24. call ANNULAR_SUB2 !only body of loop2
  25. endif
  26. endif
  27. else
  28. call ANNULAR_SUB2
  29. endif
  30. end subroutine Annular_Step
  31. end module AnnularMain