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.

KillLineMain.f90 1.1 KiB

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