# Set up the header
outFile.write("PGEOMETRY V2\n")
outFile.write("NPoints 1 NPrims 1\n")
outFile.write("NPointGroups 0 NPrimGroups 0\n")
outFile.write("NPointAttrib 0 NVertexAttrib 0 NPrimAttrib 0 NAttrib 0\n\n")

# Write a single point at 0,0,0
outFile.write("0 0 0 1\n")

# Set up the volume
outFile.write("Volume 0 %d 0 0 0 %d 0 0 0 %d -2 %d %d %d constant 0 0 smoke 0 1\n" % (resX, resY, resZ, resX, resY, resZ))


