def write_cyc(fn, this, conv=<NUM_LIT:1.0>):
lattice = this.get_cell()<EOL>f = paropen(fn, "<STR_LIT:w>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:0>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:0>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:0>]*conv))<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:1>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:1>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:1>]*conv))<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:2>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:2>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:2>]*conv))<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:0>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:0>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:0>]*conv))<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:1>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:1>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:1>]*conv))<EOL>f.write("<STR_LIT>" % (lattice[<NUM_LIT:0>][<NUM_LIT:2>]*conv, lattice[<NUM_LIT:1>][<NUM_LIT:2>]*conv, lattice[<NUM_LIT:2>][<NUM_LIT:2>]*conv))<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.write("<STR_LIT>")<EOL>f.close()<EOL>
Write the lattice information to a cyc.dat file (i.e., tblmd input file)