def write_xyz_tm4(ofile, c):
    """ Write the Crys in .xyz tilor-made 4 file format for Well's program"""
    print('****PRINTING .xyz TAILOR-MADE4 FOR Qeq program by B.Wells***',
        file=ofile)
    print('      FRAC       %.5f  %.5f  %.5f  %.3f  %.3f  %.3f  ' % (c.
        length[0], c.length[1], c.length[2], c.angle_deg[0], c.angle_deg[1],
        c.angle_deg[2]), file=ofile)
    print('%d' % c.natom, file=ofile)
    for i in range(c.natom):
        print('%3s %9.5f %9.5f %9.5f ' % (c.atom_element[i], c.atom_fract[i
            ][0], c.atom_fract[i][1], c.atom_fract[i][2]), file=ofile)
