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

CKickProblems.f90 1.8 KiB

1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
1 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. module CKickProblems
  2. use SimulationVariables
  3. implicit none
  4. public
  5. !constants
  6. integer :: Gas_FluidType = 0
  7. integer :: Oil_FluidType = 1
  8. integer :: Water_FluidType = 2
  9. contains
  10. subroutine ProcessKickProblemsDueTime(time)
  11. implicit none
  12. integer :: time
  13. if(data%problems%KickProblems%Kick%ProblemType == Time_ProblemType) call ProcessDueTime(data%problems%KickProblems%Kick, ChangeKick, time)
  14. end subroutine
  15. subroutine ProcessKickProblemsDuePumpStrokes(strokes)
  16. implicit none
  17. integer :: strokes
  18. if(data%problems%KickProblems%Kick%ProblemType == PumpStrokes_ProblemType) call ProcessDuePumpStrokes(data%problems%KickProblems%Kick, ChangeKick, strokes)
  19. end subroutine
  20. subroutine ProcessKickProblemsDueVolumePumped(volume)
  21. implicit none
  22. real(8) :: volume
  23. if(data%problems%KickProblems%Kick%ProblemType == VolumePumped_ProblemType) call ProcessDueVolumePumped(data%problems%KickProblems%Kick, ChangeKick, volume)
  24. end subroutine
  25. subroutine ProcessKickProblemsDueDistanceDrilled(distance)
  26. implicit none
  27. real(8) :: distance
  28. if(data%problems%KickProblems%Kick%ProblemType == DistanceDrilled_ProblemType) call ProcessDueDistanceDrilled(data%problems%KickProblems%Kick, ChangeKick, distance)
  29. end subroutine
  30. subroutine ChangeKick(status)
  31. implicit none
  32. integer, intent (in) :: status
  33. ! if(associated(data%problems%KickProblems%KickPtr)) call data%problems%KickProblems%KickPtr(status)
  34. !if(status == Clear_StatusType) print*,'On_Kick_Clear'
  35. !if(status == Executed_StatusType) print*,'On_Kick_Execute'
  36. endsubroutine
  37. end module CKickProblems