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.
 
 
 
 
 
 

217 lines
8.8 KiB

  1. module CBopProblems
  2. use CBopProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetAnnularWash(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetAnnularWash
  9. !DEC$ ATTRIBUTES ALIAS: 'SetAnnularWash' :: SetAnnularWash
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. BopProblems%AnnularWash = SetDue(v, ChangeAnnularWash)
  13. #ifdef deb
  14. print*, 'AnnularWash%ProblemType=', BopProblems%AnnularWash%ProblemType
  15. print*, 'AnnularWash%StatusType=', BopProblems%AnnularWash%StatusType
  16. print*, 'AnnularWash%Value=', BopProblems%AnnularWash%Value
  17. #endif
  18. end subroutine
  19. subroutine SetAnnularFail(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetAnnularFail
  21. !DEC$ ATTRIBUTES ALIAS: 'SetAnnularFail' :: SetAnnularFail
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. BopProblems%AnnularFail = SetDue(v, ChangeAnnularFail)
  25. #ifdef deb
  26. print*, 'AnnularFail%ProblemType=', BopProblems%AnnularFail%ProblemType
  27. print*, 'AnnularFail%StatusType=', BopProblems%AnnularFail%StatusType
  28. print*, 'AnnularFail%Value=', BopProblems%AnnularFail%Value
  29. #endif
  30. end subroutine
  31. subroutine SetAnnularLeak(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetAnnularLeak
  33. !DEC$ ATTRIBUTES ALIAS: 'SetAnnularLeak' :: SetAnnularLeak
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. BopProblems%AnnularLeak = SetDue(v, ChangeAnnularLeak)
  37. #ifdef deb
  38. print*, 'AnnularLeak%ProblemType=', BopProblems%AnnularLeak%ProblemType
  39. print*, 'AnnularLeak%StatusType=', BopProblems%AnnularLeak%StatusType
  40. print*, 'AnnularLeak%Value=', BopProblems%AnnularLeak%Value
  41. #endif
  42. end subroutine
  43. subroutine SetUpperRamWash(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetUpperRamWash
  45. !DEC$ ATTRIBUTES ALIAS: 'SetUpperRamWash' :: SetUpperRamWash
  46. implicit none
  47. type(CProblem), intent(in) :: v
  48. BopProblems%UpperRamWash = SetDue(v, ChangeUpperRamWash)
  49. #ifdef deb
  50. print*, 'UpperRamWash%ProblemType=', BopProblems%UpperRamWash%ProblemType
  51. print*, 'UpperRamWash%StatusType=', BopProblems%UpperRamWash%StatusType
  52. print*, 'UpperRamWash%Value=', BopProblems%UpperRamWash%Value
  53. #endif
  54. end subroutine
  55. subroutine SetUpperRamFail(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetUpperRamFail
  57. !DEC$ ATTRIBUTES ALIAS: 'SetUpperRamFail' :: SetUpperRamFail
  58. implicit none
  59. type(CProblem), intent(in) :: v
  60. BopProblems%UpperRamFail = SetDue(v, ChangeUpperRamFail)
  61. #ifdef deb
  62. print*, 'UpperRamFail%ProblemType=', BopProblems%UpperRamFail%ProblemType
  63. print*, 'UpperRamFail%StatusType=', BopProblems%UpperRamFail%StatusType
  64. print*, 'UpperRamFail%Value=', BopProblems%UpperRamFail%Value
  65. #endif
  66. end subroutine
  67. subroutine SetUpperRamLeak(v)
  68. !DEC$ ATTRIBUTES DLLEXPORT :: SetUpperRamLeak
  69. !DEC$ ATTRIBUTES ALIAS: 'SetUpperRamLeak' :: SetUpperRamLeak
  70. implicit none
  71. type(CProblem), intent(in) :: v
  72. BopProblems%UpperRamLeak = SetDue(v, ChangeUpperRamLeak)
  73. #ifdef deb
  74. print*, 'UpperRamLeak%ProblemType=', BopProblems%UpperRamLeak%ProblemType
  75. print*, 'UpperRamLeak%StatusType=', BopProblems%UpperRamLeak%StatusType
  76. print*, 'UpperRamLeak%Value=', BopProblems%UpperRamLeak%Value
  77. #endif
  78. end subroutine
  79. subroutine SetMiddleRamWash(v)
  80. !DEC$ ATTRIBUTES DLLEXPORT :: SetMiddleRamWash
  81. !DEC$ ATTRIBUTES ALIAS: 'SetMiddleRamWash' :: SetMiddleRamWash
  82. implicit none
  83. type(CProblem), intent(in) :: v
  84. BopProblems%MiddleRamWash = SetDue(v, ChangeMiddleRamWash)
  85. #ifdef deb
  86. print*, 'MiddleRamWash%ProblemType=', BopProblems%MiddleRamWash%ProblemType
  87. print*, 'MiddleRamWash%StatusType=', BopProblems%MiddleRamWash%StatusType
  88. print*, 'MiddleRamWash%Value=', BopProblems%MiddleRamWash%Value
  89. #endif
  90. end subroutine
  91. subroutine SetMiddleRamFail(v)
  92. !DEC$ ATTRIBUTES DLLEXPORT :: SetMiddleRamFail
  93. !DEC$ ATTRIBUTES ALIAS: 'SetMiddleRamFail' :: SetMiddleRamFail
  94. implicit none
  95. type(CProblem), intent(in) :: v
  96. BopProblems%MiddleRamFail = SetDue(v, ChangeMiddleRamFail)
  97. #ifdef deb
  98. print*, 'MiddleRamFail%ProblemType=', BopProblems%MiddleRamFail%ProblemType
  99. print*, 'MiddleRamFail%StatusType=', BopProblems%MiddleRamFail%StatusType
  100. print*, 'MiddleRamFail%Value=', BopProblems%MiddleRamFail%Value
  101. #endif
  102. end subroutine
  103. subroutine SetMiddleRamLeak(v)
  104. !DEC$ ATTRIBUTES DLLEXPORT :: SetMiddleRamLeak
  105. !DEC$ ATTRIBUTES ALIAS: 'SetMiddleRamLeak' :: SetMiddleRamLeak
  106. implicit none
  107. type(CProblem), intent(in) :: v
  108. BopProblems%MiddleRamLeak = SetDue(v, ChangeMiddleRamLeak)
  109. #ifdef deb
  110. print*, 'MiddleRamLeak%ProblemType=', BopProblems%MiddleRamLeak%ProblemType
  111. print*, 'MiddleRamLeak%StatusType=', BopProblems%MiddleRamLeak%StatusType
  112. print*, 'MiddleRamLeak%Value=', BopProblems%MiddleRamLeak%Value
  113. #endif
  114. end subroutine
  115. subroutine SetLowerRamWash(v)
  116. !DEC$ ATTRIBUTES DLLEXPORT :: SetLowerRamWash
  117. !DEC$ ATTRIBUTES ALIAS: 'SetLowerRamWash' :: SetLowerRamWash
  118. implicit none
  119. type(CProblem), intent(in) :: v
  120. BopProblems%LowerRamWash = SetDue(v, ChangeLowerRamWash)
  121. #ifdef deb
  122. print*, 'LowerRamWash%ProblemType=', BopProblems%LowerRamWash%ProblemType
  123. print*, 'LowerRamWash%StatusType=', BopProblems%LowerRamWash%StatusType
  124. print*, 'LowerRamWash%Value=', BopProblems%LowerRamWash%Value
  125. #endif
  126. end subroutine
  127. subroutine SetLowerRamFail(v)
  128. !DEC$ ATTRIBUTES DLLEXPORT :: SetLowerRamFail
  129. !DEC$ ATTRIBUTES ALIAS: 'SetLowerRamFail' :: SetLowerRamFail
  130. implicit none
  131. type(CProblem), intent(in) :: v
  132. BopProblems%LowerRamFail = SetDue(v, ChangeLowerRamFail)
  133. #ifdef deb
  134. print*, 'LowerRamFail%ProblemType=', BopProblems%LowerRamFail%ProblemType
  135. print*, 'LowerRamFail%StatusType=', BopProblems%LowerRamFail%StatusType
  136. print*, 'LowerRamFail%Value=', BopProblems%LowerRamFail%Value
  137. #endif
  138. end subroutine
  139. subroutine SetLowerRamLeak(v)
  140. !DEC$ ATTRIBUTES DLLEXPORT :: SetLowerRamLeak
  141. !DEC$ ATTRIBUTES ALIAS: 'SetLowerRamLeak' :: SetLowerRamLeak
  142. implicit none
  143. type(CProblem), intent(in) :: v
  144. BopProblems%LowerRamLeak = SetDue(v, ChangeLowerRamLeak)
  145. #ifdef deb
  146. print*, 'LowerRamLeak%ProblemType=', BopProblems%LowerRamLeak%ProblemType
  147. print*, 'LowerRamLeak%StatusType=', BopProblems%LowerRamLeak%StatusType
  148. print*, 'LowerRamLeak%Value=', BopProblems%LowerRamLeak%Value
  149. #endif
  150. end subroutine
  151. subroutine SetAccumulatorPumpFail(v)
  152. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorPumpFail
  153. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorPumpFail' :: SetAccumulatorPumpFail
  154. implicit none
  155. type(CProblem), intent(in) :: v
  156. BopProblems%AccumulatorPumpFail = SetDue(v, ChangeAccumulatorPumpFail)
  157. #ifdef deb
  158. print*, 'AccumulatorPumpFail%ProblemType=', BopProblems%AccumulatorPumpFail%ProblemType
  159. print*, 'AccumulatorPumpFail%StatusType=', BopProblems%AccumulatorPumpFail%StatusType
  160. print*, 'AccumulatorPumpFail%Value=', BopProblems%AccumulatorPumpFail%Value
  161. #endif
  162. end subroutine
  163. subroutine SetAccumulatorPumpLeak(v)
  164. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorPumpLeak
  165. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorPumpLeak' :: SetAccumulatorPumpLeak
  166. implicit none
  167. type(CProblem), intent(in) :: v
  168. BopProblems%AccumulatorPumpLeak = SetDue(v, ChangeAccumulatorPumpLeak)
  169. #ifdef deb
  170. print*, 'AccumulatorPumpLeak%ProblemType=', BopProblems%AccumulatorPumpLeak%ProblemType
  171. print*, 'AccumulatorPumpLeak%StatusType=', BopProblems%AccumulatorPumpLeak%StatusType
  172. print*, 'AccumulatorPumpLeak%Value=', BopProblems%AccumulatorPumpLeak%Value
  173. #endif
  174. end subroutine
  175. subroutine SetAccumulatorSystemFail(v)
  176. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorSystemFail
  177. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorSystemFail' :: SetAccumulatorSystemFail
  178. implicit none
  179. type(CProblem), intent(in) :: v
  180. BopProblems%AccumulatorSystemFail = SetDue(v, ChangeAccumulatorSystemFail)
  181. #ifdef deb
  182. print*, 'AccumulatorSystemFail%ProblemType=', BopProblems%AccumulatorSystemFail%ProblemType
  183. print*, 'AccumulatorSystemFail%StatusType=', BopProblems%AccumulatorSystemFail%StatusType
  184. print*, 'AccumulatorSystemFail%Value=', BopProblems%AccumulatorSystemFail%Value
  185. #endif
  186. end subroutine
  187. subroutine SetAccumulatorSystemLeak(v)
  188. !DEC$ ATTRIBUTES DLLEXPORT :: SetAccumulatorSystemLeak
  189. !DEC$ ATTRIBUTES ALIAS: 'SetAccumulatorSystemLeak' :: SetAccumulatorSystemLeak
  190. implicit none
  191. type(CProblem), intent(in) :: v
  192. BopProblems%AccumulatorSystemLeak = SetDue(v, ChangeAccumulatorSystemLeak)
  193. #ifdef deb
  194. print*, 'AccumulatorSystemLeak%ProblemType=', BopProblems%AccumulatorSystemLeak%ProblemType
  195. print*, 'AccumulatorSystemLeak%StatusType=', BopProblems%AccumulatorSystemLeak%StatusType
  196. print*, 'AccumulatorSystemLeak%Value=', BopProblems%AccumulatorSystemLeak%Value
  197. #endif
  198. end subroutine
  199. end module CBopProblems