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.

CReservoir.f90 3.6 KiB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. module CReservoir
  2. use CReservoirVariables
  3. implicit none
  4. public
  5. contains
  6. subroutine SetReservoirFormationNo(v)
  7. !DEC$ ATTRIBUTES DLLEXPORT :: SetReservoirFormationNo
  8. !DEC$ ATTRIBUTES ALIAS: 'SetReservoirFormationNo' :: SetReservoirFormationNo
  9. implicit none
  10. integer, intent(in) :: v
  11. FormationNo = v
  12. end subroutine
  13. subroutine SetFormationTop(v)
  14. !DEC$ ATTRIBUTES DLLEXPORT :: SetFormationTop
  15. !DEC$ ATTRIBUTES ALIAS: 'SetFormationTop' :: SetFormationTop
  16. implicit none
  17. real*8, intent(in) :: v
  18. FormationTop = v
  19. end subroutine
  20. subroutine SetPressureGradient(v)
  21. !DEC$ ATTRIBUTES DLLEXPORT :: SetPressureGradient
  22. !DEC$ ATTRIBUTES ALIAS: 'SetPressureGradient' :: SetPressureGradient
  23. implicit none
  24. real*8, intent(in) :: v
  25. PressureGradient = v
  26. end subroutine
  27. subroutine SetFormationPermeability(v)
  28. !DEC$ ATTRIBUTES DLLEXPORT :: SetFormationPermeability
  29. !DEC$ ATTRIBUTES ALIAS: 'SetFormationPermeability' :: SetFormationPermeability
  30. implicit none
  31. real*8, intent(in) :: v
  32. FormationPermeability = v
  33. end subroutine
  34. subroutine SetGeothermalGradient(v)
  35. !DEC$ ATTRIBUTES DLLEXPORT :: SetGeothermalGradient
  36. !DEC$ ATTRIBUTES ALIAS: 'SetGeothermalGradient' :: SetGeothermalGradient
  37. implicit none
  38. real*8, intent(in) :: v
  39. GeothermalGradient = v
  40. end subroutine
  41. subroutine SetFluidType(v)
  42. !DEC$ ATTRIBUTES DLLEXPORT :: SetFluidType
  43. !DEC$ ATTRIBUTES ALIAS: 'SetFluidType' :: SetFluidType
  44. implicit none
  45. integer, intent(in) :: v
  46. FluidType = v
  47. end subroutine
  48. subroutine SetFluidGradient(v)
  49. !DEC$ ATTRIBUTES DLLEXPORT :: SetFluidGradient
  50. !DEC$ ATTRIBUTES ALIAS: 'SetFluidGradient' :: SetFluidGradient
  51. implicit none
  52. real*8, intent(in) :: v
  53. FluidGradient = v
  54. end subroutine
  55. subroutine SetFluidViscosity(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetFluidViscosity
  57. !DEC$ ATTRIBUTES ALIAS: 'SetFluidViscosity' :: SetFluidViscosity
  58. implicit none
  59. real*8, intent(in) :: v
  60. FluidViscosity = v
  61. end subroutine
  62. subroutine SetInactiveInflux(v)
  63. !DEC$ ATTRIBUTES DLLEXPORT :: SetInactiveInflux
  64. !DEC$ ATTRIBUTES ALIAS: 'SetInactiveInflux' :: SetInactiveInflux
  65. implicit none
  66. logical, intent(in) :: v
  67. InactiveInflux = v
  68. end subroutine
  69. subroutine SetMakeKickSinglePacket(v)
  70. !DEC$ ATTRIBUTES DLLEXPORT :: SetMakeKickSinglePacket
  71. !DEC$ ATTRIBUTES ALIAS: 'SetMakeKickSinglePacket' :: SetMakeKickSinglePacket
  72. implicit none
  73. logical, intent(in) :: v
  74. MakeKickSinglePacket = v
  75. #ifdef deb
  76. print*, 'MakeKickSinglePacket=', MakeKickSinglePacket
  77. #endif
  78. end subroutine
  79. subroutine SetIsAutoMigrationRateSelected(v)
  80. !DEC$ ATTRIBUTES DLLEXPORT :: SetIsAutoMigrationRateSelected
  81. !DEC$ ATTRIBUTES ALIAS: 'SetIsAutoMigrationRateSelected' :: SetIsAutoMigrationRateSelected
  82. implicit none
  83. logical, intent(in) :: v
  84. IsAutoMigrationRateSelected = v
  85. #ifdef deb
  86. print*, 'IsAutoMigrationRateSelected=', IsAutoMigrationRateSelected
  87. #endif
  88. end subroutine
  89. subroutine SetAutoMigrationRate(v)
  90. !DEC$ ATTRIBUTES DLLEXPORT :: SetAutoMigrationRate
  91. !DEC$ ATTRIBUTES ALIAS: 'SetAutoMigrationRate' :: SetAutoMigrationRate
  92. implicit none
  93. real*8, intent(in) :: v
  94. AutoMigrationRate = v
  95. #ifdef deb
  96. print*, 'AutoMigrationRate=', AutoMigrationRate
  97. #endif
  98. end subroutine
  99. end module CReservoir