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.
 
 
 
 
 
 

76 lines
2.3 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. KickProblems%Kick = SetDue(v, ChangeKick)
  13. #ifdef deb
  14. print*, 'Kick%ProblemType=', KickProblems%Kick%ProblemType
  15. print*, 'Kick%StatusType=', KickProblems%Kick%StatusType
  16. print*, 'Kick%Value=', KickProblems%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. KickProblems%FluidType = v
  25. #ifdef deb
  26. print*, 'FluidType=', KickProblems%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. KickProblems%FlowRate = v
  35. #ifdef deb
  36. print*, 'FlowRate=', KickProblems%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. KickProblems%OverBalancePressure = v
  45. #ifdef deb
  46. print*, 'OverBalancePressure=', KickProblems%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. KickProblems%IsAutoMigrationRateSelected = v
  55. #ifdef deb
  56. print*, 'IsAutoMigrationRateSelected=', KickProblems%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. KickProblems%AutoMigrationRate = v
  65. #ifdef deb
  66. print*, 'AutoMigrationRate=', KickProblems%AutoMigrationRate
  67. #endif
  68. end subroutine
  69. end module CKickProblems