Changeset 3491


Ignore:
Timestamp:
21/02/08 13:52:38 (12 years ago)
Author:
astephen
Message:

Tidied up the code after reverting to NAUXV and A correction

Location:
nappy/trunk/nappy/na_file
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/na_file/na_file_2110.py

    r3489 r3491  
    118118            # Write unbounded independent variable mark and auxiliary variables 
    119119            var_string = self.format % self.X[m][0] 
    120             #############var_string = var_string + (self.format % self.NX[m]) 
    121120 
    122             ################ Loop through aux vars minus 1 because NX is used as first aux var 
     121            # Loop through aux vars which includes NX as first aux var 
    123122            for a in range(self.NAUXV):  
    124123                var_string = var_string + (self.format % self.A[a][m]) 
  • nappy/trunk/nappy/na_file/na_file_2310.py

    r3489 r3491  
    9999            var_string = self.format % self.X[m][0] 
    100100 
    101             #############var_string = var_string + (self.format % self.NX[m]) + (self.format % self.X[m][0]) + \ 
    102             ################                          (self.format % self.DX[m]) 
    103  
    104             ################  Loop through NAUXV minus 3 because NX, X[0], DX are first 3 aux vars 
     101            #  Loop through NAUXV which includes NX, X[0], DX as first 3 aux vars 
    105102            for a in range(self.NAUXV): 
    106103                var_string = var_string + (self.format % self.A[a][m]) 
Note: See TracChangeset for help on using the changeset viewer.