QPMS
Electromagnetic multiple scattering library and toolkit.
Loading...
Searching...
No Matches
Variables
finitegroups_data.c File Reference

Numerical data of the finite point groups (generated; do not edit). More...

#include "groups.h"
#include <complex.h>
Include dependency graph for finitegroups_data.c:

Variables

static const qpms_finite_group_t sspec_group_trivial_g
 
static const qpms_finite_group_t sspec_group_x_and_z_flip
 
static const qpms_finite_group_t sspec_group_y_and_z_flip
 
const qpms_finite_group_table_entry_t sspec_finite_group_table []
 
const size_t sspec_finite_group_table_len
 

Detailed Description

Numerical data of the finite point groups (generated; do not edit).

Generated by misc/codegen_finitegroups.py; contains only the trivial group and the two auxiliary reflection groups — all the proper point groups live in finitegroups_data_ext.c (2026-11-02). Committed to the repository so that pure C code can use the groups without a Python dependency. Regenerate the file with the script whenever symmetries.py changes.

In the future this data is intended to be replaced by an external symmetry library (spglib, Gemmi, libmsym, ...; subject to review); the qpms_finite_group_t interface (groups.h) stays the same.

The name lookup over this table (and over the companion table in finitegroups_data_ext.c) lives in qpms/finitegroups.c.

Variable Documentation

◆ sspec_finite_group_table

const qpms_finite_group_table_entry_t sspec_finite_group_table[]
Initial value:
= {
{ "trivial_g", &sspec_group_trivial_g },
{ "x_and_z_flip", &sspec_group_x_and_z_flip },
{ "y_and_z_flip", &sspec_group_y_and_z_flip },
{ "trivial", &QPMS_FINITE_GROUP_TRIVIAL },
{ "C1", &sspec_group_trivial_g },
}
const qpms_finite_group_t QPMS_FINITE_GROUP_TRIVIAL
Trivial group.
Definition trivialgroup.c:41

◆ sspec_finite_group_table_len

const size_t sspec_finite_group_table_len
Initial value:
=
sizeof(sspec_finite_group_table) / sizeof(sspec_finite_group_table[0])

◆ sspec_group_trivial_g

const qpms_finite_group_t sspec_group_trivial_g
static
Initial value:
=
{
"trivial_g",
1,
0,
(qpms_gmi_t[]) {
0,
},
(qpms_gmi_t[]) {
0
},
(qpms_gmi_t[]) {0},
1,
"()",
},
NULL,
0,
(qpms_irot3_t[]) {
{{1.0+0.0*I, 0.0+0.0*I}, 1},
},
1,
{
1,
"A",
(complex double []) {1}
},
}
}
int qpms_gmi_t
Finite group member index. See also groups.h.
Definition qpms_types.h:325
const char * qpms_permutation_t
Permutation representation of a group element.
Definition qpms_types.h:335
To be used only in qpms_finite_group_t.
Definition groups.h:34
3D improper rotations represented as a quaternion and a sign of the determinant.
Definition qpms_types.h:280