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.
 
 
 
 
 
 

48 rivejä
1.5 KiB

  1. # 1 "/home/admin/SimulationCore2/CSharp/BasicInputs/Bha/CStringConfigurationVariables.f90"
  2. module CStringConfigurationVariables
  3. implicit none
  4. public
  5. !constants
  6. integer :: Bit_ComponentType = 0
  7. integer :: Stabilizer_ComponentType = 1
  8. integer :: Collar_ComponentType = 2
  9. integer :: DrillPipe_ComponentType = 3
  10. integer :: Heavyweight_ComponentType = 4
  11. integer :: Cone_BitType = 0
  12. integer :: PDC_BitType = 1
  13. integer :: Rock_BitType = 2
  14. type, bind(c), public :: CStringItem
  15. integer :: ComponentType
  16. real(8) :: NumberOfJoint
  17. real(8) :: LengthPerJoint
  18. real(8) :: NominalOd
  19. real(8) :: NominalId
  20. real(8) :: WeightPerLength
  21. real(8) :: ComponentLength
  22. ! real(8) :: NominalToolJointOd
  23. ! character(1) :: Grade
  24. end type CStringItem
  25. type, bind(c), public :: CBitInfo
  26. integer :: BitType
  27. real(8) :: BitSize
  28. integer :: BitCodeHundreds
  29. integer :: BitCodeTens
  30. integer :: BitCodeOnes
  31. real(8) :: BitNozzleSize
  32. real(8) :: BitLength
  33. real(8) :: BitWeightPerLength
  34. integer :: BitNozzleNo
  35. logical :: FloatValve
  36. end type CBitInfo
  37. Type :: StringConfigurationType
  38. integer :: StringConfigurationCount
  39. type(CStringItem), allocatable :: StringConfigurations(:)
  40. type(CBitInfo) :: BitDefinition
  41. End type StringConfigurationType
  42. contains
  43. end module CStringConfigurationVariables