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.
 
 
 
 
 
 

41 lines
860 B

  1. module CTanksVariables
  2. implicit none
  3. public
  4. ! Input vars
  5. real(8) :: WaterRate
  6. real(8) :: CementTankVolume
  7. real(8) :: CementTankDensity
  8. real(8) :: TripTankVolume
  9. real(8) :: TripTankDensity
  10. logical :: ManualPumpPower
  11. logical :: Valve1
  12. logical :: Valve2
  13. logical :: Valve3
  14. logical :: Valve4
  15. logical :: Valve5
  16. logical :: Valve6
  17. logical :: Valve7
  18. logical :: Valve8
  19. logical :: Valve9
  20. logical :: Valve10
  21. logical :: Valve11
  22. ! Output vars
  23. contains
  24. subroutine Set_ManualPumpPower(v)
  25. use CManifolds, only:ChangeValve
  26. implicit none
  27. logical, intent(in) :: v
  28. ManualPumpPower = v
  29. call ChangeValve(43, v)
  30. #ifdef deb
  31. print*, 'ManualPumpPower=', ManualPumpPower
  32. #endif
  33. end subroutine
  34. end module CTanksVariables