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.

CTdsStemJointHeight.f90 1.5 KiB

1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. module CTdsStemJointHeight
  2. use CVoidEventHandlerCollection
  3. implicit none
  4. real :: TdsStemJointHeight = 0
  5. public
  6. type(VoidEventHandlerCollection) :: OnTdsStemJointHeightChange
  7. private :: TdsStemJointHeight
  8. contains
  9. subroutine Set_TdsStemJointHeight(v)
  10. implicit none
  11. real , intent(in) :: v
  12. #ifdef ExcludeExtraChanges
  13. if(TdsStemJointHeight == v) return
  14. #endif
  15. TdsStemJointHeight = v
  16. #ifdef deb
  17. print*, 'TdsStemJointHeight=', TdsStemJointHeight
  18. #endif
  19. call OnTdsStemJointHeightChange%RunAll()
  20. end subroutine
  21. real function Get_TdsStemJointHeight()
  22. implicit none
  23. Get_TdsStemJointHeight = TdsStemJointHeight
  24. end function
  25. subroutine Set_TdsStemJointHeight_WN(v)
  26. !DEC$ ATTRIBUTES DLLEXPORT :: Set_TdsStemJointHeight_WN
  27. !DEC$ ATTRIBUTES ALIAS: 'Set_TdsStemJointHeight_WN' :: Set_TdsStemJointHeight_WN
  28. implicit none
  29. real , intent(in) :: v
  30. call Set_TdsStemJointHeight(v)
  31. end subroutine
  32. real function Get_TdsStemJointHeight_WN()
  33. !DEC$ ATTRIBUTES DLLEXPORT :: Get_TdsStemJointHeight_WN
  34. !DEC$ ATTRIBUTES ALIAS: 'Get_TdsStemJointHeight_WN' :: Get_TdsStemJointHeight_WN
  35. implicit none
  36. Get_TdsStemJointHeight_WN = TdsStemJointHeight
  37. end function
  38. subroutine Subscribe_TdsStemJointHeight()
  39. implicit none
  40. end subroutine
  41. end module CTdsStemJointHeight