Uninitialized boolean leads to infinite loop
COmputational fluid dyNamics STRUctured grid CreaTor for 2D airfoils
Brought to you by:
montagdp
Hi,
First thanks for a tool that looks to be very useful, and that is going to save me from having to dig back through my old course notes to do this on my own!
Regarding the source-code for the 2.0.2 release, look in the function "get_growth" in edge_drig.f90. There you use an uninitialized boolean, "bracketed", that for me (on 64bit linux) eventually leads to an endless loop. Initializing bracketed to .false. prior to entering the do while loop, fixes this.
Hey Jason,
Thanks for your spotting that and letting me know. Oddly enough, it doesn't happen for me on 64 bit linux using GNU compilers. I will update the source code and also this thread when it is fixed.
Dan
Hey Jason,
Thanks for noticing this bug. It has been fixed in the most recent version of the code (v2.0.3).