typo in cs_gui.c ?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
sirlb
Posts: 34
Joined: Mon Mar 17, 2014 11:54 am

typo in cs_gui.c ?

Post by sirlb »

Hello,

I think that there is a typo in file cs_gui.c regarding to RSM models symbols verification (version 3.2.1).
In subroutine uiiniv lines 4027 and 4050, the symbols that are searched for are {"r11", "r22", "r133", "r12", "r13", "r23",...}

Then if I don't set in the interface value for r133 in the volume initialization panel, the computation crash before start.

By adding a line

Code: Select all

r133 = r33
The computation starts.
Seems like a mistake, no ?
Yvan Fournier
Posts: 4081
Joined: Mon Feb 20, 2012 3:25 pm

Re: typo in cs_gui.c ?

Post by Yvan Fournier »

Hello,

It sure is a typo. I just checked it affects versions 3.0, 3.1, 3.2, and trunk. I'll fix it in the repository tomorrow morning, so the fix will be in 3.0.4, 3.1.4, 3.2.3, and 3.3.0 when they come out.

Thanks for the report and the fix.

Best regards,

Yvan
Post Reply