symcrys 0.6.0 → 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 (89) hide show
  1. package/README.md +5 -4
  2. package/dist/crystalClasses.d.ts +106 -1
  3. package/dist/crystalClasses.d.ts.map +1 -1
  4. package/dist/crystalClasses.js +80 -1
  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/lattice.d.ts +5 -1
  11. package/dist/lattice.d.ts.map +1 -1
  12. package/dist/lattice.js +3 -1
  13. package/dist/lattice.js.map +1 -1
  14. package/dist/magnetic.d.ts +3 -0
  15. package/dist/magnetic.d.ts.map +1 -1
  16. package/dist/magnetic.js +2 -0
  17. package/dist/magnetic.js.map +1 -1
  18. package/dist/operations.d.ts +2 -0
  19. package/dist/operations.d.ts.map +1 -1
  20. package/dist/operations.js.map +1 -1
  21. package/dist/pointGroups/crystalForms.d.ts +70 -0
  22. package/dist/pointGroups/crystalForms.d.ts.map +1 -0
  23. package/dist/pointGroups/crystalForms.js +69 -0
  24. package/dist/pointGroups/crystalForms.js.map +1 -0
  25. package/dist/pointGroups/crystalFormsData.d.ts +32 -0
  26. package/dist/pointGroups/crystalFormsData.d.ts.map +1 -0
  27. package/dist/pointGroups/crystalFormsData.js +518 -0
  28. package/dist/pointGroups/crystalFormsData.js.map +1 -0
  29. package/dist/pointGroups/data.d.ts +2 -1
  30. package/dist/pointGroups/data.d.ts.map +1 -1
  31. package/dist/pointGroups/data.js.map +1 -1
  32. package/dist/pointGroups/elements.d.ts +9 -2
  33. package/dist/pointGroups/elements.d.ts.map +1 -1
  34. package/dist/pointGroups/elements.js +7 -3
  35. package/dist/pointGroups/elements.js.map +1 -1
  36. package/dist/pointGroups/identify.d.ts +75 -0
  37. package/dist/pointGroups/identify.d.ts.map +1 -0
  38. package/dist/pointGroups/identify.js +193 -0
  39. package/dist/pointGroups/identify.js.map +1 -0
  40. package/dist/pointGroups/magneticData.d.ts +6 -1
  41. package/dist/pointGroups/magneticData.d.ts.map +1 -1
  42. package/dist/pointGroups/magneticData.js +4 -0
  43. package/dist/pointGroups/magneticData.js.map +1 -1
  44. package/dist/pointGroups/orbits.d.ts +85 -0
  45. package/dist/pointGroups/orbits.d.ts.map +1 -0
  46. package/dist/pointGroups/orbits.js +134 -0
  47. package/dist/pointGroups/orbits.js.map +1 -0
  48. package/dist/pointGroups/pointGroups.d.ts +10 -2
  49. package/dist/pointGroups/pointGroups.d.ts.map +1 -1
  50. package/dist/pointGroups/pointGroups.js +2 -2
  51. package/dist/pointGroups/pointGroups.js.map +1 -1
  52. package/dist/pointGroups/wyckoff.d.ts +42 -1
  53. package/dist/pointGroups/wyckoff.d.ts.map +1 -1
  54. package/dist/pointGroups/wyckoff.js +55 -27
  55. package/dist/pointGroups/wyckoff.js.map +1 -1
  56. package/dist/siteSymmetry.d.ts +2 -1
  57. package/dist/siteSymmetry.d.ts.map +1 -1
  58. package/dist/siteSymmetry.js.map +1 -1
  59. package/dist/tensors/propertyTable.d.ts +12 -2
  60. package/dist/tensors/propertyTable.d.ts.map +1 -1
  61. package/dist/tensors/propertyTable.js +11 -2
  62. package/dist/tensors/propertyTable.js.map +1 -1
  63. package/dist/tensors/tensorForm.d.ts +6 -1
  64. package/dist/tensors/tensorForm.d.ts.map +1 -1
  65. package/dist/tensors/tensorForm.js +1 -1
  66. package/dist/tensors/tensorForm.js.map +1 -1
  67. package/dist/version.d.ts +6 -2
  68. package/dist/version.d.ts.map +1 -1
  69. package/dist/version.js +6 -2
  70. package/dist/version.js.map +1 -1
  71. package/package.json +2 -2
  72. package/src/crystalClasses.ts +164 -3
  73. package/src/index.ts +12 -0
  74. package/src/lattice.ts +5 -1
  75. package/src/magnetic.ts +18 -0
  76. package/src/operations.ts +2 -0
  77. package/src/pointGroups/crystalForms.ts +143 -0
  78. package/src/pointGroups/crystalFormsData.ts +539 -0
  79. package/src/pointGroups/data.ts +4 -1
  80. package/src/pointGroups/elements.ts +10 -3
  81. package/src/pointGroups/identify.ts +255 -0
  82. package/src/pointGroups/magneticData.ts +7 -1
  83. package/src/pointGroups/orbits.ts +228 -0
  84. package/src/pointGroups/pointGroups.ts +10 -2
  85. package/src/pointGroups/wyckoff.ts +61 -26
  86. package/src/siteSymmetry.ts +2 -1
  87. package/src/tensors/propertyTable.ts +12 -2
  88. package/src/tensors/tensorForm.ts +6 -1
  89. package/src/version.ts +6 -2
@@ -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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,MAAM,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,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M,EAAE,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"}