|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- module CMudProperties
- use CMudPropertiesVariables
- use CLog4
- implicit none
- public
- contains
- subroutine SetActiveMudType(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveMudType
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveMudType' :: SetActiveMudType
- implicit none
- integer, intent(in) :: v
- ActiveMudType = v
- end subroutine
-
- subroutine SetActiveRheologyModel(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveRheologyModel
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveRheologyModel' :: SetActiveRheologyModel
- implicit none
- integer, intent(in) :: v
- ActiveRheologyModel = v
- #ifdef deb
- call Log_4( '=====ActiveRheologyModel=', ActiveRheologyModel)
- #endif
- end subroutine
-
- subroutine SetActiveMudVolume(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveMudVolume
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveMudVolume' :: SetActiveMudVolume
- implicit none
- real*8, intent(in) :: v
- ActiveMudVolume = v
- !call Log_5('ActiveDensity=', ActiveDensity)
- #ifdef deb
- print*, 'ActiveMudVolume=', ActiveMudVolume
- #endif
- ActiveMudVolumeGal = v * 42.0
- call OnActiveMudVolumeChange%RunAll(v * 42.0d0)
- end subroutine
-
- subroutine SetActiveDensity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveDensity
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveDensity' :: SetActiveDensity
- implicit none
- real*8, intent(in) :: v
- ActiveDensity = v
- !call Log_5('ActiveDensity=', ActiveDensity)
- #ifdef deb
- print*, 'ActiveDensity=', ActiveDensity
- #endif
- call OnActiveDensityChange%RunAll(v)
- end subroutine
-
- subroutine SetActiveThetaThreeHundred(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveThetaThreeHundred
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveThetaThreeHundred' :: SetActiveThetaThreeHundred
- implicit none
- real*8, intent(in) :: v
- ActiveThetaThreeHundred = v
- end subroutine
-
- subroutine SetActiveThetaSixHundred(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveThetaSixHundred
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveThetaSixHundred' :: SetActiveThetaSixHundred
- implicit none
- real*8, intent(in) :: v
- ActiveThetaSixHundred = v
- end subroutine
-
-
- subroutine SetReserveMudType(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveMudType
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveMudType' :: SetReserveMudType
- implicit none
- integer, intent(in) :: v
- ReserveMudType = v
- end subroutine
-
- subroutine SetReserveMudVolume(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveMudVolume
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveMudVolume' :: SetReserveMudVolume
- implicit none
- real*8, intent(in) :: v
- ReserveMudVolume = v
- !call Log_5('ReserveMudVolume=', ReserveMudVolume)
- #ifdef deb
- print*, 'ReserveMudVolume=', ReserveMudVolume
- #endif
-
- ReserveMudVolumeGal = v * 42.0
- call OnReserveMudVolumeChange%RunAll(v * 42.0d0)
- end subroutine
-
- subroutine SetReserveDensity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveDensity
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveDensity' :: SetReserveDensity
- implicit none
- real*8, intent(in) :: v
- ReserveDensity = v
- !call Log_5('ReserveDensity=', ReserveDensity)
- #ifdef deb
- print*, 'ReserveDensity=', ReserveDensity
- #endif
- call OnReserveDensityChange%RunAll(v)
- end subroutine
-
- subroutine SetReserveThetaThreeHundred(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveThetaThreeHundred
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveThetaThreeHundred' :: SetReserveThetaThreeHundred
- implicit none
- real*8, intent(in) :: v
- ReserveThetaThreeHundred = v
- end subroutine
-
- subroutine SetReserveThetaSixHundred(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveThetaSixHundred
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveThetaSixHundred' :: SetReserveThetaSixHundred
- implicit none
- real*8, intent(in) :: v
- ReserveThetaSixHundred = v
- end subroutine
-
-
- subroutine SetActiveTotalTankCapacity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveTotalTankCapacity
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveTotalTankCapacity' :: SetActiveTotalTankCapacity
- implicit none
- real*8, intent(in) :: v
- ActiveTotalTankCapacity = v
- ActiveTotalTankCapacityGal = v * 42.0
- #ifdef deb
- print*, 'ActiveTotalTankCapacity=', ActiveTotalTankCapacity
- #endif
- end subroutine
-
- subroutine SetActiveSettledContents(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveSettledContents
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveSettledContents' :: SetActiveSettledContents
- implicit none
- real*8, intent(in) :: v
- ActiveSettledContents = v
- ActiveSettledContentsGal = v * 42.0
- #ifdef deb
- print*, 'ActiveSettledContents=', ActiveSettledContents
- #endif
- end subroutine
-
- subroutine SetActiveTotalContents(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveTotalContents
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveTotalContents' :: SetActiveTotalContents
- implicit none
- real*8, intent(in) :: v
- ActiveTotalContents = v
- ActiveTotalContentsGal = v * 42.0
- #ifdef deb
- print*, 'ActiveTotalContents=', ActiveTotalContents
- #endif
- end subroutine
-
- subroutine SetActivePlasticViscosity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActivePlasticViscosity
- !DEC$ ATTRIBUTES ALIAS: 'SetActivePlasticViscosity' :: SetActivePlasticViscosity
- implicit none
- real*8, intent(in) :: v
- ActivePlasticViscosity = v
- #ifdef deb
- print*, 'ActivePlasticViscosity=', ActivePlasticViscosity
- #endif
- end subroutine
-
- subroutine SetActiveYieldPoint(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveYieldPoint
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveYieldPoint' :: SetActiveYieldPoint
- implicit none
- real*8, intent(in) :: v
- ActiveYieldPoint = v
- #ifdef deb
- print*, 'ActiveYieldPoint=', ActiveYieldPoint
- #endif
- end subroutine
-
- subroutine SetActiveAutoDensity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetActiveAutoDensity
- !DEC$ ATTRIBUTES ALIAS: 'SetActiveAutoDensity' :: SetActiveAutoDensity
- implicit none
- logical, intent(in) :: v
- ActiveAutoDensity = v
- #ifdef deb
- print*, 'ActiveAutoDensity=', ActiveAutoDensity
- #endif
- end subroutine
-
- subroutine SetReservePlasticViscosity(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReservePlasticViscosity
- !DEC$ ATTRIBUTES ALIAS: 'SetReservePlasticViscosity' :: SetReservePlasticViscosity
- implicit none
- real*8, intent(in) :: v
- ReservePlasticViscosity = v
- #ifdef deb
- print*, 'ReservePlasticViscosity=', ReservePlasticViscosity
- #endif
- end subroutine
-
- subroutine SetReserveYieldPoint(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetReserveYieldPoint
- !DEC$ ATTRIBUTES ALIAS: 'SetReserveYieldPoint' :: SetReserveYieldPoint
- implicit none
- real*8, intent(in) :: v
- ReserveYieldPoint = v
- #ifdef deb
- print*, 'ReserveYieldPoint=', ReserveYieldPoint
- #endif
- end subroutine
-
- subroutine SetInitialTripTankMudVolume(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetInitialTripTankMudVolume
- !DEC$ ATTRIBUTES ALIAS: 'SetInitialTripTankMudVolume' :: SetInitialTripTankMudVolume
- implicit none
- real*8, intent(in) :: v
- InitialTripTankMudVolume = v
- InitialTripTankMudVolumeGal = v * 42.0
- #ifdef deb
- print*, 'InitialTripTankMudVolume=', InitialTripTankMudVolume
- #endif
- end subroutine
-
- subroutine SetPedalFlowMeter(v)
- !DEC$ ATTRIBUTES DLLEXPORT :: SetPedalFlowMeter
- !DEC$ ATTRIBUTES ALIAS: 'SetPedalFlowMeter' :: SetPedalFlowMeter
- implicit none
- real*8, intent(in) :: v
- PedalFlowMeter = v
- #ifdef deb
- print*, 'PedalFlowMeter=', PedalFlowMeter
- #endif
- end subroutine
-
- end module CMudProperties
|