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.
 
 
 
 
 
 

30 lines
861 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. Type :: PathGenerationType
  19. integer :: ItemCount = 0
  20. type(CPathGenerationItem), allocatable :: Items(:)
  21. integer :: DataPointsCount = 0
  22. type(CDataPointItem), allocatable :: DataPoints(:)
  23. End type PathGenerationType
  24. ! Type(PathGenerationType)::PathGeneration
  25. end module CPathGenerationVariables