CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

compile warning: array subscript is above array bounds

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2013, 00:54
Default compile warning: array subscript is above array bounds
  #1
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Hi,

When I compile the source, I got this warning.

In grid_movement_structure.hpp, line 680:
680 double Klin_mat[4][4];

but in grid_movement_structure.cpp, line 460-465:
iVar=0,1,2
jVar=0,1,2
Klin_mat[iVar+3][jVar+3] is Klin_mat[5][5]

Regards,

Cean
shirazbj is offline   Reply With Quote

Old   February 1, 2013, 01:40
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Thanks for the heads up, Cean. Just changed this in the source code, .
economon is offline   Reply With Quote

Old   February 1, 2013, 02:39
Default
  #3
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Does this affect my open-rotor case?

could I get a copy of this new files?

ceanwang@gmail.com

Thx
shirazbj is offline   Reply With Quote

Old   February 4, 2013, 23:58
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
No worries, this change will not affect your simulation.

Anyway, we are gonna upload every month a SU2 version-of-the-month.

Cheers,
Francisco
fpalacios is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 12:13.