Simulation Core
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
1.7 KiB

  1. module CMudTreatmentProblems
  2. use CMudTreatmentProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetDegasser(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetDegasser
  9. !DEC$ ATTRIBUTES ALIAS: 'SetDegasser' :: SetDegasser
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. Degasser = SetDue(v, ChangeDegasser)
  13. #ifdef deb
  14. print*, 'Degasser%ProblemType=', V%ProblemType
  15. print*, 'Degasser%StatusType=', V%StatusType
  16. print*, 'Degasser%Value=', V%Value
  17. #endif
  18. end subroutine
  19. subroutine SetShaleShaker(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetShaleShaker
  21. !DEC$ ATTRIBUTES ALIAS: 'SetShaleShaker' :: SetShaleShaker
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. ShaleShaker = SetDue(v, ChangeShaleShaker)
  25. #ifdef deb
  26. print*, 'ShaleShaker%ProblemType=', V%ProblemType
  27. print*, 'ShaleShaker%StatusType=', V%StatusType
  28. print*, 'ShaleShaker%Value=', V%Value
  29. #endif
  30. end subroutine
  31. subroutine SetDesander(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetDesander
  33. !DEC$ ATTRIBUTES ALIAS: 'SetDesander' :: SetDesander
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. Desander = SetDue(v, ChangeDesander)
  37. #ifdef deb
  38. print*, 'Desander%ProblemType=', V%ProblemType
  39. print*, 'Desander%StatusType=', V%StatusType
  40. print*, 'Desander%Value=', V%Value
  41. #endif
  42. end subroutine
  43. subroutine SetDesilter(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetDesilter
  45. !DEC$ ATTRIBUTES ALIAS: 'SetDesilter' :: SetDesilter
  46. implicit none
  47. type(CProblem), intent(in) :: v
  48. Desilter = SetDue(v, ChangeDesilter)
  49. #ifdef deb
  50. print*, 'Desilter%ProblemType=', V%ProblemType
  51. print*, 'Desilter%StatusType=', V%StatusType
  52. print*, 'Desilter%Value=', V%Value
  53. #endif
  54. end subroutine
  55. end module CMudTreatmentProblems