Simulation Core
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

COtherProblems.f90 4.2 KiB

há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
há 1 ano
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. module COtherProblems
  2. use COtherProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetRigAlarm(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetRigAlarm
  9. !DEC$ ATTRIBUTES ALIAS: 'SetRigAlarm' :: SetRigAlarm
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. OtherProblems%RigAlarm = SetDue(v, ChangeRigAlarm)
  13. #ifdef deb
  14. print*, 'RigAlarm%ProblemType=', V%ProblemType
  15. print*, 'RigAlarm%StatusType=', V%StatusType
  16. print*, 'RigAlarm%Value=', V%Value
  17. #endif
  18. end subroutine
  19. subroutine SetRigWaterSupply(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetRigWaterSupply
  21. !DEC$ ATTRIBUTES ALIAS: 'SetRigWaterSupply' :: SetRigWaterSupply
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. OtherProblems%RigWaterSupply = SetDue(v, ChangeRigWaterSupply)
  25. #ifdef deb
  26. print*, 'RigWaterSupply%ProblemType=', V%ProblemType
  27. print*, 'RigWaterSupply%StatusType=', V%StatusType
  28. print*, 'RigWaterSupply%Value=', V%Value
  29. #endif
  30. end subroutine
  31. subroutine SetRigAir(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetRigAir
  33. !DEC$ ATTRIBUTES ALIAS: 'SetRigAir' :: SetRigAir
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. OtherProblems%RigAir = SetDue(v, ChangeRigAir)
  37. #ifdef deb
  38. print*, 'RigAir%ProblemType=', V%ProblemType
  39. print*, 'RigAir%StatusType=', V%StatusType
  40. print*, 'RigAir%Value=', V%Value
  41. #endif
  42. end subroutine
  43. subroutine SetGen1(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetGen1
  45. !DEC$ ATTRIBUTES ALIAS: 'SetGen1' :: SetGen1
  46. implicit none
  47. type(CProblem), intent(in) :: v
  48. OtherProblems%Gen1 = SetDue(v, ChangeGen1)
  49. #ifdef deb
  50. print*, 'Gen1%ProblemType=', V%ProblemType
  51. print*, 'Gen1%StatusType=', V%StatusType
  52. print*, 'Gen1%Value=', V%Value
  53. #endif
  54. end subroutine
  55. subroutine SetGen2(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetGen2
  57. !DEC$ ATTRIBUTES ALIAS: 'SetGen2' :: SetGen2
  58. implicit none
  59. type(CProblem), intent(in) :: v
  60. OtherProblems%Gen2 = SetDue(v, ChangeGen2)
  61. #ifdef deb
  62. print*, 'Gen2%ProblemType=', V%ProblemType
  63. print*, 'Gen2%StatusType=', V%StatusType
  64. print*, 'Gen2%Value=', V%Value
  65. #endif
  66. end subroutine
  67. subroutine SetGen3(v)
  68. !DEC$ ATTRIBUTES DLLEXPORT :: SetGen3
  69. !DEC$ ATTRIBUTES ALIAS: 'SetGen3' :: SetGen3
  70. implicit none
  71. type(CProblem), intent(in) :: v
  72. OtherProblems%Gen3 = SetDue(v, ChangeGen3)
  73. #ifdef deb
  74. print*, 'Gen3%ProblemType=', V%ProblemType
  75. print*, 'Gen3%StatusType=', V%StatusType
  76. print*, 'Gen3%Value=', V%Value
  77. #endif
  78. end subroutine
  79. subroutine SetGen4(v)
  80. !DEC$ ATTRIBUTES DLLEXPORT :: SetGen4
  81. !DEC$ ATTRIBUTES ALIAS: 'SetGen4' :: SetGen4
  82. implicit none
  83. type(CProblem), intent(in) :: v
  84. OtherProblems%Gen4 = SetDue(v, ChangeGen4)
  85. #ifdef deb
  86. print*, 'Gen4%ProblemType=', V%ProblemType
  87. print*, 'Gen4%StatusType=', V%StatusType
  88. print*, 'Gen4%Value=', V%Value
  89. #endif
  90. end subroutine
  91. subroutine SetScr1(v)
  92. !DEC$ ATTRIBUTES DLLEXPORT :: SetScr1
  93. !DEC$ ATTRIBUTES ALIAS: 'SetScr1' :: SetScr1
  94. implicit none
  95. type(CProblem), intent(in) :: v
  96. OtherProblems%Scr1 = SetDue(v, ChangeScr1)
  97. #ifdef deb
  98. print*, 'Scr1%ProblemType=', V%ProblemType
  99. print*, 'Scr1%StatusType=', V%StatusType
  100. print*, 'Scr1%Value=', V%Value
  101. #endif
  102. end subroutine
  103. subroutine SetScr2(v)
  104. !DEC$ ATTRIBUTES DLLEXPORT :: SetScr2
  105. !DEC$ ATTRIBUTES ALIAS: 'SetScr2' :: SetScr2
  106. implicit none
  107. type(CProblem), intent(in) :: v
  108. OtherProblems%Scr2 = SetDue(v, ChangeScr2)
  109. #ifdef deb
  110. print*, 'Scr2%ProblemType=', V%ProblemType
  111. print*, 'Scr2%StatusType=', V%StatusType
  112. print*, 'Scr2%Value=', V%Value
  113. #endif
  114. end subroutine
  115. subroutine SetScr3(v)
  116. !DEC$ ATTRIBUTES DLLEXPORT :: SetScr3
  117. !DEC$ ATTRIBUTES ALIAS: 'SetScr3' :: SetScr3
  118. implicit none
  119. type(CProblem), intent(in) :: v
  120. OtherProblems%Scr3 = SetDue(v, ChangeScr3)
  121. #ifdef deb
  122. print*, 'Scr3%ProblemType=', V%ProblemType
  123. print*, 'Scr3%StatusType=', V%StatusType
  124. print*, 'Scr3%Value=', V%Value
  125. #endif
  126. end subroutine
  127. subroutine SetScr4(v)
  128. !DEC$ ATTRIBUTES DLLEXPORT :: SetScr4
  129. !DEC$ ATTRIBUTES ALIAS: 'SetScr4' :: SetScr4
  130. implicit none
  131. type(CProblem), intent(in) :: v
  132. OtherProblems%Scr4 = SetDue(v, ChangeScr4)
  133. #ifdef deb
  134. print*, 'Scr4%ProblemType=', V%ProblemType
  135. print*, 'Scr4%StatusType=', V%StatusType
  136. print*, 'Scr4%Value=', V%Value
  137. #endif
  138. end subroutine
  139. end module COtherProblems