Commit 52920f76 authored by Gurecky, William's avatar Gurecky, William
Browse files

only write card 1.5 if the model is nodal and vera hdf5 edits are requested

parent f461e635
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -115,11 +115,9 @@ def writeDeck(model, filename):
   group1Data.append("*Card 1.4\n")
   group1Data.append("**GTP(1)   VFRAC(3)  GTP(2) VFRAC(4)  GTP(3) VFRAC(5)  GTP(4) VFRAC(6)\n")
   group1Data.append("     air     0.0001\n")
   group1Data.append("*Card 1.5\n")
   if model.editOptions['hdf5'] == True and model.is_nodal:
      group1Data.append("*Card 1.5\n")
      group1Data.append("     {nodal_model}     1\n")
   else:
      group1Data.append("     {nodal_model}     0\n")

   # The Card Group 2 data to be written to the deck
   group2Data=[]