Skip to content

Commit 0a7b93a

Browse files
committed
AA: mod output channel names
1 parent 97ea659 commit 0a7b93a

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

modules/aerodyn/src/AeroAcoustics_IO.f90

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -580,14 +580,9 @@ function setChannelBldNdPrefix(IdxBlade,IdxNode) result(ChanPrefix)
580580
INTEGER(IntKi), intent(in) :: IdxNode ! Counter to the blade node we ae on
581581
CHARACTER(16) :: ChanPrefix ! Name prefix (AeroB#_Z######y_)
582582

583-
#ifdef OUTPUT_CHANNEL_NAMES_WITH_NODE_NUMBERS
584-
! Create the name prefix:
585-
WRITE (TmpChar,'(I3.3)') IdxNode ! 3 digit number
586-
ChanPrefix = 'AB' // TRIM(Num2LStr(IdxBlade)) // 'N' // TRIM(TmpChar)
587-
#else
588-
WRITE (TmpChar,'(I6.6)') NINT( p%BlSpn(IdxNode,IdxBlade) * 1000.0_ReKi) !millimeters
589-
ChanPrefix = 'AeroB' // TRIM(Num2LStr(IdxBlade)) // '_Z' // TRIM(TmpChar) // '_'
590-
#endif
583+
! Create the name prefix:
584+
WRITE (TmpChar,'(I3.3)') IdxNode ! 3 digit number
585+
ChanPrefix = 'AB' // TRIM(Num2LStr(IdxBlade)) // 'N' // TRIM(TmpChar)
591586
end function
592587

593588
logical function Failed()

modules/aerodyn/src/AeroDyn_Inflow.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ subroutine ADI_CalcOutput(t, u, p, x, xd, z, OtherState, y, m, errStat, errMsg)
267267

268268
integer(IntKi) :: errStat2
269269
character(errMsgLen) :: errMsg2
270-
integer(IntKi) :: node
271270
character(*), parameter :: RoutineName = 'ADI_CalcOutput'
272271
integer :: iWT
273272
errStat = ErrID_None

0 commit comments

Comments
 (0)