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.
 
 
 
 
 
 

69 lines
2.6 KiB

  1. module CDrillStemProblems
  2. use CDrillStemProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetStringDragIncrease(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringDragIncrease
  9. !DEC$ ATTRIBUTES ALIAS: 'SetStringDragIncrease' :: SetStringDragIncrease
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. StringDragIncrease = SetDue(v, ChangeStringDragIncrease)
  13. #ifdef deb
  14. print*, 'StringDragIncrease%ProblemType=', StringDragIncrease%ProblemType
  15. print*, 'StringDragIncrease%StatusType=', StringDragIncrease%StatusType
  16. print*, 'StringDragIncrease%Value=', StringDragIncrease%Value
  17. #endif
  18. end subroutine
  19. subroutine SetStringTorqueIncrease(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueIncrease
  21. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueIncrease' :: SetStringTorqueIncrease
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. StringTorqueIncrease = SetDue(v, ChangeStringTorqueIncrease)
  25. #ifdef deb
  26. print*, 'StringTorqueIncrease%ProblemType=', StringTorqueIncrease%ProblemType
  27. print*, 'StringTorqueIncrease%StatusType=', StringTorqueIncrease%StatusType
  28. print*, 'StringTorqueIncrease%Value=', StringTorqueIncrease%Value
  29. #endif
  30. end subroutine
  31. subroutine SetStringTorqueFluctuation(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueFluctuation
  33. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueFluctuation' :: SetStringTorqueFluctuation
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. StringTorqueFluctuation = SetDue(v, ChangeStringTorqueFluctuation)
  37. #ifdef deb
  38. print*, 'StringTorqueFluctuation%ProblemType=', StringTorqueFluctuation%ProblemType
  39. print*, 'StringTorqueFluctuation%StatusType=', StringTorqueFluctuation%StatusType
  40. print*, 'StringTorqueFluctuation%Value=', StringTorqueFluctuation%Value
  41. #endif
  42. end subroutine
  43. subroutine SetStringDragIncreaseTime(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringDragIncreaseTime
  45. !DEC$ ATTRIBUTES ALIAS: 'SetStringDragIncreaseTime' :: SetStringDragIncreaseTime
  46. implicit none
  47. real(8), intent(in) :: v
  48. StringDragIncreaseTime = v
  49. #ifdef deb
  50. print*, 'StringDragIncreaseTime=', StringDragIncreaseTime
  51. #endif
  52. end subroutine
  53. subroutine SetStringTorqueIncreaseTime(v)
  54. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueIncreaseTime
  55. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueIncreaseTime' :: SetStringTorqueIncreaseTime
  56. implicit none
  57. real(8), intent(in) :: v
  58. StringTorqueIncreaseTime = v
  59. #ifdef deb
  60. print*, 'StringTorqueIncreaseTime=', StringTorqueIncreaseTime
  61. #endif
  62. end subroutine
  63. end module CDrillStemProblems