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.
 
 
 
 
 
 

70 lines
2.0 KiB

  1. module CFlowPipeDisconnectEnumVariables
  2. use CVoidEventHandlerCollection
  3. implicit none
  4. ! integer :: FlowPipeDisconnect = 0
  5. !
  6. ! public
  7. !
  8. ! type(VoidEventHandlerCollection) :: OnFlowPipeDisconnectChange
  9. !
  10. ! enum, bind(c)
  11. ! enumerator FLOW_PIPE_DISCONNECT_NEUTRAL
  12. ! enumerator FLOW_PIPE_DISCONNECT_BEGIN
  13. ! enumerator FLOW_PIPE_DISCONNECT_END
  14. ! end enum
  15. !
  16. ! private :: FlowPipeDisconnect
  17. !
  18. ! contains
  19. !
  20. ! subroutine Set_FlowPipeDisconnect(v)
  21. ! implicit none
  22. ! integer , intent(in) :: v
  23. !#ifdef ExcludeExtraChanges
  24. ! if(FlowPipeDisconnect == v) return
  25. !#endif
  26. ! FlowPipeDisconnect = v
  27. !#ifdef deb
  28. ! print*, 'FlowPipeDisconnect=', FlowPipeDisconnect
  29. !#endif
  30. ! call OnFlowPipeDisconnectChange%RunAll()
  31. ! end subroutine
  32. !
  33. ! integer function Get_FlowPipeDisconnect2()
  34. ! implicit none
  35. ! Get_FlowPipeDisconnect2 = FlowPipeDisconnect
  36. ! end function
  37. ! subroutine Set_FlowPipeDisconnect_deprecated(v)
  38. ! !DEC$ ATTRIBUTES DLLEXPORT :: Set_FlowPipeDisconnect_deprecated
  39. ! !DEC$ ATTRIBUTES ALIAS: 'Set_FlowPipeDisconnect_deprecated' :: Set_FlowPipeDisconnect_deprecated
  40. ! implicit none
  41. ! integer , intent(in) :: v
  42. ! call Set_FlowPipeDisconnect(v)
  43. ! end subroutine
  44. !
  45. !
  46. ! integer function Get_FlowPipeDisconnect_deprecated()
  47. ! !DEC$ ATTRIBUTES DLLEXPORT :: Get_FlowPipeDisconnect_deprecated
  48. ! !DEC$ ATTRIBUTES ALIAS: 'Get_FlowPipeDisconnect_deprecated' :: Get_FlowPipeDisconnect_deprecated
  49. ! implicit none
  50. ! Get_FlowPipeDisconnect_WN = FlowPipeDisconnect
  51. ! end function
  52. !
  53. !
  54. !
  55. ! subroutine FlowPipeDisconnectEnd()
  56. ! !DEC$ ATTRIBUTES DLLEXPORT :: FlowPipeDisconnectEnd
  57. ! !DEC$ ATTRIBUTES ALIAS: 'FlowPipeDisconnectEnd' :: FlowPipeDisconnectEnd
  58. ! implicit none
  59. ! call Set_FlowPipeDisconnect(FLOW_PIPE_DISCONNECT_END)
  60. !#ifdef deb
  61. ! print*, 'FLOW_PIPE_DISCONNECT_END'
  62. !#endif
  63. ! end subroutine
  64. end module CFlowPipeDisconnectEnumVariables