Simulation Core
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

76 righe
2.1 KiB

  1. module CKickProblems
  2. use CKickProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetKick(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetKick
  9. !DEC$ ATTRIBUTES ALIAS: 'SetKick' :: SetKick
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. Kick = SetDue(v, ChangeKick)
  13. #ifdef deb
  14. print*, 'Kick%ProblemType=', Kick%ProblemType
  15. print*, 'Kick%StatusType=', Kick%StatusType
  16. print*, 'Kick%Value=', Kick%Value
  17. #endif
  18. end subroutine
  19. subroutine SetFluidTypeP(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetFluidTypeP
  21. !DEC$ ATTRIBUTES ALIAS: 'SetFluidTypeP' :: SetFluidTypeP
  22. implicit none
  23. integer, intent(in) :: v
  24. FluidType = v
  25. #ifdef deb
  26. print*, 'FluidType=', FluidType
  27. #endif
  28. end subroutine
  29. subroutine SetFlowRateP(v)
  30. !DEC$ ATTRIBUTES DLLEXPORT :: SetFlowRateP
  31. !DEC$ ATTRIBUTES ALIAS: 'SetFlowRateP' :: SetFlowRateP
  32. implicit none
  33. real*8, intent(in) :: v
  34. FlowRate = v
  35. #ifdef deb
  36. print*, 'FlowRate=', FlowRate
  37. #endif
  38. end subroutine
  39. subroutine SetOverBalancePressure(v)
  40. !DEC$ ATTRIBUTES DLLEXPORT :: SetOverBalancePressure
  41. !DEC$ ATTRIBUTES ALIAS: 'SetOverBalancePressure' :: SetOverBalancePressure
  42. implicit none
  43. real*8, intent(in) :: v
  44. OverBalancePressure = v
  45. #ifdef deb
  46. print*, 'OverBalancePressure=', OverBalancePressure
  47. #endif
  48. end subroutine
  49. subroutine SetIsAutoMigrationRateSelectedP(v)
  50. !DEC$ ATTRIBUTES DLLEXPORT :: SetIsAutoMigrationRateSelectedP
  51. !DEC$ ATTRIBUTES ALIAS: 'SetIsAutoMigrationRateSelectedP' :: SetIsAutoMigrationRateSelectedP
  52. implicit none
  53. logical, intent(in) :: v
  54. IsAutoMigrationRateSelected = v
  55. #ifdef deb
  56. print*, 'IsAutoMigrationRateSelected=', IsAutoMigrationRateSelected
  57. #endif
  58. end subroutine
  59. subroutine SetAutoMigrationRateP(v)
  60. !DEC$ ATTRIBUTES DLLEXPORT :: SetAutoMigrationRateP
  61. !DEC$ ATTRIBUTES ALIAS: 'SetAutoMigrationRateP' :: SetAutoMigrationRateP
  62. implicit none
  63. real*8, intent(in) :: v
  64. AutoMigrationRate = v
  65. #ifdef deb
  66. print*, 'AutoMigrationRate=', AutoMigrationRate
  67. #endif
  68. end subroutine
  69. end module CKickProblems