Skip to content

Commit

Permalink
Prevent undefined behavior of VTU output in eigen analysis
Browse files Browse the repository at this point in the history
Prevent undefined behavior by initializing EigenVectorMode in VtuOutputSolver.F90
This partially reverts commit b0b5ff8
  • Loading branch information
SebGue authored Dec 5, 2024
1 parent b3cfb36 commit 46209de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fem/src/modules/ResultOutputSolve/VtuOutputSolver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ SUBROUTINE VtuOutputSolver( Model,Solver,dt,TransientSimulation )
END DO
END IF
END IF
EigenVectorMode = 0
IF( MaxModes > 0 ) THEN
CALL Info(Caller,'Maximum number of eigen/harmonic modes: '//I2S(MaxModes),Level=7)
Str = ListGetString( Params,'Eigen Vector Component', GotIt )
Expand Down

0 comments on commit 46209de

Please sign in to comment.