Skip to content

Update readkey.F#33

Open
vliqi wants to merge 1 commit intonasa:masterfrom
vliqi:patch-2
Open

Update readkey.F#33
vliqi wants to merge 1 commit intonasa:masterfrom
vliqi:patch-2

Conversation

@vliqi
Copy link
Contributor

@vliqi vliqi commented Jun 3, 2025

If the keyword does not exist in the cfl3d.inp file, the variable tp will not be initialized or will be initialized to zero(Different compilers and compilation parameters behave differently.). This may lead to a division by zero error when executing the code "dtr = tp(1,1)*tp(2,2)-tp(1,2)*tp(2,1)" in init_trim.F.

If the keyword does not exist in the cfl3d.inp file, the variable tp will not be initialized or will be initialized to zero(Different compilers and compilation parameters behave differently.). This may lead to a division by zero error when executing the code "dtr = tp(1,1)*tp(2,2)-tp(1,2)*tp(2,1)" in init_trim.F.
@sundae91
Copy link

sundae91 commented Jun 3, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants