Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.1 KiB

  1. # 1 "/home/admin/SimulationCore2/Equipments/BopStack/KillLineMain.f90"
  2. module KillLineMain
  3. implicit none
  4. public
  5. contains
  6. ! subroutine KillLine_Setup()
  7. ! ! use CSimulationVariables
  8. ! implicit none
  9. ! call OnSimulationInitialization%Add(KillLine_Init)
  10. ! call OnSimulationStop%Add(KillLine_Init)
  11. ! call OnKillLineStep%Add(KillLine_Step)
  12. ! call OnKillLineOutput%Add(KillLine_Output)
  13. ! call OnKillLineMain%Add(KillLineMainBody)
  14. ! end subroutine
  15. ! subroutine KillLine_Init
  16. ! implicit none
  17. ! end subroutine KillLine_Init
  18. subroutine KillLine_Step
  19. use SimulationVariables
  20. implicit none
  21. if (data%State%KillLine%finished/=0) then
  22. call KILL_LINE
  23. if (data%State%KillLine%IsOpening .or. data%State%KillLine%IsClosing) then
  24. if(data%State%KillLine%finished==0) then
  25. call KILL_LINE_SUB !only body of loop2
  26. endif
  27. endif
  28. else
  29. call KILL_LINE_SUB
  30. endif
  31. end subroutine KillLine_Step
  32. end module KillLineMain