Fix saving lists of arrays with recent versions of numpy
[qpms.git] / qpms / trivialgroup.c
blobf5dd2869de2898ae9cf9fb0799904f9b885adb97
1 #include "groups.h"
3 /// Trivial group, with one (reduntant) generator.
4 /**
5 * For the trivial group, zero generators are enough.
6 * However, some functions might be not robust enough and require
7 * a first generator to work properly.
8 */
9 const qpms_finite_group_t QPMS_FINITE_GROUP_TRIVIAL_G = {
10 "trivial_g", // name
11 1, // order
12 0, // idi
13 (qpms_gmi_t[]) { // mt
16 (qpms_gmi_t[]) { // invi
19 (qpms_gmi_t[]) {0}, // gens
20 1, // ngens
21 (qpms_permutation_t[]){ // permrep
22 "()",
24 NULL, // elemlabels
25 0, // permrep_nelem
26 (qpms_irot3_t[]) { // rep3d
27 {{1.0+0.0*I, 0.0+0.0*I}, 1},
29 1, // nirreps
30 (struct qpms_finite_group_irrep_t[]) { // irreps
32 1, // dim
33 "A", //name
34 (complex double []) {1} // m
36 } // end of irreps
39 /// Trivial group.
40 const qpms_finite_group_t QPMS_FINITE_GROUP_TRIVIAL = {
41 "trivial", // name
42 1, // order
43 0, // idi
44 (qpms_gmi_t[]) { // mt
47 (qpms_gmi_t[]) { // invi
50 NULL, // gens
51 0, // ngens
52 (qpms_permutation_t[]){ // permrep
53 "()",
55 NULL, // elemlabels
56 0, // permrep_nelem
57 (qpms_irot3_t[]) { // rep3d
58 {{1.0+0.0*I, 0.0+0.0*I}, 1},
60 1, // nirreps
61 (struct qpms_finite_group_irrep_t[]) { // irreps
63 1, // dim
64 "A", //name
65 (complex double []) {1} // m
67 } // end of irreps