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.
 
 
 
 
 
 

32 lines
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