Loading SubKit/build/genDeck.py +1 −3 Original line number Diff line number Diff line Loading @@ -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=[] Loading Loading
SubKit/build/genDeck.py +1 −3 Original line number Diff line number Diff line Loading @@ -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=[] Loading