anchor.diff:     END IF
         
      
  -   IF ( p_FAST%CompMooring == Module_MAP ) THEN
  -!TODO: GJH Need to check for SD, if present, then SD will transfer to these Mooring modules, NOT ED! GJH 5/11/2020      
  +   IF ( p_FAST%CompMooring == Module_MAP .and.  p_FAST%CompSub /= Module_SD ) THEN
  +!TODO: GJH I do not have plan documentation for the External Platform connection to MAP GJH 8/11/2020      
            ! motions:
         CALL Transfer_Point_to_Point( y_ED%PlatformPtMesh, u_MAP%PtFairDisplacement, MeshMapData%ED_P_2_Mooring_P, ErrStat2, ErrMsg2 )
            CALL SetErrStat(ErrStat2,ErrMsg2,ErrStat, ErrMsg,RoutineName//'u_MAP%PtFairDisplacement' )
  
positive.code: ! Set mooring line and ice inputs (which don't have acceleration fields)
  !..................
  
  !TODO: GJH Need to check whether SD or ED sends output to Mooring GJH 5/11/2020
     
     IF ( p_FAST%CompMooring == Module_MAP ) THEN
           
  
negative.code:    !   at this point, MeshMapData%u_ED_PlatformPtMesh contains the portion of loads from SD and/or HD
     !..................
    
           
           ! Get the loads for ED/SD from a mooring module and add them:
        IF ( p_FAST%CompMooring == Module_MAP ) THEN
           if ( p_FAST%CompSub == Module_SD ) then
              CALL Transfer_Point_to_Point( y_MAP%PtFairleadLoad, MeshMapData%u_SD_LMesh_2, MeshMapData%Mooring_P_2_SD_P, ErrStat2, ErrMsg2, u_MAP%PtFairDisplacement, y_SD2%Y2Mesh ) !u_MAP and y_SD contain the displacements needed for moment calculations
  