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.
 
 
 
 
 
 

32 lines
975 B

  1. module DrawworksMain
  2. implicit none
  3. public
  4. contains
  5. ! subroutine Drawworks_Setup()
  6. ! use CSimulationVariables
  7. ! implicit none
  8. ! call OnSimulationInitialization%Add(Drawworks_Init)
  9. ! call OnSimulationStop%Add(Drawworks_Init)
  10. ! call OnDrawworksStep%Add(Drawworks_Step)
  11. ! call OnDrawworksOutput%Add(Drawworks_Output)
  12. ! call OnDrawworksMain%Add(DrawworksMainBody)
  13. ! end subroutine
  14. subroutine Drawworks_Init
  15. call Drawworks_StartUp
  16. end subroutine Drawworks_Init
  17. subroutine Drawworks_Step
  18. call Drawworks_MainSolver
  19. end subroutine Drawworks_Step
  20. subroutine DrawworksMainBody
  21. use SimulationVariables !@
  22. implicit none
  23. Call Drawworks_StartUp
  24. loopdrawsim : do
  25. Call Drawworks_MainSolver
  26. end do loopdrawsim
  27. end subroutine DrawworksMainBody
  28. end module DrawworksMain