mp121209 / datcom-gui

Automatically exported from code.google.com/p/datcom-gui
0 stars 0 forks source link

Fixing decimal points requirements #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All input into the text fields should be in double format.  The user
shouldn't have to make sure that each value is typed correctly. 

A small global class/function should be created to error check and correct
the user's input. 

Care should be taken on the angle of attack (alpha schedule) text field,
altitudes, and machs as those can have more than one decimal value in there
(separated by commas). 

The BODY class, should be excluded from this error checking at this time.

Original issue reported on code.google.com by alekseymatyushev on 23 Sep 2009 at 1:18

GoogleCodeExporter commented 9 years ago
Upping the priority.

Original comment by reckless063 on 23 Sep 2009 at 6:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed the issue, see check-in 
(http://code.google.com/p/datcom-gui/source/detail?r=10) 
notes for more information. Verified that it works, only possible issue is that 
I 
applied it to ALL inputs, not sure which need decimals and which don't. Reopen 
if I 
goofed..

Original comment by reckless063 on 24 Sep 2009 at 4:30

GoogleCodeExporter commented 9 years ago
The function in utilities needs to be overloaded for a string of multiple 
values such 
as "1,2,3,4,5,6,". 

Also the parameters that need to be stored in the array for that namelist 
(FLTCONarray) need to be stored with heading such as (GAMMA=1.0, 
ALPHA=1.0,2.0,3.0) 
so that they appear this way in input file.  As a result the correction for 
decimal 
place needs to be done before so that the labels ("GAMMA=") are added after the 
decimal places have been fixed.

I will be here all day...come up and visit if you have questions.

Original comment by alekseymatyushev on 24 Sep 2009 at 12:48

GoogleCodeExporter commented 9 years ago
See check-in description. http://code.google.com/p/datcom-gui/source/detail?r=11

Still need to go back through and decide which fields needs to be altered 
(formatted) 
and which do not.

Let me know what you think! 

Original comment by reckless063 on 25 Sep 2009 at 3:07

GoogleCodeExporter commented 9 years ago

Original comment by reckless063 on 13 Oct 2009 at 6:39