symcrys 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/cell.d.ts +19 -16
- package/dist/cell.d.ts.map +1 -1
- package/dist/cell.js +63 -35
- package/dist/cell.js.map +1 -1
- package/dist/checks.d.ts +29 -0
- package/dist/checks.d.ts.map +1 -0
- package/dist/checks.js +79 -0
- package/dist/checks.js.map +1 -0
- package/dist/closure.d.ts +43 -0
- package/dist/closure.d.ts.map +1 -0
- package/dist/closure.js +201 -0
- package/dist/closure.js.map +1 -0
- package/dist/crystalClasses.d.ts +145 -117
- package/dist/crystalClasses.d.ts.map +1 -1
- package/dist/crystalClasses.js +161 -121
- package/dist/crystalClasses.js.map +1 -1
- package/dist/freeze.d.ts +7 -0
- package/dist/freeze.d.ts.map +1 -0
- package/dist/freeze.js +15 -0
- package/dist/freeze.js.map +1 -0
- package/dist/index.d.ts +11 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/indices.d.ts +31 -5
- package/dist/indices.d.ts.map +1 -1
- package/dist/indices.js +104 -13
- package/dist/indices.js.map +1 -1
- package/dist/lattice.d.ts +15 -1
- package/dist/lattice.d.ts.map +1 -1
- package/dist/lattice.js +30 -1
- package/dist/lattice.js.map +1 -1
- package/dist/linalg.d.ts +2 -2
- package/dist/linalg.d.ts.map +1 -1
- package/dist/linalg.js +3 -3
- package/dist/linalg.js.map +1 -1
- package/dist/magnetic.d.ts +12 -10
- package/dist/magnetic.d.ts.map +1 -1
- package/dist/magnetic.js +8 -6
- package/dist/magnetic.js.map +1 -1
- package/dist/notation.d.ts +16 -0
- package/dist/notation.d.ts.map +1 -0
- package/dist/notation.js +66 -0
- package/dist/notation.js.map +1 -0
- package/dist/operations.d.ts +40 -26
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +48 -60
- package/dist/operations.js.map +1 -1
- package/dist/plane.d.ts +141 -79
- package/dist/plane.d.ts.map +1 -1
- package/dist/plane.js +147 -77
- package/dist/plane.js.map +1 -1
- package/dist/pointGroups/crystalForms.d.ts +6 -21
- package/dist/pointGroups/crystalForms.d.ts.map +1 -1
- package/dist/pointGroups/crystalForms.js +9 -16
- package/dist/pointGroups/crystalForms.js.map +1 -1
- package/dist/pointGroups/crystalFormsData.d.ts +4 -1
- package/dist/pointGroups/crystalFormsData.d.ts.map +1 -1
- package/dist/pointGroups/crystalFormsData.js +64 -1
- package/dist/pointGroups/crystalFormsData.js.map +1 -1
- package/dist/pointGroups/elements.d.ts +19 -17
- package/dist/pointGroups/elements.d.ts.map +1 -1
- package/dist/pointGroups/elements.js +65 -83
- package/dist/pointGroups/elements.js.map +1 -1
- package/dist/pointGroups/identify.d.ts +10 -18
- package/dist/pointGroups/identify.d.ts.map +1 -1
- package/dist/pointGroups/identify.js +27 -79
- package/dist/pointGroups/identify.js.map +1 -1
- package/dist/pointGroups/itaOrder.d.ts +15 -14
- package/dist/pointGroups/itaOrder.d.ts.map +1 -1
- package/dist/pointGroups/itaOrder.js +116 -94
- package/dist/pointGroups/itaOrder.js.map +1 -1
- package/dist/pointGroups/itcData.d.ts +96 -0
- package/dist/pointGroups/itcData.d.ts.map +1 -0
- package/dist/pointGroups/itcData.js +336 -0
- package/dist/pointGroups/itcData.js.map +1 -0
- package/dist/pointGroups/itcMagneticData.d.ts +55 -0
- package/dist/pointGroups/itcMagneticData.d.ts.map +1 -0
- package/dist/pointGroups/itcMagneticData.js +172 -0
- package/dist/pointGroups/itcMagneticData.js.map +1 -0
- package/dist/pointGroups/keys.d.ts +32 -0
- package/dist/pointGroups/keys.d.ts.map +1 -0
- package/dist/pointGroups/keys.js +120 -0
- package/dist/pointGroups/keys.js.map +1 -0
- package/dist/pointGroups/magneticSymbols.d.ts +6 -5
- package/dist/pointGroups/magneticSymbols.d.ts.map +1 -1
- package/dist/pointGroups/magneticSymbols.js +15 -12
- package/dist/pointGroups/magneticSymbols.js.map +1 -1
- package/dist/pointGroups/orbits.d.ts +23 -42
- package/dist/pointGroups/orbits.d.ts.map +1 -1
- package/dist/pointGroups/orbits.js +20 -62
- package/dist/pointGroups/orbits.js.map +1 -1
- package/dist/pointGroups/pointGroups.d.ts +135 -67
- package/dist/pointGroups/pointGroups.d.ts.map +1 -1
- package/dist/pointGroups/pointGroups.js +409 -244
- package/dist/pointGroups/pointGroups.js.map +1 -1
- package/dist/pointGroups/properties.d.ts +21 -22
- package/dist/pointGroups/properties.d.ts.map +1 -1
- package/dist/pointGroups/properties.js +40 -37
- package/dist/pointGroups/properties.js.map +1 -1
- package/dist/pointGroups/seitzData.d.ts +26 -0
- package/dist/pointGroups/seitzData.d.ts.map +1 -0
- package/dist/pointGroups/seitzData.js +130 -0
- package/dist/pointGroups/seitzData.js.map +1 -0
- package/dist/pointGroups/wyckoff.d.ts +70 -40
- package/dist/pointGroups/wyckoff.d.ts.map +1 -1
- package/dist/pointGroups/wyckoff.js +98 -91
- package/dist/pointGroups/wyckoff.js.map +1 -1
- package/dist/pointGroups/wyckoffData.d.ts +7 -4
- package/dist/pointGroups/wyckoffData.d.ts.map +1 -1
- package/dist/pointGroups/wyckoffData.js +789 -168
- package/dist/pointGroups/wyckoffData.js.map +1 -1
- package/dist/siteSymmetry.d.ts +8 -16
- package/dist/siteSymmetry.d.ts.map +1 -1
- package/dist/siteSymmetry.js +34 -24
- package/dist/siteSymmetry.js.map +1 -1
- package/dist/spaceGroups/affine.d.ts.map +1 -1
- package/dist/spaceGroups/affine.js +3 -2
- package/dist/spaceGroups/affine.js.map +1 -1
- package/dist/spaceGroups/cell.d.ts +43 -31
- package/dist/spaceGroups/cell.d.ts.map +1 -1
- package/dist/spaceGroups/cell.js +173 -85
- package/dist/spaceGroups/cell.js.map +1 -1
- package/dist/spaceGroups/describe.d.ts +12 -10
- package/dist/spaceGroups/describe.d.ts.map +1 -1
- package/dist/spaceGroups/describe.js +11 -10
- package/dist/spaceGroups/describe.js.map +1 -1
- package/dist/spaceGroups/planeGroupData.d.ts +1 -1
- package/dist/spaceGroups/planeGroupData.d.ts.map +1 -1
- package/dist/spaceGroups/planeGroupData.js +8 -8
- package/dist/spaceGroups/planeGroupData.js.map +1 -1
- package/dist/spaceGroups/planeGroups.d.ts.map +1 -1
- package/dist/spaceGroups/planeGroups.js +2 -1
- package/dist/spaceGroups/planeGroups.js.map +1 -1
- package/dist/spaceGroups/positions.d.ts +48 -19
- package/dist/spaceGroups/positions.d.ts.map +1 -1
- package/dist/spaceGroups/positions.js +166 -67
- package/dist/spaceGroups/positions.js.map +1 -1
- package/dist/tensors/propertyTable.d.ts +3 -1
- package/dist/tensors/propertyTable.d.ts.map +1 -1
- package/dist/tensors/propertyTable.js +17 -10
- package/dist/tensors/propertyTable.js.map +1 -1
- package/dist/tensors/rowEchelon.d.ts +3 -3
- package/dist/tensors/rowEchelon.d.ts.map +1 -1
- package/dist/tensors/rowEchelon.js +4 -4
- package/dist/tensors/rowEchelon.js.map +1 -1
- package/dist/tensors/tensorForm.d.ts +75 -34
- package/dist/tensors/tensorForm.d.ts.map +1 -1
- package/dist/tensors/tensorForm.js +171 -67
- package/dist/tensors/tensorForm.js.map +1 -1
- package/dist/tensors/tensorProperties.d.ts +10 -9
- package/dist/tensors/tensorProperties.d.ts.map +1 -1
- package/dist/tensors/tensorProperties.js +22 -12
- package/dist/tensors/tensorProperties.js.map +1 -1
- package/dist/tolerances.d.ts +56 -1
- package/dist/tolerances.d.ts.map +1 -1
- package/dist/tolerances.js +51 -1
- package/dist/tolerances.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/cell.ts +78 -51
- package/src/checks.ts +84 -0
- package/src/closure.ts +214 -0
- package/src/crystalClasses.ts +232 -157
- package/src/freeze.ts +14 -0
- package/src/index.ts +21 -10
- package/src/indices.ts +108 -18
- package/src/lattice.ts +41 -1
- package/src/linalg.ts +3 -3
- package/src/magnetic.ts +14 -9
- package/src/notation.ts +73 -0
- package/src/operations.ts +78 -71
- package/src/plane.ts +253 -127
- package/src/pointGroups/crystalForms.ts +11 -44
- package/src/pointGroups/crystalFormsData.ts +66 -1
- package/src/pointGroups/elements.ts +82 -92
- package/src/pointGroups/identify.ts +38 -97
- package/src/pointGroups/itaOrder.ts +117 -101
- package/src/pointGroups/itcData.ts +404 -0
- package/src/pointGroups/itcMagneticData.ts +206 -0
- package/src/pointGroups/keys.ts +144 -0
- package/src/pointGroups/magneticSymbols.ts +18 -17
- package/src/pointGroups/orbits.ts +41 -89
- package/src/pointGroups/pointGroups.ts +540 -297
- package/src/pointGroups/properties.ts +44 -40
- package/src/pointGroups/seitzData.ts +147 -0
- package/src/pointGroups/wyckoff.ts +137 -112
- package/src/pointGroups/wyckoffData.ts +793 -170
- package/src/siteSymmetry.ts +43 -40
- package/src/spaceGroups/affine.ts +3 -2
- package/src/spaceGroups/cell.ts +227 -116
- package/src/spaceGroups/describe.ts +22 -19
- package/src/spaceGroups/planeGroupData.ts +9 -9
- package/src/spaceGroups/planeGroups.ts +2 -1
- package/src/spaceGroups/positions.ts +202 -78
- package/src/tensors/propertyTable.ts +26 -14
- package/src/tensors/rowEchelon.ts +4 -3
- package/src/tensors/tensorForm.ts +258 -88
- package/src/tensors/tensorProperties.ts +34 -14
- package/src/tolerances.ts +66 -1
- package/src/version.ts +1 -1
- package/dist/pointGroups/data.d.ts +0 -75
- package/dist/pointGroups/data.d.ts.map +0 -1
- package/dist/pointGroups/data.js +0 -212
- package/dist/pointGroups/data.js.map +0 -1
- package/dist/pointGroups/magneticData.d.ts +0 -66
- package/dist/pointGroups/magneticData.d.ts.map +0 -1
- package/dist/pointGroups/magneticData.js +0 -184
- package/dist/pointGroups/magneticData.js.map +0 -1
- package/dist/spaceGroups/snap.d.ts +0 -20
- package/dist/spaceGroups/snap.d.ts.map +0 -1
- package/dist/spaceGroups/snap.js +0 -103
- package/dist/spaceGroups/snap.js.map +0 -1
- package/src/pointGroups/data.ts +0 -305
- package/src/pointGroups/magneticData.ts +0 -328
- package/src/spaceGroups/snap.ts +0 -121
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The 90 magnetic point groups with time reversal as data: the 32 grey groups (type II) and the 58
|
|
3
|
-
* black-and-white groups (type III). With the 32 crystal classes (type I, data.ts) they are the 122
|
|
4
|
-
* magnetic point groups.
|
|
5
|
-
*
|
|
6
|
-
* A grey group is its crystal class P together with all operations of P combined with time
|
|
7
|
-
* reversal (ITC Vol. D, eq. (1.5.2.1)); its data follow from the class. A black-and-white group is
|
|
8
|
-
* stored like a class: generators in the stored (Birss) frame, here those of birss-app, and the
|
|
9
|
-
* frames of its settings. The symbols of a setting are not stored: they are the symbols of the
|
|
10
|
-
* crystal class in that frame with the primes the operations carry (magneticSymbols.ts).
|
|
11
|
-
* Print anchors and their tests: docs/conventions.md, "Sources".
|
|
12
|
-
*/
|
|
13
|
-
import { IDENTITY, INVERSION } from '../linalg.js';
|
|
14
|
-
import { operation } from '../operations.js';
|
|
15
|
-
import { MIRROR_X, MIRROR_Y, MIRROR_Z, MONOCLINIC_B, ORTHO_SWAP, ORTHO_TO_A, ORTHO_TO_A_SWAP, ORTHO_TO_B, ORTHO_TO_B_SWAP, POINT_GROUP_DATA, POINT_GROUP_KEYS, ROT2_X, ROT2_Y, ROT2_Z, ROT30_Z, ROT3_111, ROT3_Z, ROT45_Z, ROT4_Z, ROT6_Z, ROTINV4_Z, ROTINV6_Z, SAME, } from './data.js';
|
|
16
|
-
export const GREY_POINT_GROUP_KEYS = Object.freeze(POINT_GROUP_KEYS.map((key) => `${key}1'`));
|
|
17
|
-
/**
|
|
18
|
-
* Keys of the 58 black-and-white groups: the short Hermann–Mauguin symbol of ITC Vol. D
|
|
19
|
-
* Table 1.5.2.3, in the order of the table (docs/conventions.md, "Keys").
|
|
20
|
-
*/
|
|
21
|
-
export const BLACK_WHITE_POINT_GROUP_KEYS = Object.freeze([
|
|
22
|
-
"-1'",
|
|
23
|
-
"2'",
|
|
24
|
-
"m'",
|
|
25
|
-
"2'/m'",
|
|
26
|
-
"2/m'",
|
|
27
|
-
"2'/m",
|
|
28
|
-
"2'2'2",
|
|
29
|
-
"m'm'2",
|
|
30
|
-
"2'm'm",
|
|
31
|
-
"mm'm'",
|
|
32
|
-
"m'm'm'",
|
|
33
|
-
"mmm'",
|
|
34
|
-
"4'",
|
|
35
|
-
"-4'",
|
|
36
|
-
"4'/m",
|
|
37
|
-
"4/m'",
|
|
38
|
-
"4'/m'",
|
|
39
|
-
"4'22'",
|
|
40
|
-
"42'2'",
|
|
41
|
-
"4'mm'",
|
|
42
|
-
"4m'm'",
|
|
43
|
-
"-4'2m'",
|
|
44
|
-
"-4'm2'",
|
|
45
|
-
"-42'm'",
|
|
46
|
-
"4'/mmm'",
|
|
47
|
-
"4/mm'm'",
|
|
48
|
-
"4/m'm'm'",
|
|
49
|
-
"4/m'mm",
|
|
50
|
-
"4'/m'm'm",
|
|
51
|
-
"-3'",
|
|
52
|
-
"32'",
|
|
53
|
-
"3m'",
|
|
54
|
-
"-3m'",
|
|
55
|
-
"-3'm'",
|
|
56
|
-
"-3'm",
|
|
57
|
-
"6'",
|
|
58
|
-
"-6'",
|
|
59
|
-
"6'/m'",
|
|
60
|
-
"6/m'",
|
|
61
|
-
"6'/m",
|
|
62
|
-
"6'22'",
|
|
63
|
-
"62'2'",
|
|
64
|
-
"6'mm'",
|
|
65
|
-
"6m'm'",
|
|
66
|
-
"-6'2m'",
|
|
67
|
-
"-6'm2'",
|
|
68
|
-
"-6m'2'",
|
|
69
|
-
"6'/m'mm'",
|
|
70
|
-
"6/mm'm'",
|
|
71
|
-
"6/m'm'm'",
|
|
72
|
-
"6/m'mm",
|
|
73
|
-
"6'/mmm'",
|
|
74
|
-
"m'-3'",
|
|
75
|
-
"4'32'",
|
|
76
|
-
"-4'3m'",
|
|
77
|
-
"m-3m'",
|
|
78
|
-
"m'-3'm'",
|
|
79
|
-
"m'-3'm",
|
|
80
|
-
]);
|
|
81
|
-
/**
|
|
82
|
-
* Keys of the 122 magnetic point groups: the 32 crystal classes (white groups), the 32 grey groups
|
|
83
|
-
* and the 58 black-and-white groups, in this order (docs/conventions.md, "Keys").
|
|
84
|
-
*/
|
|
85
|
-
export const MAGNETIC_POINT_GROUP_KEYS = Object.freeze([
|
|
86
|
-
...POINT_GROUP_KEYS,
|
|
87
|
-
...GREY_POINT_GROUP_KEYS,
|
|
88
|
-
...BLACK_WHITE_POINT_GROUP_KEYS,
|
|
89
|
-
]);
|
|
90
|
-
/** Time reversal alone: the identity combined with time reversal (1'). */
|
|
91
|
-
export const TIME_REVERSAL = Object.freeze({ matrix: IDENTITY, timeReversal: true });
|
|
92
|
-
/** An operation combined with time reversal (a primed operation). */
|
|
93
|
-
const primed = (matrix) => ({ matrix, timeReversal: true });
|
|
94
|
-
function blackWhite(key, crystalClass, schoenflies, generators, frames, itcDefault = 1, uniqueAxes) {
|
|
95
|
-
const settings = frames.map((frame, i) => uniqueAxes ? { frame, uniqueAxis: uniqueAxes[i] } : { frame });
|
|
96
|
-
return { key, crystalClass, schoenflies, generators, settings, itcDefault };
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* The 58 black-and-white groups. The generators are birss-app's (CLAUDE.md, "birss-app is the
|
|
100
|
-
* reference where print leaves a choice open"); the group they generate is checked against Birss's
|
|
101
|
-
* Table 6 and against ITC Vol. D Table 1.5.2.3. Setting frames as for the classes (data.ts), with three more for `2'm'm`; the
|
|
102
|
-
* ITC default is the frame in which the key, read along ITA's symmetry directions, describes the
|
|
103
|
-
* group, which is the frame of the operators printed in Table 1.5.2.3.
|
|
104
|
-
*/
|
|
105
|
-
export const BLACK_WHITE_DATA = [
|
|
106
|
-
blackWhite("-1'", '-1', 'Ci(C1)', [primed(INVERSION)], [SAME]),
|
|
107
|
-
blackWhite("2'", '2', 'C2(C1)', [primed(ROT2_Z)], [SAME, MONOCLINIC_B], 2, ['c', 'b']),
|
|
108
|
-
blackWhite("m'", 'm', 'Cs(C1)', [primed(MIRROR_Z)], [SAME, MONOCLINIC_B], 2, ['c', 'b']),
|
|
109
|
-
blackWhite("2'/m'", '2/m', 'C2h(Ci)', [primed(ROT2_Z), operation(INVERSION)], [SAME, MONOCLINIC_B], 2, ['c', 'b']),
|
|
110
|
-
blackWhite("2/m'", '2/m', 'C2h(C2)', [operation(ROT2_Z), primed(INVERSION)], [SAME, MONOCLINIC_B], 2, ['c', 'b']),
|
|
111
|
-
blackWhite("2'/m", '2/m', 'C2h(Cs)', [primed(ROT2_Z), primed(INVERSION)], [SAME, MONOCLINIC_B], 2, ['c', 'b']),
|
|
112
|
-
blackWhite("2'2'2", '222', 'D2(C2)', [operation(ROT2_Z), primed(ROT2_X)], [SAME, ORTHO_TO_A, ORTHO_TO_B], 1, [
|
|
113
|
-
'c',
|
|
114
|
-
'a',
|
|
115
|
-
'b',
|
|
116
|
-
]),
|
|
117
|
-
blackWhite("m'm'2", 'mm2', 'C2v(C2)', [operation(ROT2_Z), primed(MIRROR_X)], [SAME, ORTHO_TO_A, ORTHO_TO_B], 1, [
|
|
118
|
-
'c',
|
|
119
|
-
'a',
|
|
120
|
-
'b',
|
|
121
|
-
]),
|
|
122
|
-
// Its three elements all differ, so exchanging two axes gives another orientation: six settings.
|
|
123
|
-
// Settings 1 to 3 are birss-app's; 4 to 6 exchange the other two axes at the same unique axis.
|
|
124
|
-
blackWhite("2'm'm", 'mm2', 'C2v(Cs)', [operation(MIRROR_Z), primed(ROT2_X)], [SAME, ORTHO_TO_A, ORTHO_TO_B, ORTHO_SWAP, ORTHO_TO_A_SWAP, ORTHO_TO_B_SWAP], 1, ['c', 'a', 'b', 'c', 'a', 'b']),
|
|
125
|
-
blackWhite("mm'm'", 'mmm', 'D2h(C2h)', [operation(ROT2_Z), operation(INVERSION), primed(ROT2_X)], [SAME, ORTHO_TO_A, ORTHO_TO_B], 2, ['c', 'a', 'b']),
|
|
126
|
-
blackWhite("m'm'm'", 'mmm', 'D2h(D2)', [operation(ROT2_Z), operation(ROT2_X), primed(INVERSION)], [SAME]),
|
|
127
|
-
blackWhite("mmm'", 'mmm', 'D2h(C2v)', [operation(ROT2_Z), operation(MIRROR_X), primed(INVERSION)], [SAME, ORTHO_TO_A, ORTHO_TO_B], 1, ['c', 'a', 'b']),
|
|
128
|
-
blackWhite("4'", '4', 'C4(C2)', [primed(ROT4_Z)], [SAME]),
|
|
129
|
-
blackWhite("-4'", '-4', 'S4(C2)', [primed(ROTINV4_Z)], [SAME]),
|
|
130
|
-
blackWhite("4'/m", '4/m', 'C4h(C2h)', [primed(ROT4_Z), operation(INVERSION)], [SAME]),
|
|
131
|
-
blackWhite("4/m'", '4/m', 'C4h(C4)', [operation(ROT4_Z), primed(INVERSION)], [SAME]),
|
|
132
|
-
blackWhite("4'/m'", '4/m', 'C4h(S4)', [primed(ROT4_Z), primed(INVERSION)], [SAME]),
|
|
133
|
-
blackWhite("4'22'", '422', 'D4(D2)', [primed(ROT4_Z), operation(ROT2_X)], [SAME, ROT45_Z]),
|
|
134
|
-
blackWhite("42'2'", '422', 'D4(C4)', [operation(ROT4_Z), primed(ROT2_X)], [SAME]),
|
|
135
|
-
blackWhite("4'mm'", '4mm', 'C4v(C2v)', [primed(ROT4_Z), operation(MIRROR_X)], [SAME, ROT45_Z]),
|
|
136
|
-
blackWhite("4m'm'", '4mm', 'C4v(C4)', [operation(ROT4_Z), primed(MIRROR_X)], [SAME]),
|
|
137
|
-
blackWhite("-4'2m'", '-42m', 'D2d(D2)', [primed(ROTINV4_Z), operation(ROT2_X)], [SAME, ROT45_Z]),
|
|
138
|
-
blackWhite("-4'm2'", '-42m', 'D2d(C2v)', [primed(ROTINV4_Z), operation(MIRROR_Y)], [SAME, ROT45_Z]),
|
|
139
|
-
blackWhite("-42'm'", '-42m', 'D2d(S4)', [operation(ROTINV4_Z), primed(ROT2_X)], [SAME, ROT45_Z]),
|
|
140
|
-
blackWhite("4'/mmm'", '4/mmm', 'D4h(D2h)', [primed(ROT4_Z), operation(ROT2_X), operation(INVERSION)], [SAME, ROT45_Z]),
|
|
141
|
-
blackWhite("4/mm'm'", '4/mmm', 'D4h(C4h)', [operation(ROT4_Z), operation(INVERSION), primed(ROT2_X)], [SAME]),
|
|
142
|
-
blackWhite("4/m'm'm'", '4/mmm', 'D4h(D4)', [operation(ROT4_Z), operation(ROT2_X), primed(INVERSION)], [SAME]),
|
|
143
|
-
blackWhite("4/m'mm", '4/mmm', 'D4h(C4v)', [operation(ROT4_Z), operation(MIRROR_X), primed(INVERSION)], [SAME]),
|
|
144
|
-
blackWhite("4'/m'm'm", '4/mmm', 'D4h(D2d)', [operation(ROTINV4_Z), operation(ROT2_Y), primed(INVERSION)], [SAME, ROT45_Z]),
|
|
145
|
-
blackWhite("-3'", '-3', 'C3i(C3)', [operation(ROT3_Z), primed(INVERSION)], [SAME]),
|
|
146
|
-
blackWhite("32'", '32', 'D3(C3)', [operation(ROT3_Z), primed(ROT2_Y)], [SAME, ROT30_Z], 2),
|
|
147
|
-
blackWhite("3m'", '3m', 'C3v(C3)', [operation(ROT3_Z), primed(MIRROR_Y)], [SAME, ROT30_Z], 2),
|
|
148
|
-
blackWhite("-3m'", '-3m', 'D3d(C3i)', [operation(ROT3_Z), operation(INVERSION), primed(ROT2_Y)], [SAME, ROT30_Z], 2),
|
|
149
|
-
blackWhite("-3'm'", '-3m', 'D3d(D3)', [operation(ROT3_Z), operation(ROT2_Y), primed(INVERSION)], [SAME, ROT30_Z], 2),
|
|
150
|
-
blackWhite("-3'm", '-3m', 'D3d(C3v)', [operation(ROT3_Z), operation(MIRROR_Y), primed(INVERSION)], [SAME, ROT30_Z], 2),
|
|
151
|
-
blackWhite("6'", '6', 'C6(C3)', [primed(ROT6_Z)], [SAME]),
|
|
152
|
-
blackWhite("-6'", '-6', 'C3h(C3)', [primed(ROTINV6_Z)], [SAME]),
|
|
153
|
-
blackWhite("6'/m'", '6/m', 'C6h(C3i)', [primed(ROT6_Z), operation(INVERSION)], [SAME]),
|
|
154
|
-
blackWhite("6/m'", '6/m', 'C6h(C6)', [operation(ROT6_Z), primed(INVERSION)], [SAME]),
|
|
155
|
-
blackWhite("6'/m", '6/m', 'C6h(C3h)', [primed(ROT6_Z), primed(INVERSION)], [SAME]),
|
|
156
|
-
blackWhite("6'22'", '622', 'D6(D3)', [primed(ROT6_Z), operation(ROT2_Y)], [SAME, ROT30_Z], 2),
|
|
157
|
-
blackWhite("62'2'", '622', 'D6(C6)', [operation(ROT6_Z), primed(ROT2_Y)], [SAME]),
|
|
158
|
-
blackWhite("6'mm'", '6mm', 'C6v(C3v)', [primed(ROT6_Z), operation(MIRROR_Y)], [SAME, ROT30_Z], 2),
|
|
159
|
-
blackWhite("6m'm'", '6mm', 'C6v(C6)', [operation(ROT6_Z), primed(MIRROR_Y)], [SAME]),
|
|
160
|
-
blackWhite("-6'2m'", '-6m2', 'D3h(D3)', [primed(ROTINV6_Z), operation(ROT2_Y)], [SAME, ROT30_Z], 2),
|
|
161
|
-
blackWhite("-6'm2'", '-6m2', 'D3h(C3v)', [primed(ROTINV6_Z), operation(MIRROR_Y)], [SAME, ROT30_Z], 2),
|
|
162
|
-
blackWhite("-6m'2'", '-6m2', 'D3h(C3h)', [operation(ROTINV6_Z), primed(MIRROR_Y)], [SAME, ROT30_Z], 2),
|
|
163
|
-
blackWhite("6'/m'mm'", '6/mmm', 'D6h(D3d)', [primed(ROT6_Z), operation(ROT2_Y), operation(INVERSION)], [SAME, ROT30_Z], 2),
|
|
164
|
-
blackWhite("6/mm'm'", '6/mmm', 'D6h(C6h)', [operation(ROT6_Z), operation(INVERSION), primed(ROT2_Y)], [SAME]),
|
|
165
|
-
blackWhite("6/m'm'm'", '6/mmm', 'D6h(D6)', [operation(ROT6_Z), operation(ROT2_Y), primed(INVERSION)], [SAME]),
|
|
166
|
-
blackWhite("6/m'mm", '6/mmm', 'D6h(C6v)', [operation(ROT6_Z), operation(MIRROR_Y), primed(INVERSION)], [SAME]),
|
|
167
|
-
blackWhite("6'/mmm'", '6/mmm', 'D6h(D3h)', [primed(ROT6_Z), operation(ROT2_Y), primed(INVERSION)], [SAME, ROT30_Z]),
|
|
168
|
-
blackWhite("m'-3'", 'm-3', 'Th(T)', [operation(ROT2_Z), operation(ROT2_X), operation(ROT3_111), primed(INVERSION)], [SAME]),
|
|
169
|
-
blackWhite("4'32'", '432', 'O(T)', [operation(ROT2_Z), operation(ROT2_X), operation(ROT3_111), primed(ROT4_Z)], [SAME]),
|
|
170
|
-
blackWhite("-4'3m'", '-43m', 'Td(T)', [operation(ROT2_Z), operation(ROT2_X), operation(ROT3_111), primed(ROTINV4_Z)], [SAME]),
|
|
171
|
-
blackWhite("m-3m'", 'm-3m', 'Oh(Th)', [operation(INVERSION), operation(ROT3_111), primed(ROT4_Z)], [SAME]),
|
|
172
|
-
blackWhite("m'-3'm'", 'm-3m', 'Oh(O)', [operation(ROT4_Z), operation(ROT3_111), primed(INVERSION)], [SAME]),
|
|
173
|
-
blackWhite("m'-3'm", 'm-3m', 'Oh(Td)', [operation(ROTINV4_Z), operation(ROT3_111), primed(INVERSION)], [SAME]),
|
|
174
|
-
];
|
|
175
|
-
/** Schoenflies symbol of a grey group: that of its class with the subscript R (ITC Vol. D, Table 1.5.2.1). */
|
|
176
|
-
export const greySchoenflies = (classSymbol) => `${classSymbol}R`;
|
|
177
|
-
/** The data of the crystal class with this key. */
|
|
178
|
-
export function classData(key) {
|
|
179
|
-
const d = POINT_GROUP_DATA.find((x) => x.key === key);
|
|
180
|
-
if (!d)
|
|
181
|
-
throw new RangeError(`Unknown crystal class: ${JSON.stringify(key)}`);
|
|
182
|
-
return d;
|
|
183
|
-
}
|
|
184
|
-
//# sourceMappingURL=magneticData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"magneticData.js","sourceRoot":"","sources":["../../src/pointGroups/magneticData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAa,MAAM,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,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IAC3G,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;CAC/G,CAAC;AAEF,8GAA8G;AAC9G,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAmB,EAAU,EAAE,CAAC,GAAG,WAAW,GAAG,CAAC;AAElF,mDAAmD;AACnD,MAAM,UAAU,SAAS,CAAC,GAAkB;IAC1C,MAAM,CAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;IACtD,IAAI,CAAC,CAAC;QAAE,MAAM,IAAI,UAAU,CAAC,0BAA0B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAC9E,OAAO,CAAC,CAAC;AACX,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Snapping a point of the plane onto the nearest Wyckoff position of a plane group, by the distance
|
|
3
|
-
* of the point to the position (#85; CLAUDE.md, "Snapping onto a Wyckoff position"). Unlike the site
|
|
4
|
-
* symmetry (`positions.ts`), which asks whether the images of a point lie within a tolerance of it,
|
|
5
|
-
* this asks whether the point lies within the tolerance of the point set of a position. Internal.
|
|
6
|
-
*/
|
|
7
|
-
/** A point snapped onto a Wyckoff position: the index of the printed row and the point on it, in [0, 1). */
|
|
8
|
-
export interface SnappedPoint {
|
|
9
|
-
readonly row: number;
|
|
10
|
-
readonly point: readonly number[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Snaps a point (lattice basis) onto the most special Wyckoff position of a plane group that lies
|
|
14
|
-
* within `tolerance` of it (per coordinate, modulo the lattice): positions without a free parameter
|
|
15
|
-
* first, then lines, then the general position, which always holds the point. Among positions with
|
|
16
|
-
* the same number of free parameters the nearest wins. Throws a RangeError for a point that is not
|
|
17
|
-
* two finite numbers or a tolerance outside (0, 1/2).
|
|
18
|
-
*/
|
|
19
|
-
export declare function planeSnapToWyckoffPosition(key: string, point: readonly number[], tolerance?: number): SnappedPoint;
|
|
20
|
-
//# sourceMappingURL=snap.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"snap.d.ts","sourceRoot":"","sources":["../../src/spaceGroups/snap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA6EH,4GAA4G;AAC5G,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,SAAS,GAAE,MAAgB,GAC1B,YAAY,CAqBd"}
|
package/dist/spaceGroups/snap.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Snapping a point of the plane onto the nearest Wyckoff position of a plane group, by the distance
|
|
3
|
-
* of the point to the position (#85; CLAUDE.md, "Snapping onto a Wyckoff position"). Unlike the site
|
|
4
|
-
* symmetry (`positions.ts`), which asks whether the images of a point lie within a tolerance of it,
|
|
5
|
-
* this asks whether the point lies within the tolerance of the point set of a position. Internal.
|
|
6
|
-
*/
|
|
7
|
-
import { parseOperation, toPlain } from './affine.js';
|
|
8
|
-
import { planeGroupEntry } from './planeGroups.js';
|
|
9
|
-
import { EPSILON } from '../tolerances.js';
|
|
10
|
-
const cache = new Map();
|
|
11
|
-
function expression(op, shift) {
|
|
12
|
-
const m = op.matrix;
|
|
13
|
-
const columns = [0, 1].filter((k) => m[0][k] !== 0 || m[1][k] !== 0);
|
|
14
|
-
const det = m[0][0] * m[1][1] - m[0][1] * m[1][0];
|
|
15
|
-
return {
|
|
16
|
-
matrix: m,
|
|
17
|
-
translation: [op.translation[0] + shift[0], op.translation[1] + shift[1]],
|
|
18
|
-
freedom: columns.length === 2 && det === 0 ? 1 : columns.length,
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
/** Per printed Wyckoff row (index into `wyckoff`), its coordinate expressions with every centring. */
|
|
22
|
-
function positionsOf(symbol) {
|
|
23
|
-
let rows = cache.get(symbol);
|
|
24
|
-
if (!rows) {
|
|
25
|
-
const entry = planeGroupEntry(symbol);
|
|
26
|
-
const shifts = [[0, 0], ...entry.centring.map((t) => toPlain(parseOperation(t)).translation)];
|
|
27
|
-
rows = entry.wyckoff.map(([, , , coordinates], row) => ({
|
|
28
|
-
row,
|
|
29
|
-
expressions: coordinates.flatMap((c) => shifts.map((s) => expression(toPlain(parseOperation(c)), s))),
|
|
30
|
-
}));
|
|
31
|
-
cache.set(symbol, rows);
|
|
32
|
-
}
|
|
33
|
-
return rows;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The nearest point of the set of `e` to `p` modulo the lattice: the parameters by least squares in
|
|
37
|
-
* the lattice coordinates, over the lattice translations that can reach it. Returns the point and
|
|
38
|
-
* its distance, the larger of the two coordinate differences.
|
|
39
|
-
*/
|
|
40
|
-
function nearest(e, p) {
|
|
41
|
-
if (e.freedom === 2)
|
|
42
|
-
return { point: [...p], distance: 0 };
|
|
43
|
-
const m = e.matrix;
|
|
44
|
-
const c = e.translation;
|
|
45
|
-
let best = { point: [0, 0], distance: Infinity };
|
|
46
|
-
// c lies in [0, 2) (a printed coordinate in [0, 1) plus a centring), p in [0, 1).
|
|
47
|
-
for (let i = -2; i <= 2; i++) {
|
|
48
|
-
for (let j = -2; j <= 2; j++) {
|
|
49
|
-
const v = [p[0] - c[0] - i, p[1] - c[1] - j];
|
|
50
|
-
let r;
|
|
51
|
-
if (e.freedom === 0) {
|
|
52
|
-
r = [0, 0];
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
const k = m[0][0] !== 0 || m[1][0] !== 0 ? 0 : 1;
|
|
56
|
-
const col = [m[0][k], m[1][k]];
|
|
57
|
-
const t = (col[0] * v[0] + col[1] * v[1]) / (col[0] * col[0] + col[1] * col[1]);
|
|
58
|
-
r = [t * col[0], t * col[1]];
|
|
59
|
-
}
|
|
60
|
-
const distance = Math.max(Math.abs(r[0] - v[0]), Math.abs(r[1] - v[1]));
|
|
61
|
-
if (distance < best.distance)
|
|
62
|
-
best = { point: [r[0] + c[0] + i, r[1] + c[1] + j], distance };
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return best;
|
|
66
|
-
}
|
|
67
|
-
const mod1 = (v) => {
|
|
68
|
-
const r = v - Math.floor(v);
|
|
69
|
-
return r >= 1 ? 0 : r + 0;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Snaps a point (lattice basis) onto the most special Wyckoff position of a plane group that lies
|
|
73
|
-
* within `tolerance` of it (per coordinate, modulo the lattice): positions without a free parameter
|
|
74
|
-
* first, then lines, then the general position, which always holds the point. Among positions with
|
|
75
|
-
* the same number of free parameters the nearest wins. Throws a RangeError for a point that is not
|
|
76
|
-
* two finite numbers or a tolerance outside (0, 1/2).
|
|
77
|
-
*/
|
|
78
|
-
export function planeSnapToWyckoffPosition(key, point, tolerance = EPSILON) {
|
|
79
|
-
if (point.length !== 2 || !point.every(Number.isFinite)) {
|
|
80
|
-
throw new RangeError(`A point of the plane has two finite coordinates, not ${JSON.stringify(point)}`);
|
|
81
|
-
}
|
|
82
|
-
if (!(typeof tolerance === 'number' && tolerance > 0 && tolerance < 0.5)) {
|
|
83
|
-
throw new RangeError(`The tolerance must lie between 0 and 1/2, not ${String(tolerance)}`);
|
|
84
|
-
}
|
|
85
|
-
const p = point.map(mod1);
|
|
86
|
-
const rows = positionsOf(planeGroupEntry(key).symbol);
|
|
87
|
-
for (const freedom of [0, 1, 2]) {
|
|
88
|
-
let best;
|
|
89
|
-
for (const { row, expressions } of rows) {
|
|
90
|
-
for (const e of expressions) {
|
|
91
|
-
if (e.freedom !== freedom)
|
|
92
|
-
continue;
|
|
93
|
-
const n = nearest(e, p);
|
|
94
|
-
if (n.distance < tolerance && (!best || n.distance < best.distance))
|
|
95
|
-
best = { row, ...n };
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
if (best)
|
|
99
|
-
return { row: best.row, point: best.point.map(mod1) };
|
|
100
|
-
}
|
|
101
|
-
throw new Error(`The general position of ${key} does not hold ${JSON.stringify(point)}`);
|
|
102
|
-
}
|
|
103
|
-
//# sourceMappingURL=snap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"snap.js","sourceRoot":"","sources":["../../src/spaceGroups/snap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,cAAc,EAAE,OAAO,EAAuB,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAU3C,MAAM,KAAK,GAAG,IAAI,GAAG,EAAiE,CAAC;AAEvF,SAAS,UAAU,CAAC,EAAkB,EAAE,KAAwB;IAC9D,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IACpB,MAAM,OAAO,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IACrE,MAAM,GAAG,GAAG,CAAC,CAAC,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C,EAAE,CAAC,CAAC,CAAC;gBACxB,IAAI,CAAC,CAAC,QAAQ,GAAG,SAAS,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;oBAAE,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YAC5F,CAAC;QACH,CAAC;QACD,IAAI,IAAI;YAAE,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;IAClE,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,GAAG,kBAAkB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;AAC3F,CAAC"}
|
package/src/pointGroups/data.ts
DELETED
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The 32 crystallographic point groups (crystal classes) as data: generators, settings and symbols.
|
|
3
|
-
* The 90 magnetic point groups built on them are in magneticData.ts.
|
|
4
|
-
*
|
|
5
|
-
* Generators are stored in the Birss frame (docs/conventions.md); every setting is a rotation of
|
|
6
|
-
* that frame, and the ITC settings are among them. The print anchors and their tests are listed in
|
|
7
|
-
* docs/conventions.md, "Sources"; never derive data here from symcrys output.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { IDENTITY, INVERSION, multiply, rotationX, rotationY, rotationZ, type Mat3 } from '../linalg.js';
|
|
11
|
-
import { operation, type Operation } from '../operations.js';
|
|
12
|
-
import type { CrystalSystem } from '../lattice.js';
|
|
13
|
-
|
|
14
|
-
/** Keys of the 32 crystal classes: the ITC short symbol of the class (docs/conventions.md, "Keys"). */
|
|
15
|
-
export const POINT_GROUP_KEYS = Object.freeze([
|
|
16
|
-
'1',
|
|
17
|
-
'-1',
|
|
18
|
-
'2',
|
|
19
|
-
'm',
|
|
20
|
-
'2/m',
|
|
21
|
-
'222',
|
|
22
|
-
'mm2',
|
|
23
|
-
'mmm',
|
|
24
|
-
'4',
|
|
25
|
-
'-4',
|
|
26
|
-
'4/m',
|
|
27
|
-
'422',
|
|
28
|
-
'4mm',
|
|
29
|
-
'-42m',
|
|
30
|
-
'4/mmm',
|
|
31
|
-
'3',
|
|
32
|
-
'-3',
|
|
33
|
-
'32',
|
|
34
|
-
'3m',
|
|
35
|
-
'-3m',
|
|
36
|
-
'6',
|
|
37
|
-
'-6',
|
|
38
|
-
'6/m',
|
|
39
|
-
'622',
|
|
40
|
-
'6mm',
|
|
41
|
-
'-6m2',
|
|
42
|
-
'6/mmm',
|
|
43
|
-
'23',
|
|
44
|
-
'm-3',
|
|
45
|
-
'432',
|
|
46
|
-
'-43m',
|
|
47
|
-
'm-3m',
|
|
48
|
-
] as const);
|
|
49
|
-
|
|
50
|
-
/** The key of one of the 32 crystal classes (`POINT_GROUP_KEYS`). */
|
|
51
|
-
// `Extract<…, string>` is the same type; written so, the documentation (TypeDoc) names it instead of
|
|
52
|
-
// listing the 32 keys at every use.
|
|
53
|
-
export type PointGroupKey = Extract<(typeof POINT_GROUP_KEYS)[number], string>;
|
|
54
|
-
|
|
55
|
-
/** A symbol in one convention: the short symbol of the setting and the full symbol, positions separated by spaces. */
|
|
56
|
-
interface SymbolForms {
|
|
57
|
-
readonly short: string;
|
|
58
|
-
readonly full: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface SettingData {
|
|
62
|
-
/** Orthogonal matrix s: the setting's operations are s·W·sᵀ for the stored operations W. */
|
|
63
|
-
readonly frame: Mat3;
|
|
64
|
-
/** Monoclinic: the unique axis; orthorhombic mm2: the axis of the twofold rotation. */
|
|
65
|
-
readonly uniqueAxis?: 'a' | 'b' | 'c';
|
|
66
|
-
readonly itc: SymbolForms;
|
|
67
|
-
readonly birss: SymbolForms;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface PointGroupData {
|
|
71
|
-
readonly key: PointGroupKey;
|
|
72
|
-
readonly crystalSystem: CrystalSystem;
|
|
73
|
-
readonly schoenflies: string;
|
|
74
|
-
/** Generators in the stored (Birss) frame, which is setting 1. */
|
|
75
|
-
readonly generators: readonly Operation[];
|
|
76
|
-
/** Setting 1 first; its frame is the identity. */
|
|
77
|
-
readonly settings: readonly SettingData[];
|
|
78
|
-
/** The ITC default setting (1-based). The Birss default is always setting 1. */
|
|
79
|
-
readonly itcDefault: number;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// --- Matrices in the stored (Birss) frame ---------------------------------------------------------
|
|
83
|
-
|
|
84
|
-
export const ROT2_Z = rotationZ(180);
|
|
85
|
-
export const ROT2_X = rotationX(180);
|
|
86
|
-
export const ROT2_Y = rotationY(180);
|
|
87
|
-
export const ROT4_Z = rotationZ(90);
|
|
88
|
-
export const ROT3_Z = rotationZ(120);
|
|
89
|
-
export const ROT6_Z = rotationZ(60);
|
|
90
|
-
export const ROT4_X = rotationX(90);
|
|
91
|
-
export const ROTINV4_Z = multiply(ROT4_Z, INVERSION);
|
|
92
|
-
export const ROTINV3_Z = multiply(ROT3_Z, INVERSION);
|
|
93
|
-
export const ROTINV6_Z = multiply(ROT6_Z, INVERSION);
|
|
94
|
-
export const MIRROR_X: Mat3 = [
|
|
95
|
-
[-1, 0, 0],
|
|
96
|
-
[0, 1, 0],
|
|
97
|
-
[0, 0, 1],
|
|
98
|
-
];
|
|
99
|
-
export const MIRROR_Y: Mat3 = [
|
|
100
|
-
[1, 0, 0],
|
|
101
|
-
[0, -1, 0],
|
|
102
|
-
[0, 0, 1],
|
|
103
|
-
];
|
|
104
|
-
export const MIRROR_Z: Mat3 = [
|
|
105
|
-
[1, 0, 0],
|
|
106
|
-
[0, 1, 0],
|
|
107
|
-
[0, 0, -1],
|
|
108
|
-
];
|
|
109
|
-
/** Mirror with normal [1-10] (swaps x and y). */
|
|
110
|
-
export const MIRROR_XY: Mat3 = [
|
|
111
|
-
[0, 1, 0],
|
|
112
|
-
[1, 0, 0],
|
|
113
|
-
[0, 0, 1],
|
|
114
|
-
];
|
|
115
|
-
/** Threefold rotation about [111], mapping the vector x to y, y to z, z to x. */
|
|
116
|
-
export const ROT3_111: Mat3 = [
|
|
117
|
-
[0, 0, 1],
|
|
118
|
-
[1, 0, 0],
|
|
119
|
-
[0, 1, 0],
|
|
120
|
-
];
|
|
121
|
-
|
|
122
|
-
// --- Setting frames -------------------------------------------------------------------------------
|
|
123
|
-
|
|
124
|
-
export const SAME: Mat3 = [
|
|
125
|
-
[1, 0, 0],
|
|
126
|
-
[0, 1, 0],
|
|
127
|
-
[0, 0, 1],
|
|
128
|
-
];
|
|
129
|
-
/** Monoclinic, c-unique (stored) → b-unique: z → y. Proper rotation. */
|
|
130
|
-
export const MONOCLINIC_B: Mat3 = [
|
|
131
|
-
[-1, 0, 0],
|
|
132
|
-
[0, 0, 1],
|
|
133
|
-
[0, 1, 0],
|
|
134
|
-
];
|
|
135
|
-
/** Orthorhombic: the axis along z (stored) moves to x (cyclic x → y → z → x). */
|
|
136
|
-
export const ORTHO_TO_A: Mat3 = [
|
|
137
|
-
[0, 0, 1],
|
|
138
|
-
[1, 0, 0],
|
|
139
|
-
[0, 1, 0],
|
|
140
|
-
];
|
|
141
|
-
/** Orthorhombic: the axis along z (stored) moves to y (cyclic x → z → y → x). */
|
|
142
|
-
export const ORTHO_TO_B: Mat3 = [
|
|
143
|
-
[0, 1, 0],
|
|
144
|
-
[0, 0, 1],
|
|
145
|
-
[1, 0, 0],
|
|
146
|
-
];
|
|
147
|
-
/**
|
|
148
|
-
* Orthorhombic, for a group whose three elements all differ: the frames above after exchanging the
|
|
149
|
-
* other two axes (a rotation by 90° about the stored z axis), so the same axis stays unique.
|
|
150
|
-
*/
|
|
151
|
-
export const ORTHO_SWAP: Mat3 = rotationZ(90);
|
|
152
|
-
export const ORTHO_TO_A_SWAP: Mat3 = multiply(ORTHO_TO_A, ORTHO_SWAP);
|
|
153
|
-
export const ORTHO_TO_B_SWAP: Mat3 = multiply(ORTHO_TO_B, ORTHO_SWAP);
|
|
154
|
-
export const ROT45_Z = rotationZ(45);
|
|
155
|
-
export const ROT30_Z = rotationZ(30);
|
|
156
|
-
|
|
157
|
-
// --- Helpers ---------------------------------------------------------------------------------------
|
|
158
|
-
|
|
159
|
-
const ops = (...matrices: Mat3[]): Operation[] => matrices.map(operation);
|
|
160
|
-
|
|
161
|
-
/** A setting whose symbols are the same in both conventions. */
|
|
162
|
-
function setting(frame: Mat3, short: string, full: string, uniqueAxis?: 'a' | 'b' | 'c'): SettingData {
|
|
163
|
-
const forms = { short, full };
|
|
164
|
-
return uniqueAxis ? { frame, uniqueAxis, itc: forms, birss: forms } : { frame, itc: forms, birss: forms };
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/** A group with one setting whose symbols agree in both conventions. */
|
|
168
|
-
function group(
|
|
169
|
-
key: PointGroupKey,
|
|
170
|
-
crystalSystem: CrystalSystem,
|
|
171
|
-
schoenflies: string,
|
|
172
|
-
generators: Operation[],
|
|
173
|
-
full: string = key,
|
|
174
|
-
): PointGroupData {
|
|
175
|
-
return { key, crystalSystem, schoenflies, generators, settings: [setting(SAME, key, full)], itcDefault: 1 };
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Trigonal and hexagonal groups whose two settings differ by 30° about z. Symbol position 2 means
|
|
180
|
-
* the a direction (x) in ITC and the y direction in Birss, so each frame carries, in one
|
|
181
|
-
* convention, the symbol the other convention gives to the other frame (docs/conventions.md).
|
|
182
|
-
* `secondary` is the ITC symbol with the lateral elements in the a direction; ITC's default is
|
|
183
|
-
* that frame, setting 2. Birss's default, setting 1, carries Birss's printed short symbol, the key.
|
|
184
|
-
*/
|
|
185
|
-
function trigonalPair(
|
|
186
|
-
key: PointGroupKey,
|
|
187
|
-
crystalSystem: CrystalSystem,
|
|
188
|
-
schoenflies: string,
|
|
189
|
-
generators: Operation[],
|
|
190
|
-
secondary: SymbolForms,
|
|
191
|
-
tertiary: SymbolForms,
|
|
192
|
-
): PointGroupData {
|
|
193
|
-
return {
|
|
194
|
-
key,
|
|
195
|
-
crystalSystem,
|
|
196
|
-
schoenflies,
|
|
197
|
-
generators,
|
|
198
|
-
settings: [
|
|
199
|
-
{ frame: SAME, itc: tertiary, birss: { short: key, full: secondary.full } },
|
|
200
|
-
{ frame: ROT30_Z, itc: secondary, birss: tertiary },
|
|
201
|
-
],
|
|
202
|
-
itcDefault: 2,
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function monoclinic(key: PointGroupKey, schoenflies: string, generators: Operation[], full: (axis: string) => string) {
|
|
207
|
-
const data: PointGroupData = {
|
|
208
|
-
key,
|
|
209
|
-
crystalSystem: 'monoclinic',
|
|
210
|
-
schoenflies,
|
|
211
|
-
generators,
|
|
212
|
-
settings: [setting(SAME, key, full('c'), 'c'), setting(MONOCLINIC_B, key, full('b'), 'b')],
|
|
213
|
-
itcDefault: 2,
|
|
214
|
-
};
|
|
215
|
-
return data;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
// --- The 32 crystal classes -----------------------------------------------------------------------
|
|
219
|
-
|
|
220
|
-
export const POINT_GROUP_DATA: readonly PointGroupData[] = [
|
|
221
|
-
group('1', 'triclinic', 'C1', ops(IDENTITY)),
|
|
222
|
-
group('-1', 'triclinic', 'Ci', ops(INVERSION)),
|
|
223
|
-
|
|
224
|
-
monoclinic('2', 'C2', ops(ROT2_Z), (u) => (u === 'c' ? '1 1 2' : '1 2 1')),
|
|
225
|
-
monoclinic('m', 'Cs', ops(MIRROR_Z), (u) => (u === 'c' ? '1 1 m' : '1 m 1')),
|
|
226
|
-
monoclinic('2/m', 'C2h', ops(ROT2_Z, INVERSION), (u) => (u === 'c' ? '1 1 2/m' : '1 2/m 1')),
|
|
227
|
-
|
|
228
|
-
group('222', 'orthorhombic', 'D2', ops(ROT2_Z, ROT2_X), '2 2 2'),
|
|
229
|
-
{
|
|
230
|
-
key: 'mm2',
|
|
231
|
-
crystalSystem: 'orthorhombic',
|
|
232
|
-
schoenflies: 'C2v',
|
|
233
|
-
generators: ops(ROT2_Z, MIRROR_X),
|
|
234
|
-
settings: [
|
|
235
|
-
setting(SAME, 'mm2', 'm m 2', 'c'),
|
|
236
|
-
setting(ORTHO_TO_A, '2mm', '2 m m', 'a'),
|
|
237
|
-
setting(ORTHO_TO_B, 'm2m', 'm 2 m', 'b'),
|
|
238
|
-
],
|
|
239
|
-
itcDefault: 1,
|
|
240
|
-
},
|
|
241
|
-
group('mmm', 'orthorhombic', 'D2h', ops(ROT2_Z, ROT2_X, INVERSION), '2/m 2/m 2/m'),
|
|
242
|
-
|
|
243
|
-
group('4', 'tetragonal', 'C4', ops(ROT4_Z)),
|
|
244
|
-
group('-4', 'tetragonal', 'S4', ops(ROTINV4_Z)),
|
|
245
|
-
group('4/m', 'tetragonal', 'C4h', ops(ROT4_Z, INVERSION)),
|
|
246
|
-
group('422', 'tetragonal', 'D4', ops(ROT4_Z, ROT2_X), '4 2 2'),
|
|
247
|
-
group('4mm', 'tetragonal', 'C4v', ops(ROT4_Z, MIRROR_X), '4 m m'),
|
|
248
|
-
{
|
|
249
|
-
key: '-42m',
|
|
250
|
-
crystalSystem: 'tetragonal',
|
|
251
|
-
schoenflies: 'D2d',
|
|
252
|
-
generators: ops(ROTINV4_Z, ROT2_X),
|
|
253
|
-
settings: [setting(SAME, '-42m', '-4 2 m'), setting(ROT45_Z, '-4m2', '-4 m 2')],
|
|
254
|
-
itcDefault: 1,
|
|
255
|
-
},
|
|
256
|
-
group('4/mmm', 'tetragonal', 'D4h', ops(ROT4_Z, ROT2_X, INVERSION), '4/m 2/m 2/m'),
|
|
257
|
-
|
|
258
|
-
group('3', 'trigonal', 'C3', ops(ROT3_Z)),
|
|
259
|
-
group('-3', 'trigonal', 'C3i', ops(ROTINV3_Z)),
|
|
260
|
-
trigonalPair(
|
|
261
|
-
'32',
|
|
262
|
-
'trigonal',
|
|
263
|
-
'D3',
|
|
264
|
-
ops(ROT3_Z, ROT2_Y),
|
|
265
|
-
{ short: '321', full: '3 2 1' },
|
|
266
|
-
{ short: '312', full: '3 1 2' },
|
|
267
|
-
),
|
|
268
|
-
trigonalPair(
|
|
269
|
-
'3m',
|
|
270
|
-
'trigonal',
|
|
271
|
-
'C3v',
|
|
272
|
-
ops(ROT3_Z, MIRROR_Y),
|
|
273
|
-
{ short: '3m1', full: '3 m 1' },
|
|
274
|
-
{ short: '31m', full: '3 1 m' },
|
|
275
|
-
),
|
|
276
|
-
trigonalPair(
|
|
277
|
-
'-3m',
|
|
278
|
-
'trigonal',
|
|
279
|
-
'D3d',
|
|
280
|
-
ops(ROT3_Z, ROT2_Y, INVERSION),
|
|
281
|
-
{ short: '-3m1', full: '-3 2/m 1' },
|
|
282
|
-
{ short: '-31m', full: '-3 1 2/m' },
|
|
283
|
-
),
|
|
284
|
-
|
|
285
|
-
group('6', 'hexagonal', 'C6', ops(ROT6_Z)),
|
|
286
|
-
group('-6', 'hexagonal', 'C3h', ops(ROTINV6_Z)),
|
|
287
|
-
group('6/m', 'hexagonal', 'C6h', ops(ROT6_Z, INVERSION)),
|
|
288
|
-
group('622', 'hexagonal', 'D6', ops(ROT6_Z, ROT2_Y), '6 2 2'),
|
|
289
|
-
group('6mm', 'hexagonal', 'C6v', ops(ROT6_Z, MIRROR_Y), '6 m m'),
|
|
290
|
-
trigonalPair(
|
|
291
|
-
'-6m2',
|
|
292
|
-
'hexagonal',
|
|
293
|
-
'D3h',
|
|
294
|
-
ops(ROTINV6_Z, MIRROR_Y),
|
|
295
|
-
{ short: '-6m2', full: '-6 m 2' },
|
|
296
|
-
{ short: '-62m', full: '-6 2 m' },
|
|
297
|
-
),
|
|
298
|
-
group('6/mmm', 'hexagonal', 'D6h', ops(ROT6_Z, ROT2_Y, INVERSION), '6/m 2/m 2/m'),
|
|
299
|
-
|
|
300
|
-
group('23', 'cubic', 'T', ops(ROT2_Z, ROT2_X, ROT3_111), '2 3'),
|
|
301
|
-
group('m-3', 'cubic', 'Th', ops(ROT2_Z, ROT2_X, ROT3_111, INVERSION), '2/m -3'),
|
|
302
|
-
group('432', 'cubic', 'O', ops(ROT4_Z, ROT4_X, ROT3_111), '4 3 2'),
|
|
303
|
-
group('-43m', 'cubic', 'Td', ops(ROTINV4_Z, ROT3_111, MIRROR_XY), '-4 3 m'),
|
|
304
|
-
group('m-3m', 'cubic', 'Oh', ops(ROT4_Z, ROT4_X, ROT3_111, INVERSION), '4/m -3 2/m'),
|
|
305
|
-
];
|