Skip to content

Commit

Permalink
Merge pull request #996 from andrew-platt/b/BD_BldNdOuts
Browse files Browse the repository at this point in the history
[BugFix] BeamDyn nodal outputs occasionally segfaulted
  • Loading branch information
andrew-platt authored Feb 10, 2022
2 parents 151248c + d3b48f9 commit 1f53061
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/beamdyn/src/BeamDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,7 @@ subroutine SetParameters(InitInp, InputFileData, p, ErrStat, ErrMsg)
if (ErrStat >= AbortErrLev) return

p%NdIndx(1) = 1
p%NdIndxInverse(1) = 1
p%OutNd2NdElem(:,1) = 1 ! note this is an array
indx = 2
DO i=1,p%elem_total
Expand Down Expand Up @@ -1119,6 +1120,7 @@ subroutine SetParameters(InitInp, InputFileData, p, ErrStat, ErrMsg)
if (ErrStat >= AbortErrLev) return

p%NdIndx(1) = 1
p%NdIndxInverse(1) = 1
p%OutNd2NdElem(:,1) = 1 ! note this is an array
indx = 2
DO i=1,p%elem_total
Expand Down

0 comments on commit 1f53061

Please sign in to comment.