Simulation Core
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

32 行
931 B

  1. module CLostProblems
  2. use CLostProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetLostCirculation(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetLostCirculation
  9. !DEC$ ATTRIBUTES ALIAS: 'SetLostCirculation' :: SetLostCirculation
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. LostCirculation = SetDue(v, ChangeLostCirculation)
  13. #ifdef deb
  14. print*, 'LostCirculation%ProblemType=', LostCirculation%ProblemType
  15. print*, 'LostCirculation%StatusType=', LostCirculation%StatusType
  16. print*, 'LostCirculation%Value=', LostCirculation%Value
  17. #endif
  18. end subroutine
  19. subroutine SetFlowRate(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetFlowRate
  21. !DEC$ ATTRIBUTES ALIAS: 'SetFlowRate' :: SetFlowRate
  22. implicit none
  23. real*8, intent(in) :: v
  24. FlowRate = v
  25. #ifdef deb
  26. print*, 'FlowRate=', FlowRate
  27. #endif
  28. end subroutine
  29. end module CLostProblems