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.
 
 
 
 
 
 

75 lines
1.9 KiB

  1. module GeoMain
  2. use CLog4
  3. implicit none
  4. public
  5. integer :: SampleValue, TestValue
  6. contains
  7. ! subroutine Setup()
  8. ! use CPathChangeEvents
  9. ! implicit none
  10. ! call BeforeTraverse%Add(InitialVarsBeforePathsChanges)
  11. ! call OnPathOpen%Add(WhenPathOpen)
  12. ! !call OnPathClose%Add(WhenPathClose)
  13. ! end subroutine
  14. ! subroutine InitialVarsBeforePathsChanges()
  15. ! implicit none
  16. ! #ifdef deb
  17. ! if(print_log) print*, "ValveOne: FALSE (init)"
  18. ! #endif
  19. ! end subroutine
  20. ! subroutine WhenPathOpen(valves)
  21. ! implicit none
  22. ! integer, allocatable, intent (in) :: valves(:)
  23. ! ! if ( any(valves == 1)) then
  24. ! !#ifdef deb
  25. ! ! if(print_log) print*, "ValveOne: TRUE"
  26. ! !#endif
  27. ! ! endif
  28. ! end subroutine
  29. ! subroutine Geo_Setup()
  30. ! ! use CSimulationVariables
  31. ! implicit none
  32. ! !call OnSimulationInitialization%Add(Geo_Init)
  33. ! call OnSimulationStop%Add(Geo_Stop)
  34. ! call OnGeoStart%Add(Geo_Start)
  35. ! call OnGeoStep%Add(Geo_Step)
  36. ! !call OnGeoOutput%Add(Geo_Output)
  37. ! call OnGeoMain%Add(GeoMainBody)
  38. ! end subroutine
  39. subroutine Geo_Stop
  40. implicit none
  41. !if(print_log) print*, 'Geo_Stop'
  42. end subroutine Geo_Stop
  43. ! subroutine Geo_Start
  44. ! implicit none
  45. ! !if(print_log) print*, '****************Geo_Start****************'
  46. ! end subroutine Geo_Start
  47. subroutine Geo_Step
  48. implicit none
  49. end subroutine Geo_Step
  50. ! !subroutine Geo_Output
  51. ! ! implicit none
  52. ! ! !if(print_log) print*, 'Geo_Output'
  53. ! !end subroutine Geo_Output
  54. ! subroutine GeoMainBody
  55. ! implicit none
  56. ! end subroutine GeoMainBody
  57. end module GeoMain