symcrys 0.6.1 → 0.7.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.
Files changed (50) hide show
  1. package/README.md +2 -2
  2. package/dist/crystalClasses.d.ts +94 -0
  3. package/dist/crystalClasses.d.ts.map +1 -1
  4. package/dist/crystalClasses.js +79 -0
  5. package/dist/crystalClasses.js.map +1 -1
  6. package/dist/index.d.ts +4 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/magnetic.d.ts +2 -0
  11. package/dist/magnetic.d.ts.map +1 -1
  12. package/dist/magnetic.js +2 -0
  13. package/dist/magnetic.js.map +1 -1
  14. package/dist/pointGroups/crystalForms.d.ts +70 -0
  15. package/dist/pointGroups/crystalForms.d.ts.map +1 -0
  16. package/dist/pointGroups/crystalForms.js +69 -0
  17. package/dist/pointGroups/crystalForms.js.map +1 -0
  18. package/dist/pointGroups/crystalFormsData.d.ts +32 -0
  19. package/dist/pointGroups/crystalFormsData.d.ts.map +1 -0
  20. package/dist/pointGroups/crystalFormsData.js +518 -0
  21. package/dist/pointGroups/crystalFormsData.js.map +1 -0
  22. package/dist/pointGroups/elements.d.ts +5 -1
  23. package/dist/pointGroups/elements.d.ts.map +1 -1
  24. package/dist/pointGroups/elements.js +6 -2
  25. package/dist/pointGroups/elements.js.map +1 -1
  26. package/dist/pointGroups/identify.d.ts +75 -0
  27. package/dist/pointGroups/identify.d.ts.map +1 -0
  28. package/dist/pointGroups/identify.js +193 -0
  29. package/dist/pointGroups/identify.js.map +1 -0
  30. package/dist/pointGroups/orbits.d.ts +85 -0
  31. package/dist/pointGroups/orbits.d.ts.map +1 -0
  32. package/dist/pointGroups/orbits.js +134 -0
  33. package/dist/pointGroups/orbits.js.map +1 -0
  34. package/dist/pointGroups/wyckoff.d.ts +40 -1
  35. package/dist/pointGroups/wyckoff.d.ts.map +1 -1
  36. package/dist/pointGroups/wyckoff.js +55 -27
  37. package/dist/pointGroups/wyckoff.js.map +1 -1
  38. package/dist/version.d.ts +1 -1
  39. package/dist/version.js +1 -1
  40. package/package.json +1 -1
  41. package/src/crystalClasses.ts +146 -0
  42. package/src/index.ts +12 -0
  43. package/src/magnetic.ts +17 -0
  44. package/src/pointGroups/crystalForms.ts +143 -0
  45. package/src/pointGroups/crystalFormsData.ts +539 -0
  46. package/src/pointGroups/elements.ts +6 -2
  47. package/src/pointGroups/identify.ts +255 -0
  48. package/src/pointGroups/orbits.ts +228 -0
  49. package/src/pointGroups/wyckoff.ts +59 -26
  50. package/src/version.ts +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # symcrys
2
2
 
3
3
  Crystallographic symmetry calculations in TypeScript: point groups with their settings, symbols,
4
- symmetry elements, site symmetry and Wyckoff positions, and the forms of property tensors they
5
- allow. A library without runtime dependencies that runs unbundled in browsers and in Node.
4
+ symmetry elements, site symmetry, Wyckoff positions and crystal forms, and the forms of property
5
+ tensors they allow. A library without runtime dependencies that runs unbundled in browsers and in Node.
6
6
 
7
7
  ```bash
8
8
  npm install symcrys
@@ -14,8 +14,13 @@ import type { CrystalSystem } from './lattice.js';
14
14
  import type { Mat3, Vec3 } from './linalg.js';
15
15
  import * as elements from './pointGroups/elements.js';
16
16
  import type { Convention, PointGroupKey, Setting, SettingOptions, SymbolOptions } from './pointGroups/pointGroups.js';
17
+ import * as forms from './pointGroups/crystalForms.js';
18
+ import * as identify from './pointGroups/identify.js';
19
+ import * as orbits from './pointGroups/orbits.js';
17
20
  import * as wyckoff from './pointGroups/wyckoff.js';
21
+ import type { Hkl } from './pointGroups/wyckoff.js';
18
22
  import * as site from './siteSymmetry.js';
23
+ import type { Uvw } from './symmetryDirections.js';
19
24
  import type { TensorPropertyName as MagneticTensorPropertyName } from './tensors/propertyTable.js';
20
25
  import type { IntrinsicSymmetry, TensorForm, TensorParity, TensorRank } from './tensors/tensorForm.js';
21
26
  /** A point operation: an orthogonal Cartesian matrix (rotation, rotoinversion, mirror, inversion). */
@@ -142,6 +147,40 @@ export declare function isCentrosymmetricOf(operations: readonly OperationArgume
142
147
  * `allowsPropertyOf(operations, 'pyroelectric')`.
143
148
  */
144
149
  export declare function isChiralOf(operations: readonly OperationArgument[]): boolean;
150
+ /** The crystal class of a list of operations: its key, and the setting if the operations are exactly those of one. */
151
+ export interface IdentifiedPointGroup {
152
+ /** The key of the crystal class the operations generate. */
153
+ readonly key: PointGroupKey;
154
+ /**
155
+ * The 1-based index of the setting whose operations the group equals, in the Cartesian frame of
156
+ * symcrys; absent if the group is the class in another orientation.
157
+ */
158
+ readonly setting?: number;
159
+ }
160
+ /** One operation of any list described geometrically (`describeOperationsOf`). */
161
+ export type CartesianOperationDescription = Omit<identify.CartesianOperationDescription, 'timeReversal'>;
162
+ /**
163
+ * The crystal class generated by a list of Cartesian operations, for instance those left after
164
+ * distorting a crystal: its key, and the setting whose operations it equals in the frame of symcrys
165
+ * (absent if the group is the class in another orientation, e.g. a threefold axis along [111]). The
166
+ * list is closed into a group first, two matrices being equal when no entry differs by `tolerance`
167
+ * (default `EPSILON`) or more. Returns undefined if the operations generate no crystal class (an
168
+ * operation of order 5, a group larger than 48). Throws a RangeError for a matrix that is not
169
+ * orthogonal (within `tolerance`, at least `EPSILON`). The classes `1` and `-1` have no
170
+ * orientation, so they always have setting 1. The first call builds a table of the groups (about
171
+ * 0.1 s; docs/conventions.md, "Point group of a list of operations").
172
+ */
173
+ export declare function pointGroupOf(operations: readonly OperationArgument[], options?: identify.PointGroupOfOptions): IdentifiedPointGroup | undefined;
174
+ /**
175
+ * Each operation of a list described geometrically, in the order of the list: kind, n, the
176
+ * Cartesian axis (rotation or rotoinversion axis, mirror normal) with its first non-zero component,
177
+ * in the order x, y, z, positive, and for n ≥ 3 the sense about that axis. The axes are not named
178
+ * by lattice directions, since the list need not belong to a setting; for a crystal class given by
179
+ * its key, `describeOperations` names them. Throws a RangeError for a matrix that is not orthogonal
180
+ * or not a crystallographic operation (a rotation part by an angle other than 360°/n, n = 1, 2, 3,
181
+ * 4, 6), both within `tolerance` (default `EPSILON`, as for `pointGroupOf`).
182
+ */
183
+ export declare function describeOperationsOf(operations: readonly OperationArgument[], options?: identify.PointGroupOfOptions): readonly CartesianOperationDescription[];
145
184
  /**
146
185
  * Each operation of the crystal class described geometrically, in the order of `operations` for
147
186
  * the same key and options. Axes are named by the symmetry direction they lie along: in the ITC
@@ -179,6 +218,61 @@ export declare function wyckoffPositions(key: PointGroupKey, options?: SettingOp
179
218
  * `siteSymmetry`.
180
219
  */
181
220
  export declare function wyckoffPositionOf(key: PointGroupKey, direction: Vec3, options?: wyckoff.WyckoffOptions): wyckoff.WyckoffPosition;
221
+ /**
222
+ * The operations of the crystal class in the conventional lattice basis (a, b, c; for the trigonal
223
+ * classes the hexagonal axes), in the order of `operations` for the same setting and convention:
224
+ * integer matrices W acting on the coordinates of a lattice direction [uvw], W = B⁻¹·R·B with the
225
+ * basis B of `latticeBasis` and the Cartesian matrix R of `operations`. They do not depend on the
226
+ * cell angles, so they exist for every family; for the monoclinic and triclinic families a, b, c
227
+ * are taken along x, y, z, as for the Wyckoff positions. In the ITC convention they are the
228
+ * matrices of ITA's general position (6th ed., Table 3.2.3.2). Not orthogonal in general: pass
229
+ * them to no function that takes Cartesian operations (docs/conventions.md, "Lattice basis and
230
+ * orbits").
231
+ */
232
+ export declare function latticeOperations(key: PointGroupKey, options?: SettingOptions): readonly Operation[];
233
+ /**
234
+ * The orbit of a face (hkl) or of a lattice direction [uvw] under a crystal class, exactly, in the
235
+ * lattice basis: the distinct faces (directions), in the order in which the operations reach them
236
+ * (so in the ITC convention the given face first), each with the indices of the operations that map
237
+ * the given one onto it. A face transforms with the inverse transpose of a lattice operation,
238
+ * h' = W⁻ᵀ·h, a direction with the operation itself, u' = W·u. The number of entries is the
239
+ * multiplicity of the face (direction). Throws a RangeError unless exactly one of `hkl` and `uvw` is
240
+ * given, as three integers not all zero (hexagonal axes: three indices, without i).
241
+ */
242
+ export declare function orbit(key: PointGroupKey, indices: {
243
+ readonly hkl: Hkl;
244
+ }, options?: SettingOptions): readonly orbits.FaceOrbitEntry[];
245
+ export declare function orbit(key: PointGroupKey, indices: {
246
+ readonly uvw: Uvw;
247
+ }, options?: SettingOptions): readonly orbits.DirectionOrbitEntry[];
248
+ export declare function orbit(key: PointGroupKey, indices: {
249
+ readonly hkl: Hkl;
250
+ } | {
251
+ readonly uvw: Uvw;
252
+ }, options?: SettingOptions): readonly orbits.FaceOrbitEntry[] | readonly orbits.DirectionOrbitEntry[];
253
+ /**
254
+ * The orbit of a direction (any non-zero vector, Cartesian, e.g. a face normal) under a list of
255
+ * operations, for instance those of a distorted crystal: the images of its unit vector under each
256
+ * operation, coinciding images merged (closer than `tolerance`, default `EPSILON`, as for
257
+ * `siteSymmetry`), in the order in which the operations reach them, each with the indices of the
258
+ * operations that map the direction there. The list is taken as it is, not closed into a group.
259
+ * Throws a RangeError for a zero vector and for a matrix that is not orthogonal.
260
+ */
261
+ export declare function orbitOf(operations: readonly OperationArgument[], direction: Vec3, options?: orbits.OrbitOptions): readonly orbits.OrbitPole[];
262
+ /**
263
+ * The 47 crystal forms of ITA Table 3.2.1.3 (6th ed., pp. 724–726) with ITA's numbers, English
264
+ * names, numbers of faces and eigensymmetries: `CRYSTAL_FORM_TYPES[n - 1]` is form n. Each
265
+ * crystal form of `crystalForms` names its form by this number (docs/conventions.md, "Crystal
266
+ * forms").
267
+ */
268
+ export declare const CRYSTAL_FORM_TYPES: readonly forms.CrystalFormType[];
269
+ /**
270
+ * The crystal forms of a crystal class, as ITA 6th ed. Table 3.2.3.2 prints them: for each Wyckoff
271
+ * position (general position first) its basic form (two for the cubic faces (hhl) of -43m and
272
+ * m-3m), then its limiting forms. In the ITC convention
273
+ * only, like the Wyckoff positions (docs/conventions.md, "Crystal forms").
274
+ */
275
+ export declare function crystalForms(key: PointGroupKey, options?: SettingOptions): readonly forms.CrystalForm[];
182
276
  /**
183
277
  * The form of a tensor under a crystal class in the requested setting (default: the default
184
278
  * setting of the convention, `'itc'` unless given). The tensor is given by its specification or by
@@ -1 +1 @@
1
- {"version":3,"file":"crystalClasses.d.ts","sourceRoot":"","sources":["../src/crystalClasses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAEtH,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,EAAE,kBAAkB,IAAI,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAEnG,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAKvG,sGAAsG;AACtG,MAAM,WAAW,SAAS;IACxB,uDAAuD;IACvD,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,0BAA0B;IAC1B,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,4BAA4B;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,uFAAuF;IACvF,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,kGAAkG;IAClG,QAAQ,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AS,iBAAiB,EAAE,GAAG,kBAAkB,EAAE,CAGlG"}
@@ -13,6 +13,9 @@
13
13
  import * as elements from './pointGroups/elements.js';
14
14
  import * as groups from './pointGroups/pointGroups.js';
15
15
  import * as properties from './pointGroups/properties.js';
16
+ import * as forms from './pointGroups/crystalForms.js';
17
+ import * as identify from './pointGroups/identify.js';
18
+ import * as orbits from './pointGroups/orbits.js';
16
19
  import * as wyckoff from './pointGroups/wyckoff.js';
17
20
  import * as site from './siteSymmetry.js';
18
21
  import { TENSOR_PROPERTIES as ALL_TENSOR_PROPERTIES } from './tensors/propertyTable.js';
@@ -178,6 +181,35 @@ export function isCentrosymmetricOf(operations) {
178
181
  export function isChiralOf(operations) {
179
182
  return properties.isChiralOf(unitary(operations));
180
183
  }
184
+ /**
185
+ * The crystal class generated by a list of Cartesian operations, for instance those left after
186
+ * distorting a crystal: its key, and the setting whose operations it equals in the frame of symcrys
187
+ * (absent if the group is the class in another orientation, e.g. a threefold axis along [111]). The
188
+ * list is closed into a group first, two matrices being equal when no entry differs by `tolerance`
189
+ * (default `EPSILON`) or more. Returns undefined if the operations generate no crystal class (an
190
+ * operation of order 5, a group larger than 48). Throws a RangeError for a matrix that is not
191
+ * orthogonal (within `tolerance`, at least `EPSILON`). The classes `1` and `-1` have no
192
+ * orientation, so they always have setting 1. The first call builds a table of the groups (about
193
+ * 0.1 s; docs/conventions.md, "Point group of a list of operations").
194
+ */
195
+ export function pointGroupOf(operations, options) {
196
+ return identify.pointGroupOf(unitary(operations), options);
197
+ }
198
+ /**
199
+ * Each operation of a list described geometrically, in the order of the list: kind, n, the
200
+ * Cartesian axis (rotation or rotoinversion axis, mirror normal) with its first non-zero component,
201
+ * in the order x, y, z, positive, and for n ≥ 3 the sense about that axis. The axes are not named
202
+ * by lattice directions, since the list need not belong to a setting; for a crystal class given by
203
+ * its key, `describeOperations` names them. Throws a RangeError for a matrix that is not orthogonal
204
+ * or not a crystallographic operation (a rotation part by an angle other than 360°/n, n = 1, 2, 3,
205
+ * 4, 6), both within `tolerance` (default `EPSILON`, as for `pointGroupOf`).
206
+ */
207
+ export function describeOperationsOf(operations, options) {
208
+ return Object.freeze(identify.describeOperationsOf(unitary(operations), options).map((d) => {
209
+ const { timeReversal: _timeReversal, ...rest } = d;
210
+ return Object.freeze(rest);
211
+ }));
212
+ }
181
213
  // --- symmetry elements -----------------------------------------------------------------------------
182
214
  /**
183
215
  * Each operation of the crystal class described geometrically, in the order of `operations` for
@@ -236,6 +268,53 @@ export function wyckoffPositions(key, options) {
236
268
  export function wyckoffPositionOf(key, direction, options) {
237
269
  return wyckoff.wyckoffPositionOf(classKey(key), direction, options);
238
270
  }
271
+ // --- lattice basis and orbits ---------------------------------------------------------------------
272
+ /**
273
+ * The operations of the crystal class in the conventional lattice basis (a, b, c; for the trigonal
274
+ * classes the hexagonal axes), in the order of `operations` for the same setting and convention:
275
+ * integer matrices W acting on the coordinates of a lattice direction [uvw], W = B⁻¹·R·B with the
276
+ * basis B of `latticeBasis` and the Cartesian matrix R of `operations`. They do not depend on the
277
+ * cell angles, so they exist for every family; for the monoclinic and triclinic families a, b, c
278
+ * are taken along x, y, z, as for the Wyckoff positions. In the ITC convention they are the
279
+ * matrices of ITA's general position (6th ed., Table 3.2.3.2). Not orthogonal in general: pass
280
+ * them to no function that takes Cartesian operations (docs/conventions.md, "Lattice basis and
281
+ * orbits").
282
+ */
283
+ export function latticeOperations(key, options) {
284
+ return matricesOnly(orbits.latticeOperations(classKey(key), options));
285
+ }
286
+ export function orbit(key, indices, options) {
287
+ return orbits.orbit(classKey(key), indices, options);
288
+ }
289
+ /**
290
+ * The orbit of a direction (any non-zero vector, Cartesian, e.g. a face normal) under a list of
291
+ * operations, for instance those of a distorted crystal: the images of its unit vector under each
292
+ * operation, coinciding images merged (closer than `tolerance`, default `EPSILON`, as for
293
+ * `siteSymmetry`), in the order in which the operations reach them, each with the indices of the
294
+ * operations that map the direction there. The list is taken as it is, not closed into a group.
295
+ * Throws a RangeError for a zero vector and for a matrix that is not orthogonal.
296
+ */
297
+ export function orbitOf(operations, direction, options) {
298
+ checkUnitary(operations);
299
+ return orbits.orbitOf(operations, direction, options);
300
+ }
301
+ // --- crystal forms ---------------------------------------------------------------------------------
302
+ /**
303
+ * The 47 crystal forms of ITA Table 3.2.1.3 (6th ed., pp. 724–726) with ITA's numbers, English
304
+ * names, numbers of faces and eigensymmetries: `CRYSTAL_FORM_TYPES[n - 1]` is form n. Each
305
+ * crystal form of `crystalForms` names its form by this number (docs/conventions.md, "Crystal
306
+ * forms").
307
+ */
308
+ export const CRYSTAL_FORM_TYPES = forms.CRYSTAL_FORM_TYPES;
309
+ /**
310
+ * The crystal forms of a crystal class, as ITA 6th ed. Table 3.2.3.2 prints them: for each Wyckoff
311
+ * position (general position first) its basic form (two for the cubic faces (hhl) of -43m and
312
+ * m-3m), then its limiting forms. In the ITC convention
313
+ * only, like the Wyckoff positions (docs/conventions.md, "Crystal forms").
314
+ */
315
+ export function crystalForms(key, options) {
316
+ return forms.crystalForms(classKey(key), options);
317
+ }
239
318
  // --- tensors ---------------------------------------------------------------------------------------
240
319
  /**
241
320
  * The form of a tensor under a crystal class in the requested setting (default: the default
@@ -1 +1 @@
1
- {"version":3,"file":"crystalClasses.js","sourceRoot":"","sources":["../src/crystalClasses.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExF,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAGnD,MAAM,YAAY,GAChB,sHAAsH,CAAC;AAkFzH;;;;GAIG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GG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAAwC,EAAE,IAAwB;IACjG,OAAO,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AACxF,CAAC;AAED,uEAAuE;AACvE,MAAM,UAAU,mBAAmB,CAAC,UAAwC;IAC1E,MAAM,GAAG,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAChC,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAClG,CAAC"}
package/dist/index.d.ts CHANGED
@@ -13,6 +13,9 @@ export { LATTICE_SYMMETRY_DIRECTIONS, type Uvw } from './symmetryDirections.js';
13
13
  export type { Axis, DirectionElements, OperationKind, SymmetryDirection } from './pointGroups/elements.js';
14
14
  export type { SiteSymmetry, SiteSymmetryOptions } from './siteSymmetry.js';
15
15
  export type { Hkl, WyckoffOptions, WyckoffPosition } from './pointGroups/wyckoff.js';
16
+ export type { CrystalForm, CrystalFormType } from './pointGroups/crystalForms.js';
17
+ export type { DirectionOrbitEntry, FaceOrbitEntry, OrbitOptions, OrbitPole } from './pointGroups/orbits.js';
18
+ export type { CartesianAxis, PointGroupOfOptions } from './pointGroups/identify.js';
16
19
  export type { IntrinsicSymmetry, TensorForm, TensorParity, TensorRank } from './tensors/tensorForm.js';
17
- export { POINT_GROUP_KEYS, TENSOR_PROPERTIES, allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, describeOperations, findPointGroup, generators, holohedry, isCentrosymmetricOf, isChiralOf, isPointGroupKey, operations, pointGroup, pointGroups, rotateTensor, settings, siteSymmetry, symbol, symmetryDirections, tensorForm, tensorFormOf, wyckoffPositionOf, wyckoffPositions, type Operation, type OperationDescription, type PointGroup, type PointGroupInSetting, type TensorProperty, type TensorPropertyName, type TensorSpec, } from './crystalClasses.js';
20
+ export { CRYSTAL_FORM_TYPES, POINT_GROUP_KEYS, TENSOR_PROPERTIES, allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, crystalForms, describeOperations, describeOperationsOf, findPointGroup, generators, holohedry, isCentrosymmetricOf, isChiralOf, isPointGroupKey, latticeOperations, operations, orbit, orbitOf, pointGroup, pointGroupOf, pointGroups, rotateTensor, settings, siteSymmetry, symbol, symmetryDirections, tensorForm, tensorFormOf, wyckoffPositionOf, wyckoffPositions, type CartesianOperationDescription, type IdentifiedPointGroup, type Operation, type OperationDescription, type PointGroup, type PointGroupInSetting, type TensorProperty, type TensorPropertyName, type TensorSpec, } from './crystalClasses.js';
18
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EACL,aAAa,EACb,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC;AAEtB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACtH,OAAO,EAAE,2BAA2B,EAAE,KAAK,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAChF,YAAY,EAAE,IAAI,EAAE,iBAAiB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC3G,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,YAAY,EAAE,GAAG,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,0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Y,EAAE,GAAG,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACrF,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAClF,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC5G,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACpF,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAEvG,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,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,KAAK,EACL,OAAO,EACP,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,UAAU,GAChB,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -8,5 +8,5 @@
8
8
  export { VERSION } from './version.js';
9
9
  export { crystalFamily, latticeBasis, } from './lattice.js';
10
10
  export { LATTICE_SYMMETRY_DIRECTIONS } from './symmetryDirections.js';
11
- export { POINT_GROUP_KEYS, TENSOR_PROPERTIES, allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, describeOperations, findPointGroup, generators, holohedry, isCentrosymmetricOf, isChiralOf, isPointGroupKey, operations, pointGroup, pointGroups, rotateTensor, settings, siteSymmetry, symbol, symmetryDirections, tensorForm, tensorFormOf, wyckoffPositionOf, wyckoffPositions, } from './crystalClasses.js';
11
+ export { CRYSTAL_FORM_TYPES, POINT_GROUP_KEYS, TENSOR_PROPERTIES, allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, crystalForms, describeOperations, describeOperationsOf, findPointGroup, generators, holohedry, isCentrosymmetricOf, isChiralOf, isPointGroupKey, latticeOperations, operations, orbit, orbitOf, pointGroup, pointGroupOf, pointGroups, rotateTensor, settings, siteSymmetry, symbol, symmetryDirections, tensorForm, tensorFormOf, wyckoffPositionOf, wyckoffPositions, } from './crystalClasses.js';
12
12
  //# sourceMappingURL=index.js.map
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;AAGvC,OAAO,EACL,aAAa,EACb,YAAY,GAIb,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,2BAA2B,EAAY,MAAM,yBAAyB,CAAC;AAMhF,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,GAQjB,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EACL,aAAa,EACb,YAAY,GAIb,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,2BAA2B,EAAY,MAAM,yBAAyB,CAAC;AAShF,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,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,KAAK,EACL,OAAO,EACP,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,GAUjB,MAAM,qBAAqB,CAAC"}
@@ -30,6 +30,8 @@ export { holohedry, isCentrosymmetricOf, isChiralOf } from './pointGroups/proper
30
30
  export { LATTICE_SYMMETRY_DIRECTIONS, type Uvw } from './symmetryDirections.js';
31
31
  export { describeOperations, symmetryDirections, type Axis, type DirectionElements, type OperationDescription, type OperationKind, type SymmetryDirection, } from './pointGroups/elements.js';
32
32
  export { siteSymmetry, type SiteSymmetry, type SiteSymmetryOptions } from './siteSymmetry.js';
33
+ export { describeOperationsOf, pointGroupOf, type CartesianAxis, type CartesianOperationDescription, type IdentifiedPointGroup, type PointGroupOfOptions, } from './pointGroups/identify.js';
34
+ export { latticeOperations, orbit, orbitOf, type DirectionOrbitEntry, type FaceOrbitEntry, type OrbitOptions, type OrbitPole, } from './pointGroups/orbits.js';
33
35
  export { rotateTensor, tensorForm, tensorFormOf, type IntrinsicSymmetry, type TensorForm, type TensorParity, type TensorRank, type TensorSpec, type TimeParity, } from './tensors/tensorForm.js';
34
36
  export { TENSOR_PROPERTIES, type TensorProperty, type TensorPropertyName } from './tensors/propertyTable.js';
35
37
  export { allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, } from './tensors/tensorProperties.js';
@@ -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;AAEvC,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EACL,aAAa,EACb,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,aAAa,IAAI,QAAQ,EACzB,qBAAqB,EACrB,UAAU,IAAI,YAAY,EAC1B,mBAAmB,IAAI,qBAAqB,EAC7C,MAAM,8BAA8B,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AACvC,2GAA2G;AAC3G,MAAM,MAAM,aAAa,GAAG,qBAAqB,CAAC;AAClD,uHAAuH;AACvH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAClF,wCAAwC;AACxC,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,aAAa,CAAC,CAAC;AAEvE,OAAO,EACL,yBAAyB,IAAI,gBAAgB,EAC7C,sBAAsB,IAAI,cAAc,EACxC,UAAU,EACV,uBAAuB,IAAI,eAAe,EAC1C,mBAAmB,IAAI,WAAW,EAClC,UAAU,EACV,UAAU,EACV,QAAQ,EACR,MAAM,EACN,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,U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B,KAAK,YAAY,EACjB,KAAK,SAAS,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,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,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,GACjB,MAAM,+BAA+B,CAAC"}
package/dist/magnetic.js CHANGED
@@ -16,6 +16,8 @@ export { holohedry, isCentrosymmetricOf, isChiralOf } from './pointGroups/proper
16
16
  export { LATTICE_SYMMETRY_DIRECTIONS } from './symmetryDirections.js';
17
17
  export { describeOperations, symmetryDirections, } from './pointGroups/elements.js';
18
18
  export { siteSymmetry } from './siteSymmetry.js';
19
+ export { describeOperationsOf, pointGroupOf, } from './pointGroups/identify.js';
20
+ export { latticeOperations, orbit, orbitOf, } from './pointGroups/orbits.js';
19
21
  export { rotateTensor, tensorForm, tensorFormOf, } from './tensors/tensorForm.js';
20
22
  export { TENSOR_PROPERTIES } from './tensors/propertyTable.js';
21
23
  export { allowedProperties, allowedPropertiesOf, allowsProperty, allowsPropertyOf, } from './tensors/tensorProperties.js';
@@ -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;AAIvC,OAAO,EACL,aAAa,EACb,YAAY,GAIb,MAAM,cAAc,CAAC;AAqBtB,OAAO,EACL,yBAAyB,IAAI,gBAAgB,EAC7C,sBAAsB,IAAI,cAAc,EACxC,UAAU,EACV,uBAAuB,IAAI,eAAe,EAC1C,mBAAmB,IA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,EACpB,YAAY,GAKb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,KAAK,EACL,OAAO,GAKR,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,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,GACjB,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Crystal forms of the crystal classes, in the ITC convention: for each Wyckoff position the basic
3
+ * form and the limiting forms as ITA prints them, with the 47 forms of ITA Table 3.2.1.3
4
+ * (docs/conventions.md, "Crystal forms").
5
+ */
6
+ import type { Vec3 } from '../linalg.js';
7
+ import type { PointGroupKey, SettingOptions } from './pointGroups.js';
8
+ import { type Hkl } from './wyckoff.js';
9
+ /** One of the 47 crystal forms of ITA Table 3.2.1.3. */
10
+ export interface CrystalFormType {
11
+ /** ITA's number of the form, 1 to 47. */
12
+ readonly number: number;
13
+ /** ITA's English name of the form as printed, e.g. `Tetragonal prism`, `Sphenoid, dome, or dihedron`. */
14
+ readonly name: string;
15
+ /** Number of faces. */
16
+ readonly faces: number;
17
+ /**
18
+ * The eigensymmetry as printed: the point group of the form as a polyhedron, e.g. `4/mmm`, `-62m`;
19
+ * `∞m` for the pedion and `∞/mm` for the pinacoid.
20
+ */
21
+ readonly eigensymmetry: string;
22
+ }
23
+ /** One crystal form of a crystal class: a set of faces equivalent under the class. */
24
+ export interface CrystalForm {
25
+ /** ITA's letter of the Wyckoff position the faces belong to. */
26
+ readonly letter: string;
27
+ /** Number of faces: the multiplicity of the Wyckoff position. */
28
+ readonly multiplicity: number;
29
+ /** Oriented site-symmetry symbol of the Wyckoff position, e.g. `..m` (the face symmetry). */
30
+ readonly siteSymmetry: string;
31
+ /**
32
+ * True for a basic form, a form of lowest eigensymmetry of the position (two at the faces (hhl) of
33
+ * -43m and m-3m), false for a limiting form: its faces have the face symmetry of the position,
34
+ * but the form has a higher eigensymmetry (ITA 6th ed., § 3.2.1.2.2, p. 723).
35
+ */
36
+ readonly basic: boolean;
37
+ /** The number of the form in `CRYSTAL_FORM_TYPES` (ITA Table 3.2.1.3), 1 to 47. */
38
+ readonly formType: number;
39
+ /**
40
+ * ITA's first face as printed, components separated by commas, e.g. `h,0,l`, or `h,h,-2h,l`
41
+ * (Bravais–Miller indices) for hexagonal axes; a leading `-` is an overbar.
42
+ */
43
+ readonly millerIndices: string;
44
+ /** The condition ITA prints with the form, `|h|<|l|` or `|h|>|l|` (cubic forms (hhl)); absent otherwise. */
45
+ readonly condition?: string;
46
+ /**
47
+ * A face of the form with numbers: `millerIndices` with h = 3, k = 2, l = 1, and with h = 1, l = 3
48
+ * where the condition is `|h|<|l|`.
49
+ */
50
+ readonly representative: {
51
+ /** The Miller indices (hkl) of the face. */
52
+ readonly hkl: Hkl;
53
+ /**
54
+ * Its face normal, a Cartesian unit vector. Monoclinic and triclinic: the normal for a, b, c along
55
+ * x, y, z (no cell angles), exact for the unique axis only.
56
+ */
57
+ readonly cartesian: Vec3;
58
+ };
59
+ }
60
+ /** The 47 crystal forms of ITA Table 3.2.1.3, in ITA's order: `CRYSTAL_FORM_TYPES[n - 1]` is form n. */
61
+ export declare const CRYSTAL_FORM_TYPES: readonly CrystalFormType[];
62
+ /**
63
+ * The crystal forms of a crystal class in ITA's order: by Wyckoff position (general position
64
+ * first), each position's basic forms before its limiting forms, as ITA 6th ed. Table 3.2.3.2
65
+ * prints them. ITC convention only (throws a RangeError for `'birss'` and for a magnetic point
66
+ * group with time reversal), like the Wyckoff positions. For `mm2` settings 2 and 3 (`2mm`, `m2m`),
67
+ * which ITA does not print, the forms of setting 1 carried into their frame.
68
+ */
69
+ export declare function crystalForms(key: PointGroupKey, options?: SettingOptions): readonly CrystalForm[];
70
+ //# sourceMappingURL=crystalForms.d.ts.map
@@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kBAAkB,EAAE,SAAS,eAAe,EAExD,CAAC;AAqBF;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,WAAW,EAAE,CAoCjG"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Crystal forms of the crystal classes, in the ITC convention: for each Wyckoff position the basic
3
+ * form and the limiting forms as ITA prints them, with the 47 forms of ITA Table 3.2.1.3
4
+ * (docs/conventions.md, "Crystal forms").
5
+ */
6
+ import { ITA_FORMS, ITA_FORM_TYPES } from './crystalFormsData.js';
7
+ import { REPRESENTATIVE_VALUES, faceBasis, itcSetting, normal, numericHkl, permutationFromSetting1, permutePattern, printedEntry, wyckoffPositions, } from './wyckoff.js';
8
+ /** The 47 crystal forms of ITA Table 3.2.1.3, in ITA's order: `CRYSTAL_FORM_TYPES[n - 1]` is form n. */
9
+ export const CRYSTAL_FORM_TYPES = Object.freeze(ITA_FORM_TYPES.map(([number, name, faces, eigensymmetry]) => Object.freeze({ number, name, faces, eigensymmetry })));
10
+ /** h, k, l of the representative for the condition |h| < |l|. */
11
+ const SMALL_H = Object.freeze({ h: 1, k: 2, l: 3 });
12
+ const HKL = 'hkl';
13
+ /** The printed rows of a setting; for a setting ITA does not print, those of setting 1 carried into its frame. */
14
+ function printedRows(key, setting) {
15
+ const entry = printedEntry(ITA_FORMS, key, setting);
16
+ if (entry)
17
+ return entry.rows;
18
+ if (setting === 1)
19
+ throw new Error(`Point group ${key}: no printed crystal forms for setting 1`);
20
+ const r = permutationFromSetting1(key, setting);
21
+ return printedRows(key, 1).map(([letter, basic, type, miller, condition]) => {
22
+ if (condition !== undefined)
23
+ throw new Error(`Cannot carry the condition ${condition} into another setting`);
24
+ return [letter, basic, type, permutePattern(miller, r, HKL)];
25
+ });
26
+ }
27
+ const cache = new Map();
28
+ /**
29
+ * The crystal forms of a crystal class in ITA's order: by Wyckoff position (general position
30
+ * first), each position's basic forms before its limiting forms, as ITA 6th ed. Table 3.2.3.2
31
+ * prints them. ITC convention only (throws a RangeError for `'birss'` and for a magnetic point
32
+ * group with time reversal), like the Wyckoff positions. For `mm2` settings 2 and 3 (`2mm`, `m2m`),
33
+ * which ITA does not print, the forms of setting 1 carried into their frame.
34
+ */
35
+ export function crystalForms(key, options) {
36
+ const setting = itcSetting(key, options, 'Crystal forms');
37
+ const cacheKey = `${key}#${setting}`;
38
+ let result = cache.get(cacheKey);
39
+ if (!result) {
40
+ const positions = wyckoffPositions(key, { convention: 'itc', setting });
41
+ const basis = faceBasis(key);
42
+ result = Object.freeze(printedRows(key, setting).map(([letter, basic, formType, millerIndices, condition]) => {
43
+ const position = positions.find((p) => p.letter === letter);
44
+ if (!position)
45
+ throw new Error(`Point group ${key}, setting ${setting}: no Wyckoff position ${letter}`);
46
+ if (CRYSTAL_FORM_TYPES[formType - 1].faces !== position.multiplicity) {
47
+ throw new Error(`Point group ${key}, setting ${setting}: form ${formType} does not have the multiplicity of position ${letter}`);
48
+ }
49
+ const values = condition === '|h|<|l|' ? SMALL_H : REPRESENTATIVE_VALUES;
50
+ const hkl = numericHkl(millerIndices, values);
51
+ return Object.freeze({
52
+ letter,
53
+ multiplicity: position.multiplicity,
54
+ siteSymmetry: position.siteSymmetry,
55
+ basic,
56
+ formType,
57
+ millerIndices,
58
+ ...(condition === undefined ? {} : { condition }),
59
+ representative: Object.freeze({
60
+ hkl: Object.freeze(hkl),
61
+ cartesian: Object.freeze(normal(basis, hkl)),
62
+ }),
63
+ });
64
+ }));
65
+ cache.set(cacheKey, result);
66
+ }
67
+ return result;
68
+ }
69
+ //# sourceMappingURL=crystalForms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crystalForms.js","sourceRoot":"","sources":["../../src/pointGroups/crystalForms.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,SAAS,EAAE,cAAc,EAAgB,MAAM,uBAAuB,CAAC;AAChF,OAAO,EACL,qBAAqB,EACrB,S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,CAChH,CAAC;YACJ,CAAC;YACD,MAAM,MAAM,GAAG,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC;YACzE,MAAM,GAAG,GAAG,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;YAC9C,OAAO,MAAM,CAAC,MAAM,CAAC;gBACnB,MAAM;gBACN,YAAY,EAAE,QAAQ,CAAC,YAAY;gBACnC,YAAY,EAAE,QAAQ,CAAC,YAAY;gBACnC,KAAK;gBACL,QAAQ;gBACR,aAAa;gBACb,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC;gBACjD,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC;oBAC5B,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAQ;oBAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAS;iBACrD,CAAC;aACH,CAAC,CAAC;QACL,CAAC,CAAC,CACH,CAAC;QACF,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC9B,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The crystal forms of the crystal classes as ITA prints them (6th ed., 2016): the 47 forms of
3
+ * Table 3.2.1.3 (pp. 724–726: number, name, number of faces, eigensymmetry) and, per printed setting
4
+ * of Table 3.2.3.2 (pp. 745–769), the face forms of each Wyckoff position, basic form first, then
5
+ * the limiting forms. The same rows are in references/itc/vol-a-table-3.2.1.3-crystal-forms.md and
6
+ * references/itc/vol-a-table-3.2.3.2-face-forms.md, which the reference test re-parses and compares
7
+ * with this file; change both only by transcription from print.
8
+ *
9
+ * Notation as in wyckoffData.ts: a leading `-` is an overbar; components separated by commas;
10
+ * Bravais–Miller indices (four components) for hexagonal axes.
11
+ */
12
+ /** [number, name as printed, number of faces, eigensymmetry]. */
13
+ export type FormTypeRow = readonly [number, string, number, string];
14
+ /** The 47 crystal forms of ITA Table 3.2.1.3, in printed order. */
15
+ export declare const ITA_FORM_TYPES: readonly FormTypeRow[];
16
+ /**
17
+ * [Wyckoff letter, basic (false: a limiting form), number in ITA_FORM_TYPES, Miller indices of the
18
+ * first face, condition printed with the form (`|h|<|l|`)].
19
+ */
20
+ export type FormRow = readonly [string, boolean, number, string, string?];
21
+ export interface FormEntry {
22
+ /** ITC short symbol of the setting as in the headline of the entry. */
23
+ readonly symbol: string;
24
+ /** Monoclinic: the unique axis of the entry. */
25
+ readonly uniqueAxis?: 'b' | 'c';
26
+ /** Printed page. */
27
+ readonly page: number;
28
+ /** In printed order: general position first, each position's basic form before its limiting forms. */
29
+ readonly rows: readonly FormRow[];
30
+ }
31
+ export declare const ITA_FORMS: readonly FormEntry[];
32
+ //# sourceMappingURL=crystalFormsData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crystalFormsData.d.ts","sourceRoot":"","sources":["../../src/pointGroups/crystalFormsData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,iEAAiE;AACjE,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpE,mEAAmE;AACnE,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAgDhD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAE1E,MAAM,WAAW,SAAS;IACxB,uEAAuE;IACvE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IAChC,oBAAoB;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,sGAAsG;IACtG,QAAQ,CAAC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,EAAE,SAAS,SAAS,EAuczC,CAAC"}