Simulation Core
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

65 satır
2.1 KiB

  1. module CBitProblems
  2. use CBitProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetPlugJets(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetPlugJets
  9. !DEC$ ATTRIBUTES ALIAS: 'SetPlugJets' :: SetPlugJets
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. PlugJets = SetDue(v, ChangePlugJets)
  13. #ifdef deb
  14. !print*, 'PlugJets%ProblemType=', PlugJets%ProblemType
  15. !print*, 'PlugJets%StatusType=', PlugJets%StatusType
  16. !print*, 'PlugJets%Value=', PlugJets%Value
  17. !print*, 'PlugJets%DueValue=', PlugJets%DueValue
  18. call Log_3("==============================")
  19. call Log_3("PlugJets%ProblemType=", PlugJets%ProblemType)
  20. call Log_3("PlugJets%StatusType=", PlugJets%StatusType)
  21. call Log_3("PlugJets%Value=", PlugJets%Value)
  22. call Log_3("PlugJets%DueValue=", PlugJets%DueValue)
  23. call Log_3("==============================")
  24. #endif
  25. end subroutine
  26. subroutine SetJetWashout(v)
  27. !DEC$ ATTRIBUTES DLLEXPORT :: SetJetWashout
  28. !DEC$ ATTRIBUTES ALIAS: 'SetJetWashout' :: SetJetWashout
  29. implicit none
  30. type(CProblem), intent(in) :: v
  31. JetWashout = SetDue(v, ChangeJetWashout)
  32. #ifdef deb
  33. print*, 'JetWashout%ProblemType=', JetWashout%ProblemType
  34. print*, 'JetWashout%StatusType=', JetWashout%StatusType
  35. print*, 'JetWashout%Value=', JetWashout%Value
  36. print*, 'JetWashout%DueValue=', JetWashout%DueValue
  37. #endif
  38. end subroutine
  39. subroutine SetPlugJetsCount(v)
  40. !DEC$ ATTRIBUTES DLLEXPORT :: SetPlugJetsCount
  41. !DEC$ ATTRIBUTES ALIAS: 'SetPlugJetsCount' :: SetPlugJetsCount
  42. implicit none
  43. integer, intent(in) :: v
  44. PlugJetsCount = v
  45. #ifdef deb
  46. print*, 'PlugJetsCount=', PlugJetsCount
  47. #endif
  48. end subroutine
  49. subroutine SetJetWashoutCount(v)
  50. !DEC$ ATTRIBUTES DLLEXPORT :: SetJetWashoutCount
  51. !DEC$ ATTRIBUTES ALIAS: 'SetJetWashoutCount' :: SetJetWashoutCount
  52. implicit none
  53. integer, intent(in) :: v
  54. JetWashoutCount = v
  55. #ifdef deb
  56. print*, 'JetWashoutCount=', JetWashoutCount
  57. #endif
  58. end subroutine
  59. end module CBitProblems