symcrys 0.11.0 → 0.12.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/dist/coordinates.d.ts +143 -0
- package/dist/coordinates.d.ts.map +1 -0
- package/dist/coordinates.js +198 -0
- package/dist/coordinates.js.map +1 -0
- package/dist/crystalClasses.d.ts +28 -3
- package/dist/crystalClasses.d.ts.map +1 -1
- package/dist/crystalClasses.js +32 -3
- package/dist/crystalClasses.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/indices.d.ts +3 -19
- package/dist/indices.d.ts.map +1 -1
- package/dist/indices.js +3 -24
- package/dist/indices.js.map +1 -1
- package/dist/magnetic.d.ts +3 -1
- package/dist/magnetic.d.ts.map +1 -1
- package/dist/magnetic.js +3 -1
- package/dist/magnetic.js.map +1 -1
- package/dist/plane.d.ts +158 -3
- package/dist/plane.d.ts.map +1 -1
- package/dist/plane.js +166 -41
- package/dist/plane.js.map +1 -1
- package/dist/pointGroups/pointGroups.d.ts +15 -6
- package/dist/pointGroups/pointGroups.d.ts.map +1 -1
- package/dist/pointGroups/pointGroups.js +52 -5
- package/dist/pointGroups/pointGroups.js.map +1 -1
- package/dist/pointGroups/shubnikovData.d.ts +11 -0
- package/dist/pointGroups/shubnikovData.d.ts.map +1 -0
- package/dist/pointGroups/shubnikovData.js +101 -0
- package/dist/pointGroups/shubnikovData.js.map +1 -0
- package/dist/spaceGroups/describe.d.ts +3 -2
- package/dist/spaceGroups/describe.d.ts.map +1 -1
- package/dist/spaceGroups/describe.js.map +1 -1
- package/dist/spaceGroups/planeGroupData.d.ts +2 -0
- package/dist/spaceGroups/planeGroupData.d.ts.map +1 -1
- package/dist/spaceGroups/planeGroupData.js +17 -0
- package/dist/spaceGroups/planeGroupData.js.map +1 -1
- package/dist/spaceGroups/planeLattice.d.ts +78 -0
- package/dist/spaceGroups/planeLattice.d.ts.map +1 -0
- package/dist/spaceGroups/planeLattice.js +143 -0
- package/dist/spaceGroups/planeLattice.js.map +1 -0
- package/dist/spaceGroups/planePointGroups.d.ts +6 -2
- package/dist/spaceGroups/planePointGroups.d.ts.map +1 -1
- package/dist/spaceGroups/planePointGroups.js +14 -2
- package/dist/spaceGroups/planePointGroups.js.map +1 -1
- package/dist/spaceGroups/rational.d.ts +18 -0
- package/dist/spaceGroups/rational.d.ts.map +1 -1
- package/dist/spaceGroups/rational.js +58 -0
- package/dist/spaceGroups/rational.js.map +1 -1
- package/dist/tensors/voigt.d.ts +56 -0
- package/dist/tensors/voigt.d.ts.map +1 -0
- package/dist/tensors/voigt.js +188 -0
- package/dist/tensors/voigt.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/coordinates.ts +370 -0
- package/src/crystalClasses.ts +42 -3
- package/src/index.ts +12 -2
- package/src/indices.ts +3 -33
- package/src/magnetic.ts +10 -2
- package/src/plane.ts +302 -48
- package/src/pointGroups/pointGroups.ts +58 -6
- package/src/pointGroups/shubnikovData.ts +103 -0
- package/src/spaceGroups/describe.ts +3 -2
- package/src/spaceGroups/planeGroupData.ts +19 -0
- package/src/spaceGroups/planeLattice.ts +208 -0
- package/src/spaceGroups/planePointGroups.ts +23 -3
- package/src/spaceGroups/rational.ts +59 -0
- package/src/tensors/voigt.ts +268 -0
- package/src/version.ts +1 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,iBAAiB,CAAC;AAGjE,OAAO,EACL,aAAa,EACb,YAAY,GAKb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAKhB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,iBAAiB,CAAC;AAGjE,OAAO,EACL,aAAa,EACb,YAAY,GAKb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAKhB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,QAAQ,GAGT,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,mBAAmB,GAOpB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,2BAA2B,EAAY,MAAM,yBAAyB,CAAC;AAehF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,OAAO,EACP,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,OAAO,EACP,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,gBAAgB,GAUjB,MAAM,qBAAqB,CAAC"}
|
package/dist/indices.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Miller and Bravais–Miller indices
|
|
3
|
-
*
|
|
2
|
+
* Miller and Bravais–Miller indices and the zone law (docs/conventions.md, "Cell, metric and
|
|
3
|
+
* indices"); the change of the coordinate system is in coordinates.ts. Plain integers and matrices in and out.
|
|
4
4
|
*/
|
|
5
|
-
import { type
|
|
5
|
+
import { type Vec3 } from './linalg.js';
|
|
6
6
|
/** A direction [UVTW] or a plane (hkil) in four indices (Bravais–Miller). */
|
|
7
7
|
export type FourIndices = readonly [number, number, number, number];
|
|
8
8
|
/** The indices divided by their greatest common divisor, signs kept. Throws a RangeError for non-integers and for all zeros. */
|
|
@@ -23,22 +23,6 @@ export declare function directionFromFourIndices(uvtw: FourIndices): Vec3;
|
|
|
23
23
|
* cross product h₁ × h₂ reduced (so its sign follows the order of the planes), or `undefined` for parallel planes.
|
|
24
24
|
*/
|
|
25
25
|
export declare function zoneAxis(h1: Vec3, h2: Vec3): Vec3 | undefined;
|
|
26
|
-
/** The matrices that carry coordinates of a direction and indices of a plane to a new basis. */
|
|
27
|
-
export interface AxisChange {
|
|
28
|
-
/** Q = P⁻¹: the coordinates [uvw]′ = Q·[uvw] of a direction in the new basis. */
|
|
29
|
-
readonly direction: Mat3;
|
|
30
|
-
/** Pᵀ: the indices (hkl)′ = Pᵀ·(hkl) of a plane, i.e. (h′ k′ l′) = (h k l)·P. */
|
|
31
|
-
readonly plane: Mat3;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* The transformation of indices for a change of basis (a′, b′, c′) = (a, b, c)·P (ITA Vol. A, 2006,
|
|
35
|
-
* Section 5.1.3): the columns of `P` are the new basis vectors in the old one. The coordinates of a
|
|
36
|
-
* direction transform with Q = P⁻¹, the indices of a plane with Pᵀ, so that hu + kv + lw is the same in
|
|
37
|
-
* both bases. Throws a RangeError unless det P > 0 (a right-handed basis), and for a P that is
|
|
38
|
-
* singular within rounding (the absolute value of det P at most 10⁻⁹ times the product of its
|
|
39
|
-
* column lengths).
|
|
40
|
-
*/
|
|
41
|
-
export declare function changeOfAxes(P: Mat3): AxisChange;
|
|
42
26
|
/** The values of h, k, l substituted into printed Miller indices. */
|
|
43
27
|
export interface MillerValues {
|
|
44
28
|
/** The value of h, an integer. */
|
package/dist/indices.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indices.d.ts","sourceRoot":"","sources":["../src/indices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"indices.d.ts","sourceRoot":"","sources":["../src/indices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,aAAa,CAAC;AAGxC,6EAA6E;AAC7E,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAoBpE,gIAAgI;AAChI,wBAAgB,aAAa,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAK3E;AAED,qEAAqE;AACrE,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,IAAI,GAAG,WAAW,CAIzD;AAED,0EAA0E;AAC1E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAK5D;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,IAAI,GAAG,WAAW,CAK7D;AAED,oHAAoH;AACpH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAMhE;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAS7D;AAED,qEAAqE;AACrE,MAAM,WAAW,YAAY;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;CACrB;AA8BD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,KAAK,GAAG,IAAI,CAUrH;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,IAAI,CAuBzE"}
|
package/dist/indices.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Miller and Bravais–Miller indices
|
|
3
|
-
*
|
|
2
|
+
* Miller and Bravais–Miller indices and the zone law (docs/conventions.md, "Cell, metric and
|
|
3
|
+
* indices"); the change of the coordinate system is in coordinates.ts. Plain integers and matrices in and out.
|
|
4
4
|
*/
|
|
5
5
|
import { shown } from './checks.js';
|
|
6
|
-
import {
|
|
6
|
+
import {} from './linalg.js';
|
|
7
7
|
import { deepFreeze } from './freeze.js';
|
|
8
8
|
function gcd(a, b) {
|
|
9
9
|
a = Math.abs(a);
|
|
@@ -79,27 +79,6 @@ export function zoneAxis(h1, h2) {
|
|
|
79
79
|
return undefined;
|
|
80
80
|
return deepFreeze(reduceIndices(c));
|
|
81
81
|
}
|
|
82
|
-
/**
|
|
83
|
-
* The transformation of indices for a change of basis (a′, b′, c′) = (a, b, c)·P (ITA Vol. A, 2006,
|
|
84
|
-
* Section 5.1.3): the columns of `P` are the new basis vectors in the old one. The coordinates of a
|
|
85
|
-
* direction transform with Q = P⁻¹, the indices of a plane with Pᵀ, so that hu + kv + lw is the same in
|
|
86
|
-
* both bases. Throws a RangeError unless det P > 0 (a right-handed basis), and for a P that is
|
|
87
|
-
* singular within rounding (the absolute value of det P at most 10⁻⁹ times the product of its
|
|
88
|
-
* column lengths).
|
|
89
|
-
*/
|
|
90
|
-
export function changeOfAxes(P) {
|
|
91
|
-
if (!Array.isArray(P) ||
|
|
92
|
-
P.length !== 3 ||
|
|
93
|
-
!P.every((r) => Array.isArray(r) && r.length === 3 && r.every((x) => Number.isFinite(x)))) {
|
|
94
|
-
throw new RangeError('changeOfAxes: P must be a 3×3 matrix of finite numbers');
|
|
95
|
-
}
|
|
96
|
-
if (!(det(P) > 0))
|
|
97
|
-
throw new RangeError('changeOfAxes: det P must be positive (a right-handed basis)');
|
|
98
|
-
if (isSingular(P))
|
|
99
|
-
throw new RangeError('changeOfAxes: P is singular within rounding');
|
|
100
|
-
const clean = (m) => m.map((r) => r.map((x) => x + 0)); // no −0
|
|
101
|
-
return deepFreeze({ direction: clean(inverse(P)), plane: clean(transpose(P)) });
|
|
102
|
-
}
|
|
103
82
|
/**
|
|
104
83
|
* One printed index as a number: a term (`h`, `-2h`, `0`, `1`) or a sum of terms (`-h-k`, `2k-h`, as
|
|
105
84
|
* printed for rhombohedral axes); `i` is −(h + k). `fail` makes the error: a RangeError for a
|
package/dist/indices.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indices.js","sourceRoot":"","sources":["../src/indices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,
|
|
1
|
+
{"version":3,"file":"indices.js","sourceRoot":"","sources":["../src/indices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAa,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKzC,SAAS,GAAG,CAAC,CAAS,EAAE,CAAS;IAC/B,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAChB,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,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,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;QAC3B,MAAM,IAAI,UAAU,CAAC,kBAAkB,OAAO,8BAA8B,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/F,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC;AACzB,CAAC"}
|
package/dist/magnetic.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ export type { Mat3, Vec3 } from './linalg.js';
|
|
|
15
15
|
export type { CartesianOperation, Operation } from './operations.js';
|
|
16
16
|
export { crystalFamily, latticeBasis, type CrystalFamily, type CrystalSystem, type FixedAngleFamily, type LatticeSystem, } from './lattice.js';
|
|
17
17
|
export { angleBetweenDirections, angleBetweenPlanes, faceNormal, isValidCell, latticeFromParameters, latticeParameters, metricTensor, reciprocalBasis, type CellAngles, type CellOperation, type IsValidCellOptions, type LatticeParameters, } from './cell.js';
|
|
18
|
-
export {
|
|
18
|
+
export { directionFromFourIndices, directionToFourIndices, planeFromFourIndices, planeToFourIndices, millerIndices, reduceIndices, zoneAxis, type FourIndices, type MillerValues, } from './indices.js';
|
|
19
|
+
export { changeOfCoordinates, type AffineOperation, type CoordinateChange, type CoordinateQuantities, type CoordinateTransformation, type InverseTransformation, type TransformedOperation, } from './coordinates.js';
|
|
19
20
|
import type { PointGroupKey as ClassKey, MagneticPointGroupKey, PointGroup as PointGroupOf, PointGroupInSetting as PointGroupInSettingOf } from './pointGroups/pointGroups.js';
|
|
20
21
|
/**
|
|
21
22
|
* The key of a crystal class, one of the 32: the type of `crystalClass` and `laueClass` of a point
|
|
@@ -39,5 +40,6 @@ export { describeOperationsOf, pointGroupOf, type CartesianAxis, type CartesianO
|
|
|
39
40
|
export { orbit, orbitOf, type DirectionIndices, type DirectionOrbitEntry, type FaceIndices, type FaceOrbitEntry, type OrbitPole, } from './pointGroups/orbits.js';
|
|
40
41
|
export { rotateTensor, tensorForm, tensorFormOf, type IntrinsicSymmetry, type TensorForm, type TensorKind, type TensorRank, type TensorSpec, type TimeParity, } from './tensors/tensorForm.js';
|
|
41
42
|
export { TENSOR_PROPERTIES, type TensorProperty, type TensorPropertyName } from './tensors/propertyTable.js';
|
|
43
|
+
export { fromVoigt, toVoigt, type VoigtFactor, type VoigtOptions } from './tensors/voigt.js';
|
|
42
44
|
export { allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, } from './tensors/tensorProperties.js';
|
|
43
45
|
//# sourceMappingURL=magnetic.d.ts.map
|
package/dist/magnetic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magnetic.d.ts","sourceRoot":"","sources":["../src/magnetic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEjE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EACL,aAAa,EACb,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"magnetic.d.ts","sourceRoot":"","sources":["../src/magnetic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAA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iB,EACtB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,UAAU,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,GACjB,MAAM,+BAA+B,CAAC"}
|
package/dist/magnetic.js
CHANGED
|
@@ -13,7 +13,8 @@ export { VERSION } from './version.js';
|
|
|
13
13
|
export { EPSILON } from './tolerances.js';
|
|
14
14
|
export { crystalFamily, latticeBasis, } from './lattice.js';
|
|
15
15
|
export { angleBetweenDirections, angleBetweenPlanes, faceNormal, isValidCell, latticeFromParameters, latticeParameters, metricTensor, reciprocalBasis, } from './cell.js';
|
|
16
|
-
export {
|
|
16
|
+
export { directionFromFourIndices, directionToFourIndices, planeFromFourIndices, planeToFourIndices, millerIndices, reduceIndices, zoneAxis, } from './indices.js';
|
|
17
|
+
export { changeOfCoordinates, } from './coordinates.js';
|
|
17
18
|
export { MAGNETIC_POINT_GROUP_KEYS as POINT_GROUP_KEYS, findMagneticPointGroup as findPointGroup, generators, isMagneticPointGroupKey as isPointGroupKey, latticeSystems, magneticPointGroups as pointGroups, operations, pointGroup, settings, symbol, } from './pointGroups/pointGroups.js';
|
|
18
19
|
export { holohedry, isCentrosymmetricOf, isEnantiomorphicOf } from './pointGroups/properties.js';
|
|
19
20
|
export { LATTICE_SYMMETRY_DIRECTIONS } from './symmetryDirections.js';
|
|
@@ -25,5 +26,6 @@ export { describeOperationsOf, pointGroupOf, } from './pointGroups/identify.js';
|
|
|
25
26
|
export { orbit, orbitOf, } from './pointGroups/orbits.js';
|
|
26
27
|
export { rotateTensor, tensorForm, tensorFormOf, } from './tensors/tensorForm.js';
|
|
27
28
|
export { TENSOR_PROPERTIES } from './tensors/propertyTable.js';
|
|
29
|
+
export { fromVoigt, toVoigt } from './tensors/voigt.js';
|
|
28
30
|
export { allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, } from './tensors/tensorProperties.js';
|
|
29
31
|
//# sourceMappingURL=magnetic.js.map
|
package/dist/magnetic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magnetic.js","sourceRoot":"","sources":["../src/magnetic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,iBAAiB,CAAC;AAIjE,OAAO,EACL,aAAa,EACb,YAAY,GAKb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAKhB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"magnetic.js","sourceRoot":"","sources":["../src/magnetic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,iBAAiB,CAAC;AAIjE,OAAO,EACL,aAAa,EACb,YAAY,GAKb,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAKhB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,QAAQ,GAGT,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,mBAAmB,GAOpB,MAAM,kBAAkB,CAAC;AAqB1B,OAAO,EACL,yBAAyB,IAAI,gBAAgB,EAC7C,sBAAsB,IAAI,cAAc,EACxC,UAAU,EACV,uBAAuB,IAAI,eAAe,EAC1C,cAAc,EACd,mBAAmB,IAAI,WAAW,EAClC,UAAU,EACV,UAAU,EACV,QAAQ,EACR,MAAM,GAMP,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAY,MAAM,yBAAyB,CAAC;AAChF,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GAMnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0BAA0B,IAAI,kBAAkB,EAA8B,MAAM,WAAW,CAAC;AACzG,OAAO,EAAE,cAAc,EAAqB,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,YAAY,GAIb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,EACL,OAAO,GAMR,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,GAOb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAgD,MAAM,4BAA4B,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,OAAO,EAAuC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,GACjB,MAAM,+BAA+B,CAAC"}
|
package/dist/plane.d.ts
CHANGED
|
@@ -9,12 +9,16 @@
|
|
|
9
9
|
* overlap. Functions that take a point take its coordinates in the lattice basis and an optional
|
|
10
10
|
* `tolerance` (docs/conventions.md, "Plane groups").
|
|
11
11
|
*/
|
|
12
|
+
import { type PlaneOperationKind } from './spaceGroups/describe.js';
|
|
12
13
|
import { type PlaneSystem } from './spaceGroups/planeGroupData.js';
|
|
14
|
+
import { type CellRestrictions, type LatticeParameters, type Mat2, type PlaneBravaisLattice } from './spaceGroups/planeLattice.js';
|
|
13
15
|
import { type PlanePointGroupKey } from './spaceGroups/planePointGroups.js';
|
|
14
16
|
export { VERSION } from './version.js';
|
|
15
17
|
export { EPSILON, type ToleranceOptions } from './tolerances.js';
|
|
16
18
|
import { type ToleranceOptions } from './tolerances.js';
|
|
17
19
|
export type { PlaneSystem } from './spaceGroups/planeGroupData.js';
|
|
20
|
+
export type { CellRestrictions, LatticeParameters, Mat2, PlaneBravaisLattice, PlaneCellParameter, PlaneFixedAngles, } from './spaceGroups/planeLattice.js';
|
|
21
|
+
export type { PlaneOperationKind } from './spaceGroups/describe.js';
|
|
18
22
|
/** The short symbol of a plane group, e.g. `'p2mg'`. */
|
|
19
23
|
export type PlaneGroupKey = 'p1' | 'p2' | 'pm' | 'pg' | 'cm' | 'p2mm' | 'p2mg' | 'p2gg' | 'c2mm' | 'p4' | 'p4mm' | 'p4gm' | 'p3' | 'p3m1' | 'p31m' | 'p6' | 'p6mm';
|
|
20
24
|
/** The key of a plane point group, e.g. `'2mm'`. */
|
|
@@ -25,8 +29,12 @@ export declare const PLANE_GROUP_KEYS: readonly PlaneGroupKey[];
|
|
|
25
29
|
export declare const POINT_GROUP_KEYS: readonly PointGroupKey[];
|
|
26
30
|
/** Options that choose the setting of a plane point group. */
|
|
27
31
|
export interface SettingOptions {
|
|
28
|
-
/**
|
|
29
|
-
|
|
32
|
+
/**
|
|
33
|
+
* The setting, by its 1-based index or its symbol (spaces ignored): for the point group `3m` 1 or
|
|
34
|
+
* `'3m1'` (default) and 2 or `'31m'`, and the key `'3m'` names the default; the other point groups
|
|
35
|
+
* have one, and a plane group takes only 1 or its own symbol (short or full).
|
|
36
|
+
*/
|
|
37
|
+
readonly setting?: number | string;
|
|
30
38
|
}
|
|
31
39
|
/** Options of `symbol`: the setting, and the form of a plane group's symbol. */
|
|
32
40
|
export interface SymbolOptions extends SettingOptions {
|
|
@@ -52,6 +60,13 @@ export interface PlaneGroup {
|
|
|
52
60
|
readonly pointGroupSetting: number;
|
|
53
61
|
/** The crystal system. */
|
|
54
62
|
readonly crystalSystem: PlaneSystem;
|
|
63
|
+
/** The Bravais lattice (ITA 2016 Table 2.1.1.1, p. 143): `'mp'`, `'op'`, `'oc'`, `'tp'` or `'hp'`. */
|
|
64
|
+
readonly bravaisLattice: PlaneBravaisLattice;
|
|
65
|
+
/**
|
|
66
|
+
* The Patterson symmetry as ITA prints it in the headline of the group (Chapter 2.2), a plane group:
|
|
67
|
+
* the lattice of the group with its Laue class, e.g. `'p2mm'` for `p2mg`, `'c2mm'` for `cm`.
|
|
68
|
+
*/
|
|
69
|
+
readonly pattersonSymmetry: PlaneGroupKey;
|
|
55
70
|
/** The centring translations besides (0, 0): `[[0.5, 0.5]]` for `cm` and `c2mm`, otherwise none. */
|
|
56
71
|
readonly centring: readonly (readonly number[])[];
|
|
57
72
|
/** The block "Origin" as ITA prints it, its positions spaced as printed, e.g. `'at 2 m m'`, `'at 2 1 g'`. */
|
|
@@ -65,6 +80,23 @@ export interface PointGroup {
|
|
|
65
80
|
readonly crystalSystem: PlaneSystem;
|
|
66
81
|
/** The order of the group. */
|
|
67
82
|
readonly order: number;
|
|
83
|
+
/**
|
|
84
|
+
* The Laue class: the point group with the symmetry centre of the plane, the twofold rotation,
|
|
85
|
+
* added (ITA 2016 § 3.2.1.1, p. 720); one of `'2'`, `'2mm'`, `'4'`, `'4mm'`, `'6'`, `'6mm'`.
|
|
86
|
+
*/
|
|
87
|
+
readonly laueClass: PointGroupKey;
|
|
88
|
+
}
|
|
89
|
+
/** A plane group found by `findPlaneGroup`. */
|
|
90
|
+
export interface PlaneGroupFound {
|
|
91
|
+
/** The key of the plane group. */
|
|
92
|
+
readonly key: PlaneGroupKey;
|
|
93
|
+
}
|
|
94
|
+
/** A plane point group in a setting, as `findPointGroup` finds it. */
|
|
95
|
+
export interface PointGroupInSetting {
|
|
96
|
+
/** The key of the plane point group. */
|
|
97
|
+
readonly key: PointGroupKey;
|
|
98
|
+
/** The 1-based index of the setting. */
|
|
99
|
+
readonly setting: number;
|
|
68
100
|
}
|
|
69
101
|
/** A setting of a plane point group. */
|
|
70
102
|
export interface Setting {
|
|
@@ -81,7 +113,7 @@ export interface OperationDescription {
|
|
|
81
113
|
* `'identity'`, `'translation'`, `'rotation'`, `'reflection'` (in a line) or `'glide-reflection'`,
|
|
82
114
|
* as ITA names the operations (ITA 2016 Table 2.1.2.1, p. 145).
|
|
83
115
|
*/
|
|
84
|
-
readonly kind:
|
|
116
|
+
readonly kind: PlaneOperationKind;
|
|
85
117
|
/** The n of the linear part (an n-fold rotation): 1 for the identity and a translation, 2 for a reflection or glide reflection. */
|
|
86
118
|
readonly n: number;
|
|
87
119
|
/** For a rotation of order 3 or more: `'+'` if it turns a towards b, `'-'` otherwise. */
|
|
@@ -198,6 +230,28 @@ export interface SymmetryElementsOptions {
|
|
|
198
230
|
*/
|
|
199
231
|
readonly box?: readonly (readonly number[])[];
|
|
200
232
|
}
|
|
233
|
+
/** True if `key` is the key of one of the 17 plane groups (its short symbol, as ITA prints it). */
|
|
234
|
+
export declare function isPlaneGroupKey(key: string): key is PlaneGroupKey;
|
|
235
|
+
/** True if `key` is the key of one of the 10 plane point groups. */
|
|
236
|
+
export declare function isPointGroupKey(key: string): key is PointGroupKey;
|
|
237
|
+
/** The 17 plane groups, in ITA's order (plane group n at index n − 1). */
|
|
238
|
+
export declare function planeGroups(): readonly PlaneGroup[];
|
|
239
|
+
/** The 10 plane point groups, in the order of ITA Table 3.2.1.1. */
|
|
240
|
+
export declare function pointGroups(): readonly PointGroup[];
|
|
241
|
+
/**
|
|
242
|
+
* Finds a plane group by a symbol: the key (the short symbol, `'pm'`) or the full symbol (`'p1m1'`,
|
|
243
|
+
* `'p 1 m 1'`), spaces ignored (docs/conventions.md, "Reading symbols"). The lattice letter is
|
|
244
|
+
* lower case, as ITA prints it. Gives `undefined` if the symbol names no plane group; throws a
|
|
245
|
+
* RangeError for a value that is not a string.
|
|
246
|
+
*/
|
|
247
|
+
export declare function findPlaneGroup(symbol: string): PlaneGroupFound | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* Finds a plane point group by a symbol: the key, or the symbol of a setting (`'3m1'`, `'31m'`),
|
|
250
|
+
* spaces ignored; the key `'3m'` gives the default setting 1. Gives `undefined` if the symbol names
|
|
251
|
+
* no plane point group, also for the symbol of a plane group (that is `findPlaneGroup`); throws a
|
|
252
|
+
* RangeError for a value that is not a string.
|
|
253
|
+
*/
|
|
254
|
+
export declare function findPointGroup(symbol: string): PointGroupInSetting | undefined;
|
|
201
255
|
/** The plane group with this key (short symbol). Throws a RangeError for an unknown key. */
|
|
202
256
|
export declare function planeGroup(key: PlaneGroupKey): PlaneGroup;
|
|
203
257
|
/** The plane point group with this key. Throws a RangeError for an unknown key. */
|
|
@@ -321,4 +375,105 @@ export declare function asymmetricUnit(key: PlaneGroupKey): AsymmetricUnit;
|
|
|
321
375
|
* rotation points.
|
|
322
376
|
*/
|
|
323
377
|
export declare function symmetryElements(key: PlaneGroupKey, options?: SymmetryElementsOptions): SymmetryElements;
|
|
378
|
+
/**
|
|
379
|
+
* The restrictions on the cell parameters of a crystal system of the plane, as ITA 2016 Table
|
|
380
|
+
* 2.1.1.1 (p. 143) gives them for the conventional cell: the parameters to be determined, the pairs
|
|
381
|
+
* of equal parameters, the fixed angles, and the angles conventionally taken non-acute. Throws a
|
|
382
|
+
* RangeError for anything that is not one of the four crystal systems of the plane.
|
|
383
|
+
*/
|
|
384
|
+
export declare function cellRestrictions(system: PlaneSystem): CellRestrictions;
|
|
385
|
+
/**
|
|
386
|
+
* The Cartesian basis of a plane cell as the columns of a 2 × 2 matrix: a along x, b at γ from a
|
|
387
|
+
* towards +y (right-handed), in the unit of the edge lengths. Throws a RangeError for an edge that is
|
|
388
|
+
* not a positive number and for γ outside (0°, 180°).
|
|
389
|
+
*/
|
|
390
|
+
export declare function latticeFromParameters(parameters: LatticeParameters): Mat2;
|
|
391
|
+
/**
|
|
392
|
+
* The parameters a, b, γ of a basis given as the columns of a 2 × 2 Cartesian matrix, independent of
|
|
393
|
+
* its orientation and handedness. Throws a RangeError for a basis that is not a non-singular 2 × 2
|
|
394
|
+
* matrix.
|
|
395
|
+
*/
|
|
396
|
+
export declare function latticeParameters(basis: Mat2): LatticeParameters;
|
|
397
|
+
/** The metric tensor G = AᵀA of a basis A (columns a, b): g_ij = a_i · a_j. Throws a RangeError for a basis that is not a non-singular 2 × 2 matrix. */
|
|
398
|
+
export declare function metricTensor(basis: Mat2): Mat2;
|
|
399
|
+
/**
|
|
400
|
+
* The reciprocal basis B = A⁻ᵀ of a basis A (columns a, b) as the columns a*, b*, with
|
|
401
|
+
* a_i · a*_j = δ_ij (no factor 2π). Throws a RangeError for a basis that is not a non-singular 2 × 2
|
|
402
|
+
* matrix.
|
|
403
|
+
*/
|
|
404
|
+
export declare function reciprocalBasis(basis: Mat2): Mat2;
|
|
405
|
+
/** A change of the coordinate system (P, p) of the plane (ITA 2016 § 1.5.1.3, p. 83): (a′, b′) = (a, b)·P, origin O′ = O + p. */
|
|
406
|
+
export interface CoordinateTransformation {
|
|
407
|
+
/** P, the linear part: its columns are the new basis vectors a′, b′ in the old basis; det P ≠ 0, also negative. */
|
|
408
|
+
readonly linearPart: Mat2;
|
|
409
|
+
/** p, the origin shift: the coordinates of the new origin in the old coordinate system; default zero. */
|
|
410
|
+
readonly originShift?: readonly number[];
|
|
411
|
+
}
|
|
412
|
+
/** An operation (W, w) in the lattice basis, x ↦ W·x + w; a record of `operations` passes as it is. */
|
|
413
|
+
export interface AffineOperation {
|
|
414
|
+
/** The linear part W, a 2 × 2 matrix with integer entries. */
|
|
415
|
+
readonly matrix: readonly (readonly number[])[];
|
|
416
|
+
/** The translation part w; default zero, as for the operations of a point group. */
|
|
417
|
+
readonly translation?: readonly number[];
|
|
418
|
+
}
|
|
419
|
+
/** An operation (W′, w′) in the new coordinate system. */
|
|
420
|
+
export interface TransformedOperation {
|
|
421
|
+
/** W′ = P⁻¹WP, integer entries. */
|
|
422
|
+
readonly matrix: Mat2;
|
|
423
|
+
/** w′ = P⁻¹(w + (W − I)p), not reduced modulo the lattice. */
|
|
424
|
+
readonly translation: readonly number[];
|
|
425
|
+
}
|
|
426
|
+
/** The quantities that `changeOfCoordinates` transforms; each is optional. */
|
|
427
|
+
export interface CoordinateQuantities {
|
|
428
|
+
/** Point coordinates x: x′ = P⁻¹(x − p) (eq. (1.5.1.7)). */
|
|
429
|
+
readonly points?: readonly (readonly number[])[];
|
|
430
|
+
/** Coefficients [uv] of vectors, e.g. directions: [uv]′ = P⁻¹[uv] (eq. (1.5.2.3)); not changed by the origin shift. */
|
|
431
|
+
readonly directions?: readonly (readonly number[])[];
|
|
432
|
+
/** Miller indices (hk) of lines: (hk)′ = (hk)P (eq. (1.5.2.2)); not changed by the origin shift. */
|
|
433
|
+
readonly planes?: readonly (readonly number[])[];
|
|
434
|
+
/** The metric tensor G: G′ = PᵀGP (eq. (1.5.2.4)). */
|
|
435
|
+
readonly metric?: Mat2;
|
|
436
|
+
/** Operations (W, w): W′ = P⁻¹WP, w′ = P⁻¹(w + (W − I)p) (eqs. (1.5.2.12), (1.5.2.13)). */
|
|
437
|
+
readonly operations?: readonly AffineOperation[];
|
|
438
|
+
}
|
|
439
|
+
/** The inverse change of the coordinate system (Q, q) = (P, p)⁻¹. */
|
|
440
|
+
export interface InverseTransformation {
|
|
441
|
+
/** Q = P⁻¹. */
|
|
442
|
+
readonly linearPart: Mat2;
|
|
443
|
+
/** q = −P⁻¹p. */
|
|
444
|
+
readonly originShift: readonly number[];
|
|
445
|
+
}
|
|
446
|
+
/** The result of `changeOfCoordinates`: the inverse pair and each given quantity in the new coordinate system. */
|
|
447
|
+
export interface CoordinateChange {
|
|
448
|
+
/** (Q, q) = (P⁻¹, −P⁻¹p), which takes the new coordinates back to the old (eq. (1.5.1.7)). */
|
|
449
|
+
readonly inverse: InverseTransformation;
|
|
450
|
+
/** The points, as given, in the new coordinates. */
|
|
451
|
+
readonly points?: readonly (readonly number[])[];
|
|
452
|
+
/** The vector coefficients, as given, in the new basis. */
|
|
453
|
+
readonly directions?: readonly (readonly number[])[];
|
|
454
|
+
/** The Miller indices, as given, in the new basis. */
|
|
455
|
+
readonly planes?: readonly (readonly number[])[];
|
|
456
|
+
/** The metric tensor in the new basis. */
|
|
457
|
+
readonly metric?: Mat2;
|
|
458
|
+
/** The operations, as given, in the new coordinate system. */
|
|
459
|
+
readonly operations?: readonly TransformedOperation[];
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Changes the coordinate system of the plane by the pair (P, p) of ITA (6th ed., 2016) § 1.5.1.3
|
|
463
|
+
* (p. 83), with 2 × 2 matrices: the new basis is (a′, b′) = (a, b)·P and the new origin lies at p.
|
|
464
|
+
* Transforms the given quantities by ITA's equations (§ 1.5.2, pp. 83–85): point coordinates
|
|
465
|
+
* x′ = P⁻¹(x − p), vector coefficients [uv]′ = P⁻¹[uv], Miller indices (hk)′ = (hk)P, the metric
|
|
466
|
+
* tensor G′ = PᵀGP, and operations W′ = P⁻¹WP, w′ = P⁻¹(w + (W − I)p); and gives the inverse pair
|
|
467
|
+
* (Q, q) = (P⁻¹, −P⁻¹p). det P may be negative.
|
|
468
|
+
*
|
|
469
|
+
* P, p and the operations are read each number as the simplest fraction within the tolerance
|
|
470
|
+
* (default `EPSILON`; 0.3333333 is 1/3) and transformed exactly, so that every result, the inverse
|
|
471
|
+
* pair included, can be passed back; the other quantities are floating point. P is rational in a
|
|
472
|
+
* change between lattice bases, as in ITA; an irrational P (a rotation by 30°) is read as the
|
|
473
|
+
* nearby fractions, about as exact as the tolerance, and a much smaller tolerance can make the exact
|
|
474
|
+
* products leave the safe integers, a RangeError.
|
|
475
|
+
* A transformed operation is `{ matrix, translation }`. Throws a RangeError for a singular P, a quantity of the
|
|
476
|
+
* wrong shape, an unknown quantity, an operation with det W ≠ ±1, and one whose W′ is not integral.
|
|
477
|
+
*/
|
|
478
|
+
export declare function changeOfCoordinates(transformation: CoordinateTransformation, quantities: CoordinateQuantities, options?: ToleranceOptions): CoordinateChange;
|
|
324
479
|
//# sourceMappingURL=plane.d.ts.map
|
package/dist/plane.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plane.d.ts","sourceRoot":"","sources":["../src/plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"plane.d.ts","sourceRoot":"","sources":["../src/plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAA0B,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG5F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAQL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACT,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AASvC,OAAO,EASL,KAAK,kBAAkB,EACxB,MAAM,mCAAmC,CAAC;AAU3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAErE,YAAY,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,EACJ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,+BAA+B,CAAC;AACvC,YAAY,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,wDAAwD;AACxD,MAAM,MAAM,aAAa,GACrB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ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