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.

CBitProblems.f90 2.2 KiB

1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. BitProblems%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=", BitProblems%PlugJets%ProblemType)
  20. call Log_3("PlugJets%StatusType=", BitProblems%PlugJets%StatusType)
  21. call Log_3("PlugJets%Value=", BitProblems%PlugJets%Value)
  22. call Log_3("PlugJets%DueValue=", BitProblems%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. BitProblems%JetWashout = SetDue(v, ChangeJetWashout)
  32. #ifdef deb
  33. print*, 'JetWashout%ProblemType=', BitProblems%JetWashout%ProblemType
  34. print*, 'JetWashout%StatusType=', BitProblems%JetWashout%StatusType
  35. print*, 'JetWashout%Value=', BitProblems%JetWashout%Value
  36. print*, 'JetWashout%DueValue=', BitProblems%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. BitProblems%PlugJetsCount = v
  45. #ifdef deb
  46. print*, 'PlugJetsCount=', BitProblems%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. BitProblems%JetWashoutCount = v
  55. #ifdef deb
  56. print*, 'JetWashoutCount=', BitProblems%JetWashoutCount
  57. #endif
  58. end subroutine
  59. end module CBitProblems