Skip to content

Commit

Permalink
Remove testing code from InflowWind_Driver
Browse files Browse the repository at this point in the history
This code was unintentionally left in from developing the new
pack/unpack functionality for the registry.
  • Loading branch information
deslaughter committed Jun 20, 2023
1 parent b0f90a7 commit 213affb
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions modules/inflowwind/src/InflowWind_Driver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,6 @@ PROGRAM InflowWind_Driver
!FFT calculations occur here. Output to file.


call PackAndSave()

!--------------------------------------------------------------------------------------------------------------------------------
!-=-=- We are done, so close everything down -=-=-
!--------------------------------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -943,26 +941,6 @@ SUBROUTINE DriverCleanup()

END SUBROUTINE DriverCleanup

subroutine PackAndSave()
type(PackBuffer) :: BufOut, BufIn
integer(IntKi) :: unit
TYPE(InflowWind_ParameterType) :: IfW_p

call InitPackBuffer(BufOut, ErrStat, ErrMsg)
call InflowWind_PackParam(BufOut, InflowWind_p)
call GetNewUnit(unit, ErrStat, ErrMsg)
call OpenBOutFile(unit, 'pack.bin', ErrStat, ErrMsg)
call WritePackBuffer(BufOut, unit, ErrStat, ErrMsg)
close(unit)

call OpenBInpFile(unit, 'pack.bin', ErrStat, ErrMsg)
call ReadPackBuffer(BufIn, unit, ErrStat, ErrMsg)
call InflowWind_UnPackParam(BufIn, IfW_p)
close(unit)

end subroutine


END PROGRAM InflowWind_Driver


Expand Down

0 comments on commit 213affb

Please sign in to comment.