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.
 
 
 
 
 
 

28 lines
775 B

  1. module CPathGenerationVariables
  2. implicit none
  3. public
  4. ! types
  5. type, bind(c), public :: CPathGenerationItem
  6. integer :: HoleType
  7. real(8) :: Angle
  8. real(8) :: Length
  9. real(8) :: FinalAngle
  10. real(8) :: TotalLength
  11. real(8) :: MeasuredDepth
  12. real(8) :: TotalVerticalDepth
  13. end type CPathGenerationItem
  14. type, bind(c), public :: CDataPointItem
  15. real(8) :: X
  16. real(8) :: Y
  17. end type CDataPointItem
  18. integer :: PathGenerationCount = 0
  19. type(CPathGenerationItem), allocatable :: PathGenerations(:)
  20. integer :: PathGenerationDataPointsCount = 0
  21. type(CDataPointItem), allocatable :: PathGenerationDataPoints(:)
  22. contains
  23. end module CPathGenerationVariables