Skip to content

Commit

Permalink
removed MAP references for hybrid build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcdevin committed Apr 9, 2021
1 parent b69206d commit daed212
Show file tree
Hide file tree
Showing 10 changed files with 597 additions and 6,770 deletions.
4,640 changes: 0 additions & 4,640 deletions modules/map/src/MAP_Types.f90

This file was deleted.

8 changes: 3 additions & 5 deletions modules/openfast-library/src/FAST_Lin.f90
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ SUBROUTINE Init_Lin_InputOutput(p_FAST, y_FAST, NumBl, ErrStat, ErrMsg)
END SUBROUTINE Init_Lin_InputOutput
!----------------------------------------------------------------------------------------------------------------------------------
!> Routine that performs lineaization at current operating point for a turbine.
SUBROUTINE FAST_Linearize_OP(t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, MAPp, FEAM, MD, Orca, &
SUBROUTINE FAST_Linearize_OP(t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, FEAM, MD, Orca, &
IceF, IceD, MeshMapData, ErrStat, ErrMsg )

REAL(DbKi), INTENT(IN ) :: t_global !< current (global) simulation time
Expand All @@ -450,7 +450,6 @@ SUBROUTINE FAST_Linearize_OP(t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD1
TYPE(OpenFOAM_Data), INTENT(INOUT) :: OpFM !< OpenFOAM data
TYPE(HydroDyn_Data), INTENT(INOUT) :: HD !< HydroDyn data
TYPE(SubDyn_Data), INTENT(INOUT) :: SD !< SubDyn data
TYPE(MAP_Data), INTENT(INOUT) :: MAPp !< MAP data
TYPE(FEAMooring_Data), INTENT(INOUT) :: FEAM !< FEAMooring data
TYPE(MoorDyn_Data), INTENT(INOUT) :: MD !< Data for the MoorDyn module
TYPE(OrcaFlex_Data), INTENT(INOUT) :: Orca !< OrcaFlex interface data
Expand Down Expand Up @@ -802,7 +801,7 @@ SUBROUTINE FAST_Linearize_OP(t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD1
end if

! get the dUdu and dUdy matrices, which linearize SolveOption2 for the modules we've included in linearization
call Glue_Jacobians( t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, MAPp, FEAM, MD, Orca, &
call Glue_Jacobians( t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, FEAM, MD, Orca, &
IceF, IceD, MeshMapData, dUdu, dUdy, ErrStat2, ErrMsg2 )
call SetErrStat(ErrStat2,ErrMsg2,ErrStat,ErrMsg,RoutineName)
if (ErrStat >=AbortErrLev) then
Expand Down Expand Up @@ -1209,7 +1208,7 @@ END SUBROUTINE Glue_GetOP
!----------------------------------------------------------------------------------------------------------------------------------

!> This routine forms the Jacobian for the glue-code input-output solves.
SUBROUTINE Glue_Jacobians( t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, MAPp, FEAM, MD, Orca, &
SUBROUTINE Glue_Jacobians( t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14, AD, IfW, OpFM, HD, SD, FEAM, MD, Orca, &
IceF, IceD, MeshMapData, dUdu, dUdy, ErrStat, ErrMsg )

REAL(DbKi), INTENT(IN ) :: t_global !< current (global) simulation time
Expand All @@ -1227,7 +1226,6 @@ SUBROUTINE Glue_Jacobians( t_global, p_FAST, y_FAST, m_FAST, ED, BD, SrvD, AD14,
TYPE(OpenFOAM_Data), INTENT(INOUT) :: OpFM !< OpenFOAM data
TYPE(HydroDyn_Data), INTENT(INOUT) :: HD !< HydroDyn data
TYPE(SubDyn_Data), INTENT(INOUT) :: SD !< SubDyn data
TYPE(MAP_Data), INTENT(INOUT) :: MAPp !< MAP data
TYPE(FEAMooring_Data), INTENT(INOUT) :: FEAM !< FEAMooring data
TYPE(MoorDyn_Data), INTENT(INOUT) :: MD !< Data for the MoorDyn module
TYPE(OrcaFlex_Data), INTENT(INOUT) :: Orca !< OrcaFlex interface data
Expand Down
14 changes: 0 additions & 14 deletions modules/openfast-library/src/FAST_Registry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ usefrom OpenFOAM_Registry.txt
usefrom SuperController_Registry.txt
usefrom Registry_IceDyn.txt
usefrom FEAM_Registry.txt
usefrom MAP_Registry.txt
usefrom MoorDyn_Registry.txt
usefrom OrcaFlexInterface.txt
usefrom ExtPtfm_MCKF_Registry.txt
Expand Down Expand Up @@ -351,18 +350,6 @@ typedef ^ ^ IceFloe_MiscVarType m - - - "Misc/optimization variables"
typedef ^ ^ IceFloe_InputType Input {:} - - "Array of inputs associated with InputTimes"
typedef ^ ^ DbKi InputTimes {:} - - "Array of times associated with Input Array"

# ..... MAP data .......................................................................................................
typedef FAST MAP_Data MAP_ContinuousStateType x {2} - - "Continuous states"
typedef ^ ^ MAP_DiscreteStateType xd {2} - - "Discrete states"
typedef ^ ^ MAP_ConstraintStateType z {2} - - "Constraint states"
typedef ^ ^ MAP_OtherStateType OtherSt - - - "Other/optimization states"
typedef ^ ^ MAP_ParameterType p - - - "Parameters"
typedef ^ ^ MAP_InputType u - - - "System inputs"
typedef ^ ^ MAP_OutputType y - - - "System outputs"
typedef ^ ^ MAP_OtherStateType OtherSt_old - - - "Other/optimization states (copied for the case of subcycling)"
typedef ^ ^ MAP_InputType Input {:} - - "Array of inputs associated with InputTimes"
typedef ^ ^ DbKi InputTimes {:} - - "Array of times associated with Input Array"

# ..... FEAMooring data .......................................................................................................
typedef FAST FEAMooring_Data FEAM_ContinuousStateType x {2} - - "Continuous states"
typedef ^ ^ FEAM_DiscreteStateType xd {2} - - "Discrete states"
Expand Down Expand Up @@ -526,7 +513,6 @@ typedef ^ FAST_TurbineType OpenFOAM_Data OpFM - - - "Data for OpenFOAM integrati
typedef ^ FAST_TurbineType SuperController_Data SC - - - "Data for SuperController integration module" -
typedef ^ FAST_TurbineType HydroDyn_Data HD - - - "Data for the HydroDyn module" -
typedef ^ FAST_TurbineType SubDyn_Data SD - - - "Data for the SubDyn module" -
typedef ^ FAST_TurbineType MAP_Data MAP - - - "Data for the MAP (Mooring Analysis Program) module" -
typedef ^ FAST_TurbineType FEAMooring_Data FEAM - - - "Data for the FEAMooring module" -
typedef ^ FAST_TurbineType MoorDyn_Data MD - - - "Data for the MoorDyn module" -
typedef ^ FAST_TurbineType OrcaFlex_Data Orca - - - "Data for the OrcaFlex interface module" -
Expand Down
Loading

0 comments on commit daed212

Please sign in to comment.