Simulation Core
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CStudentStation.f90 2.6 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. module CStudentStation
  2. use CStudentStationVariables
  3. use CManifolds
  4. implicit none
  5. public
  6. contains
  7. ! Input routines
  8. subroutine SetFillupHeadInstallation(v)
  9. !DEC$ ATTRIBUTES DLLEXPORT :: SetFillupHeadInstallation
  10. !DEC$ ATTRIBUTES ALIAS: 'SetFillupHeadInstallation' :: SetFillupHeadInstallation
  11. implicit none
  12. logical, intent(in) :: v
  13. FillupHeadInstallation = v
  14. if(v)then
  15. call OnFillupHeadInstallationPress%RunAll()
  16. else
  17. call OnFillupHeadRemovePress%RunAll()
  18. endif
  19. #ifdef deb
  20. print*, 'FillupHeadInstallation=', FillupHeadInstallation
  21. #endif
  22. end subroutine
  23. subroutine SetMudBoxInstallation(v)
  24. !DEC$ ATTRIBUTES DLLEXPORT :: SetMudBoxInstallation
  25. !DEC$ ATTRIBUTES ALIAS: 'SetMudBoxInstallation' :: SetMudBoxInstallation
  26. implicit none
  27. logical, intent(in) :: v
  28. MudBoxInstallation = v
  29. if(v)then
  30. call OnMudBoxInstallationPress%RunAll()
  31. else
  32. call OnMudBoxRemovePress%RunAll()
  33. endif
  34. #ifdef deb
  35. print*, 'MudBoxInstallation=', MudBoxInstallation
  36. #endif
  37. end subroutine
  38. subroutine SetTapSelector(v)
  39. !DEC$ ATTRIBUTES DLLEXPORT :: SetTapSelector
  40. !DEC$ ATTRIBUTES ALIAS: 'SetTapSelector' :: SetTapSelector
  41. implicit none
  42. logical, intent(in) :: v
  43. TapSelector = v
  44. #ifdef deb
  45. print*, 'TapSelector=', TapSelector
  46. #endif
  47. end subroutine
  48. subroutine SetPitGainLossZero(v)
  49. !DEC$ ATTRIBUTES DLLEXPORT :: SetPitGainLossZero
  50. !DEC$ ATTRIBUTES ALIAS: 'SetPitGainLossZero' :: SetPitGainLossZero
  51. implicit none
  52. logical, intent(in) :: v
  53. PitGainLossZero = v
  54. #ifdef deb
  55. print*, 'PitGainLossZero=', PitGainLossZero
  56. #endif
  57. end subroutine
  58. ! Output routines
  59. logical function GetFillupHeadInstallation()
  60. !DEC$ ATTRIBUTES DLLEXPORT :: GetFillupHeadInstallation
  61. !DEC$ ATTRIBUTES ALIAS: 'GetFillupHeadInstallation' :: GetFillupHeadInstallation
  62. implicit none
  63. GetFillupHeadInstallation = FillupHeadInstallation
  64. !GetFillupHeadInstallation = .true.
  65. end function
  66. logical function GetMudBoxInstallation()
  67. !DEC$ ATTRIBUTES DLLEXPORT :: GetMudBoxInstallation
  68. !DEC$ ATTRIBUTES ALIAS: 'GetMudBoxInstallation' :: GetMudBoxInstallation
  69. implicit none
  70. GetMudBoxInstallation = MudBoxInstallation
  71. !GetMudBoxInstallation = .true.
  72. end function
  73. !logical function GetTapSelector()
  74. !!DEC$ ATTRIBUTES DLLEXPORT :: GetTapSelector
  75. !!DEC$ ATTRIBUTES ALIAS: 'GetTapSelector' :: GetTapSelector
  76. ! implicit none
  77. ! GetTapSelector = TapSelector
  78. !end function
  79. end module CStudentStation