anchor.diff:              node = node + 1
            end do
         end if
  -
  -      if (u_AD%rotors(1)%NacelleMotion%NNodes > 0) then
  -         u_AD%rotors(1)%InflowOnNacelle(:) = y_IfW%VelocityUVW(:,node)
  -         node = node + 1
  -      else
  -         u_AD%rotors(1)%InflowOnNacelle = 0.0_ReKi
  -      end if
  -         
  -!      if (u_AD%HubMotion%NNodes > 0) then
  -!         u_AD%InflowOnHub(:) = y_IfW%VelocityUVW(:,node)
  -!         node = node + 1
  -!      else
  -!         u_AD%InflowOnHub = 0.0_ReKi
  -!      end if
   
      ELSEIF ( p_FAST%CompInflow == MODULE_OpFM ) THEN
         node = 2 !start of inputs to AD15
  
positive.code:          Node = Node + 1
           u_IfW%PositionXYZ(:,Node) = u_AD%rotors(1)%TowerMotion%TranslationDisp(:,J) + u_AD%rotors(1)%TowerMotion%Position(:,J)
        END DO      
                    
           ! vortex points from FVW in AD15
        if (allocated(OtherSt_AD%WakeLocationPoints)) then
           do J=1,size(OtherSt_AD%WakeLocationPoints,DIM=2)
              Node = Node + 1
              u_IfW%PositionXYZ(:,Node) = OtherSt_AD%WakeLocationPoints(:,J)
           enddo
        end if
        
        if (u_AD%rotors(1)%NacelleMotion%Committed) then
           Node = Node + 1
           u_IfW%PositionXYZ(:,Node) = u_AD%rotors(1)%NacelleMotion%TranslationDisp(:,1) + u_AD%rotors(1)%NacelleMotion%Position(:,1)
        end if
        
  !      if (u_AD%HubMotion%Committed) then
  !         Node = Node + 1
  !         u_IfW%PositionXYZ(:,Node) = u_AD%HubMotion%TranslationDisp(:,1) + u_AD%HubMotion%Position(:,1)
  !      end if
        
     END IF
     
  
negative.code:          end do      
        end if
  
        if (u_AD%rotors(1)%NacelleMotion%NNodes > 0) then
           u_AD%rotors(1)%InflowOnNacelle(:) = y_IfW%VelocityUVW(:,node)
           node = node + 1
        else
           u_AD%rotors(1)%InflowOnNacelle = 0.0_ReKi
        end if
           
  !      if (u_AD%HubMotion%NNodes > 0) then
  !         u_AD%InflowOnHub(:) = y_IfW%VelocityUVW(:,node)
  !         node = node + 1
  !      else
  !         u_AD%InflowOnHub = 0.0_ReKi
  !      end if
  
        ! vortex points from FVW in AD15 (should be at then end, since not "rotor dependent"
        if ( allocated(u_AD%InflowWakeVel) ) then
           Nnodes = size(u_AD%InflowWakeVel,DIM=2)
           do j=1,Nnodes
  