anchor.diff:           
      ELSEIF ( p_FAST%CompAero == Module_AD ) THEN
         
  -!debug_print2_unit = 92   
         CALL AD_InputSolve_NoIfW( p_FAST, AD%Input(1), ED%Output(1), BD, MeshMapData, ErrStat2, ErrMsg2 )   
            CALL SetErrStat( ErrStat2, ErrMsg2, ErrStat, ErrMsg, RoutineName )        
  -!debug_print2_unit = 90      
   
            ! because we're not calling InflowWind_CalcOutput or getting new values from OpenFOAM, 
            ! this probably can be skipped; 
  
positive.code:    IF (p_FAST%WrBinOutFile) THEN
  
           ! calculate the size of the array of outputs we need to store
        y_FAST%NOutSteps = NINT ( (p_FAST%TMax - p_FAST%TStart) / p_FAST%DT_OUT ) + 1
  
        CALL AllocAry( y_FAST%AllOutData, NumOuts-1, y_FAST%NOutSteps, 'AllOutData', ErrStat, ErrMsg )
        IF ( ErrStat >= AbortErrLev ) RETURN
  
negative.code:       
     ELSE IF ( p_FAST%CompAero == Module_AD ) THEN 
                          
        CALL AD_InputSolve_NoIfW( p_FAST, AD%Input(1), ED%Output(1), BD, MeshMapData, ErrStat2, ErrMsg2 )
           CALL SetErrStat( ErrStat2, ErrMsg2, ErrStat, ErrMsg, RoutineName ) 
           
     END IF
     
  