Simulation Core
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

CDownHoleActions.i90 3.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # 1 "/home/admin/SimulationCore2/CSharp/DownHole/CDownHoleActions.f90"
  2. module CDownHoleActions
  3. use CIActionReference
  4. implicit none
  5. public
  6. abstract interface
  7. subroutine ActionFluid(array)
  8. use CDownHoleTypes
  9. type(CFluid), allocatable, intent(in), target :: array(:)
  10. end subroutine
  11. subroutine ActionComponent(array)
  12. use CDownHoleTypes
  13. type(CStringComponent), allocatable, intent(in), target :: array(:)
  14. end subroutine
  15. subroutine ActionBopElement(array)
  16. use CDownHoleTypes
  17. type(CBopElement), allocatable, intent(in), target :: array(:)
  18. end subroutine
  19. end interface
  20. procedure (ActionInteger), pointer :: AnnalusMudCountPtr
  21. procedure (ActionFluid), pointer :: AnnalusMudArrayPtr
  22. procedure (ActionInteger), pointer :: StringMudCountPtr
  23. procedure (ActionFluid), pointer :: StringMudArrayPtr
  24. procedure (ActionInteger), pointer :: StringComponentCountPtr
  25. procedure (ActionComponent), pointer :: StringComponentArrayPtr
  26. procedure (ActionBopElement), pointer :: BopElementsPtr
  27. contains
  28. subroutine SubscribeAnnalusMudCount(a)
  29. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeAnnalusMudCount
  30. !DEC$ ATTRIBUTES ALIAS: 'SubscribeAnnalusMudCount' :: SubscribeAnnalusMudCount
  31. implicit none
  32. procedure (ActionInteger) :: a
  33. AnnalusMudCountPtr => a
  34. end subroutine
  35. subroutine SubscribeAnnalusMudArray(a)
  36. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeAnnalusMudArray
  37. !DEC$ ATTRIBUTES ALIAS: 'SubscribeAnnalusMudArray' :: SubscribeAnnalusMudArray
  38. implicit none
  39. procedure (ActionFluid) :: a
  40. AnnalusMudArrayPtr => a
  41. end subroutine
  42. subroutine SubscribeStringMudCount(a)
  43. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeStringMudCount
  44. !DEC$ ATTRIBUTES ALIAS: 'SubscribeStringMudCount' :: SubscribeStringMudCount
  45. implicit none
  46. procedure (ActionInteger) :: a
  47. StringMudCountPtr => a
  48. end subroutine
  49. subroutine SubscribeStringMudArray(a)
  50. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeStringMudArray
  51. !DEC$ ATTRIBUTES ALIAS: 'SubscribeStringMudArray' :: SubscribeStringMudArray
  52. implicit none
  53. procedure (ActionFluid) :: a
  54. StringMudArrayPtr => a
  55. end subroutine
  56. subroutine SubscribeStringComponentCount(a)
  57. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeStringComponentCount
  58. !DEC$ ATTRIBUTES ALIAS: 'SubscribeStringComponentCount' :: SubscribeStringComponentCount
  59. implicit none
  60. procedure (ActionInteger) :: a
  61. StringComponentCountPtr => a
  62. end subroutine
  63. subroutine SubscribeStringComponentArray(a)
  64. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeStringComponentArray
  65. !DEC$ ATTRIBUTES ALIAS: 'SubscribeStringComponentArray' :: SubscribeStringComponentArray
  66. implicit none
  67. procedure (ActionComponent) :: a
  68. StringComponentArrayPtr => a
  69. end subroutine
  70. subroutine SubscribeBopElements(a)
  71. !DEC$ ATTRIBUTES DLLEXPORT :: SubscribeBopElements
  72. !DEC$ ATTRIBUTES ALIAS: 'SubscribeBopElements' :: SubscribeBopElements
  73. implicit none
  74. procedure (ActionBopElement) :: a
  75. BopElementsPtr => a
  76. end subroutine
  77. end module CDownHoleActions