umvarma / pynastran

Automatically exported from code.google.com/p/pynastran
1 stars 0 forks source link

missing * when writing GRIDs in long field format #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using bdf.write_bdf method for grids with long field format omits the required 
'*' after 'GRID'.

e.g.,

    |
    |
    v
GRID                   4                              2.              1.
*                     1.                                                

Should be:

    |
    |
    v
GRID*                  4                              2.              1.
*                     1.                                                

What version of the product are you using? On what operating system?  

development version (r2265) on Windows 7

Please provide any additional information below.

Patch is attached.

Original issue reported on code.google.com by jeffrey....@gmail.com on 1 Oct 2014 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
The patch has been applied.

Note that the reason the code stopped working is a new method to write the GRID 
cards was implemented.  It makes use of known types and is faster.

Also, a bug fix to large field floats (size=16, double=False) has been applied. 
 The 0.0 case was being written in scientific notation as ".-0".  This did not 
affect size=8/double=False or size=16/double=True cases.

Original comment by mesheb82 on 1 Oct 2014 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by mesheb82 on 1 Oct 2014 at 11:24