2 from qpms
.symmetries
import point_group_info
4 codestring
= "#include <qpms/groups.h>\n"
5 for name
in sorted(point_group_info
.keys()):
6 info
= point_group_info
[name
]
7 codestring
+= 'const qpms_finite_group_t QPMS_FINITE_GROUP_%s = ' %name
8 codestring
+= info
.generate_c_source()