CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > 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 Display Modes
Old   January 31, 2013, 01:54
Default compile warning: array subscript is above array bounds
  #1
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 7
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, 02:40
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
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, 03:39
Default
  #3
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 7
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 5, 2013, 00:58
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Stanford, CA
Posts: 301
Rep Power: 5
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 98 October 18, 2014 15:43
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


All times are GMT -4. The time now is 03:06.