Simulation Core
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CKickProblems.f90 2.3 KiB

il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
il y a 1 an
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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