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.
 
 
 
 
 
 

36 lines
1.3 KiB

  1. # 1 "/home/admin/SimulationCore2/CSharp/BasicInputs/WellProfile/CWellSurveyData.f90"
  2. module CWellSurveyData
  3. use CWellSurveyDataVariables
  4. implicit none
  5. public
  6. contains
  7. ! integer function SetSurveyData(count, array)
  8. ! !DEC$ ATTRIBUTES DLLEXPORT::SetSurveyData
  9. ! !DEC$ ATTRIBUTES ALIAS: 'SetSurveyData' :: SetSurveyData
  10. ! implicit none
  11. ! integer, intent(in) :: count
  12. ! integer :: i
  13. ! type(CSurveyDataItem), intent(inout), target :: array(count)
  14. ! type(CSurveyDataItem), pointer :: item
  15. ! WellSurveyData%Count = count
  16. ! if(size(WellSurveyData%Items) > 0) then
  17. ! deallocate(WellSurveyData%Items)
  18. ! end if
  19. ! if(count > 0) then
  20. ! allocate(WellSurveyData%Items(count))
  21. ! do i = 1, count
  22. ! item => array(i)
  23. ! WellSurveyData%Items(i)%MeasuredDepth = item%MeasuredDepth
  24. ! WellSurveyData%Items(i)%Inclination = item%Inclination
  25. ! WellSurveyData%Items(i)%Azimoth = item%Azimoth
  26. ! WellSurveyData%Items(i)%TotalVerticalDepth = item%TotalVerticalDepth
  27. ! WellSurveyData%Items(i)%X = item%X
  28. ! WellSurveyData%Items(i)%Y = item%Y
  29. ! WellSurveyData%Items(i)%Z = item%Z
  30. ! end do
  31. ! end if
  32. ! SetSurveyData = 0
  33. ! end function SetSurveyData
  34. end module CWellSurveyData