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.

CBopProblems.f90 8.0 KiB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. AnnularWash = SetDue(v, ChangeAnnularWash)
  13. #ifdef deb
  14. print*, 'AnnularWash%ProblemType=', AnnularWash%ProblemType
  15. print*, 'AnnularWash%StatusType=', AnnularWash%StatusType
  16. print*, 'AnnularWash%Value=', 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. AnnularFail = SetDue(v, ChangeAnnularFail)
  25. #ifdef deb
  26. print*, 'AnnularFail%ProblemType=', AnnularFail%ProblemType
  27. print*, 'AnnularFail%StatusType=', AnnularFail%StatusType
  28. print*, 'AnnularFail%Value=', 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. AnnularLeak = SetDue(v, ChangeAnnularLeak)
  37. #ifdef deb
  38. print*, 'AnnularLeak%ProblemType=', AnnularLeak%ProblemType
  39. print*, 'AnnularLeak%StatusType=', AnnularLeak%StatusType
  40. print*, 'AnnularLeak%Value=', 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. UpperRamWash = SetDue(v, ChangeUpperRamWash)
  49. #ifdef deb
  50. print*, 'UpperRamWash%ProblemType=', UpperRamWash%ProblemType
  51. print*, 'UpperRamWash%StatusType=', UpperRamWash%StatusType
  52. print*, 'UpperRamWash%Value=', 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. UpperRamFail = SetDue(v, ChangeUpperRamFail)
  61. #ifdef deb
  62. print*, 'UpperRamFail%ProblemType=', UpperRamFail%ProblemType
  63. print*, 'UpperRamFail%StatusType=', UpperRamFail%StatusType
  64. print*, 'UpperRamFail%Value=', 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. UpperRamLeak = SetDue(v, ChangeUpperRamLeak)
  73. #ifdef deb
  74. print*, 'UpperRamLeak%ProblemType=', UpperRamLeak%ProblemType
  75. print*, 'UpperRamLeak%StatusType=', UpperRamLeak%StatusType
  76. print*, 'UpperRamLeak%Value=', 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. MiddleRamWash = SetDue(v, ChangeMiddleRamWash)
  85. #ifdef deb
  86. print*, 'MiddleRamWash%ProblemType=', MiddleRamWash%ProblemType
  87. print*, 'MiddleRamWash%StatusType=', MiddleRamWash%StatusType
  88. print*, 'MiddleRamWash%Value=', 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. MiddleRamFail = SetDue(v, ChangeMiddleRamFail)
  97. #ifdef deb
  98. print*, 'MiddleRamFail%ProblemType=', MiddleRamFail%ProblemType
  99. print*, 'MiddleRamFail%StatusType=', MiddleRamFail%StatusType
  100. print*, 'MiddleRamFail%Value=', 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. MiddleRamLeak = SetDue(v, ChangeMiddleRamLeak)
  109. #ifdef deb
  110. print*, 'MiddleRamLeak%ProblemType=', MiddleRamLeak%ProblemType
  111. print*, 'MiddleRamLeak%StatusType=', MiddleRamLeak%StatusType
  112. print*, 'MiddleRamLeak%Value=', 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. LowerRamWash = SetDue(v, ChangeLowerRamWash)
  121. #ifdef deb
  122. print*, 'LowerRamWash%ProblemType=', LowerRamWash%ProblemType
  123. print*, 'LowerRamWash%StatusType=', LowerRamWash%StatusType
  124. print*, 'LowerRamWash%Value=', 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. LowerRamFail = SetDue(v, ChangeLowerRamFail)
  133. #ifdef deb
  134. print*, 'LowerRamFail%ProblemType=', LowerRamFail%ProblemType
  135. print*, 'LowerRamFail%StatusType=', LowerRamFail%StatusType
  136. print*, 'LowerRamFail%Value=', 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. LowerRamLeak = SetDue(v, ChangeLowerRamLeak)
  145. #ifdef deb
  146. print*, 'LowerRamLeak%ProblemType=', LowerRamLeak%ProblemType
  147. print*, 'LowerRamLeak%StatusType=', LowerRamLeak%StatusType
  148. print*, 'LowerRamLeak%Value=', 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. AccumulatorPumpFail = SetDue(v, ChangeAccumulatorPumpFail)
  157. #ifdef deb
  158. print*, 'AccumulatorPumpFail%ProblemType=', AccumulatorPumpFail%ProblemType
  159. print*, 'AccumulatorPumpFail%StatusType=', AccumulatorPumpFail%StatusType
  160. print*, 'AccumulatorPumpFail%Value=', 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. AccumulatorPumpLeak = SetDue(v, ChangeAccumulatorPumpLeak)
  169. #ifdef deb
  170. print*, 'AccumulatorPumpLeak%ProblemType=', AccumulatorPumpLeak%ProblemType
  171. print*, 'AccumulatorPumpLeak%StatusType=', AccumulatorPumpLeak%StatusType
  172. print*, 'AccumulatorPumpLeak%Value=', 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. AccumulatorSystemFail = SetDue(v, ChangeAccumulatorSystemFail)
  181. #ifdef deb
  182. print*, 'AccumulatorSystemFail%ProblemType=', AccumulatorSystemFail%ProblemType
  183. print*, 'AccumulatorSystemFail%StatusType=', AccumulatorSystemFail%StatusType
  184. print*, 'AccumulatorSystemFail%Value=', 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. AccumulatorSystemLeak = SetDue(v, ChangeAccumulatorSystemLeak)
  193. #ifdef deb
  194. print*, 'AccumulatorSystemLeak%ProblemType=', AccumulatorSystemLeak%ProblemType
  195. print*, 'AccumulatorSystemLeak%StatusType=', AccumulatorSystemLeak%StatusType
  196. print*, 'AccumulatorSystemLeak%Value=', AccumulatorSystemLeak%Value
  197. #endif
  198. end subroutine
  199. end module CBopProblems