@mat3ra/esse 2025.4.22-0 → 2025.5.13-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/.eslintrc.json +3 -9
- package/.prettierrc +2 -1
- package/dist/js/example/material/reusable/repetitions.json +5 -0
- package/dist/js/example/material/reusable/slab/miller_indices.json +5 -0
- package/dist/js/example/material/reusable/slab/number_of_layers.json +1 -0
- package/dist/js/example/material/reusable/slab/termination.json +4 -0
- package/dist/js/example/material/reusable/slab/vacuum.json +1 -0
- package/dist/js/example/material/reusable/supercell_matrix_2d.json +10 -0
- package/dist/js/example/material/reusable/supercell_matrix_3d.json +17 -0
- package/dist/js/example/materials_category/single_material/two_dimensional/slab/configuration.json +150 -0
- package/dist/js/schema/core/abstract/coordinate_2d.json +11 -0
- package/dist/js/schema/material/reusable/repetitions.json +18 -0
- package/dist/js/schema/material/reusable/slab/enums.json +11 -0
- package/dist/js/schema/material/reusable/slab/miller_indices.json +17 -0
- package/dist/js/schema/material/reusable/slab/number_of_layers.json +9 -0
- package/dist/js/schema/material/reusable/slab/termination.json +23 -0
- package/dist/js/schema/material/reusable/slab/vacuum.json +9 -0
- package/dist/js/schema/material/reusable/supercell_matrix_2d.json +27 -0
- package/dist/js/schema/material/reusable/supercell_matrix_3d.json +34 -0
- package/dist/js/schema/materials_category/single_material/two_dimensional/slab/configuration.json +709 -0
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +360 -0
- package/example/material/reusable/repetitions.json +1 -0
- package/example/material/reusable/slab/miller_indices.json +5 -0
- package/example/material/reusable/slab/number_of_layers.json +1 -0
- package/example/material/reusable/slab/termination.json +4 -0
- package/example/material/reusable/slab/vacuum.json +1 -0
- package/example/material/reusable/supercell_matrix_2d.json +10 -0
- package/example/material/reusable/supercell_matrix_3d.json +5 -0
- package/example/materials_category/single_material/two_dimensional/slab/configuration.json +25 -0
- package/package.json +10 -4
- package/schema/core/abstract/coordinate_2d.json +11 -0
- package/schema/material/reusable/repetitions.json +18 -0
- package/schema/material/reusable/slab/enums.json +11 -0
- package/schema/material/reusable/slab/miller_indices.json +17 -0
- package/schema/material/reusable/slab/number_of_layers.json +9 -0
- package/schema/material/reusable/slab/termination.json +23 -0
- package/schema/material/reusable/slab/vacuum.json +9 -0
- package/schema/material/reusable/supercell_matrix_2d.json +27 -0
- package/schema/material/reusable/supercell_matrix_3d.json +34 -0
- package/schema/materials_category/single_material/two_dimensional/slab/configuration.json +42 -0
package/.eslintrc.json
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"import/resolver": {
|
|
6
|
-
"node": {
|
|
7
|
-
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
2
|
+
"extends": [
|
|
3
|
+
"@exabyte-io/eslint-config/json"
|
|
4
|
+
]
|
|
11
5
|
}
|
package/.prettierrc
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
15
|
package/dist/js/example/materials_category/single_material/two_dimensional/slab/configuration.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bulk": {
|
|
3
|
+
"_id": "LCthJ6E2QabYCZqf3",
|
|
4
|
+
"basis": {
|
|
5
|
+
"coordinates": [
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"value": [
|
|
9
|
+
0,
|
|
10
|
+
0,
|
|
11
|
+
0
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": 2,
|
|
16
|
+
"value": [
|
|
17
|
+
0.25,
|
|
18
|
+
0.25,
|
|
19
|
+
0.25
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"elements": [
|
|
24
|
+
{
|
|
25
|
+
"id": 1,
|
|
26
|
+
"value": "Si"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": 2,
|
|
30
|
+
"value": "Si"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "basis",
|
|
34
|
+
"units": "crystal"
|
|
35
|
+
},
|
|
36
|
+
"createdAt": "2016-04-03T05:25:37.430Z",
|
|
37
|
+
"creator": {
|
|
38
|
+
"_id": "HtxACY2wX4b2hS8Rv",
|
|
39
|
+
"cls": "User",
|
|
40
|
+
"slug": "exadmin"
|
|
41
|
+
},
|
|
42
|
+
"derivedProperties": [
|
|
43
|
+
{
|
|
44
|
+
"name": "volume",
|
|
45
|
+
"units": "angstrom^3",
|
|
46
|
+
"value": 131.1
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "density",
|
|
50
|
+
"units": "g/cm^3",
|
|
51
|
+
"value": 2.33
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "symmetry",
|
|
55
|
+
"spaceGroupSymbol": "Fd-3m",
|
|
56
|
+
"tolerance": {
|
|
57
|
+
"units": "angstrom",
|
|
58
|
+
"value": 0.3
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"degree": 10,
|
|
63
|
+
"name": "p-norm",
|
|
64
|
+
"value": 0.71
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"element": "Si",
|
|
68
|
+
"name": "elemental_ratio",
|
|
69
|
+
"value": 0.71
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "inchi",
|
|
73
|
+
"value": ""
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "inchi_key",
|
|
77
|
+
"value": ""
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"exabyteId": "RKiswuxHKkF3uvLyA",
|
|
81
|
+
"formula": "Si",
|
|
82
|
+
"hash": "4ac3fa057e3530628eb1295c77110eaa",
|
|
83
|
+
"isDefault": false,
|
|
84
|
+
"isNonPeriodic": false,
|
|
85
|
+
"lattice": {
|
|
86
|
+
"name": "lattice",
|
|
87
|
+
"a": 5.14,
|
|
88
|
+
"alpha": 90,
|
|
89
|
+
"b": 5.14,
|
|
90
|
+
"beta": 90,
|
|
91
|
+
"c": 5.14,
|
|
92
|
+
"gamma": 90,
|
|
93
|
+
"type": "CUB",
|
|
94
|
+
"units": {
|
|
95
|
+
"angle": "degree",
|
|
96
|
+
"length": "angstrom"
|
|
97
|
+
},
|
|
98
|
+
"vectors": {
|
|
99
|
+
"a": [
|
|
100
|
+
5,
|
|
101
|
+
0.000121312,
|
|
102
|
+
0.000131415
|
|
103
|
+
],
|
|
104
|
+
"alat": 1,
|
|
105
|
+
"b": [
|
|
106
|
+
0.000121312,
|
|
107
|
+
5,
|
|
108
|
+
0.000121314
|
|
109
|
+
],
|
|
110
|
+
"c": [
|
|
111
|
+
0.000121313,
|
|
112
|
+
0.000121312,
|
|
113
|
+
5
|
|
114
|
+
],
|
|
115
|
+
"units": "angstrom"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"name": "Silicon FCC",
|
|
119
|
+
"owner": {
|
|
120
|
+
"_id": "HtxACY2wX4b2hS8Rv",
|
|
121
|
+
"cls": "Account",
|
|
122
|
+
"slug": "exabyte"
|
|
123
|
+
},
|
|
124
|
+
"scaledHash": "5bd4eb168e3530628eb1295d88221cbb",
|
|
125
|
+
"schemaVersion": "0.2.0",
|
|
126
|
+
"slug": "silicon-fcc",
|
|
127
|
+
"unitCellFormula": "Si2",
|
|
128
|
+
"updatedAt": "2016-04-04T17:58:42.867Z"
|
|
129
|
+
},
|
|
130
|
+
"miller_indices": [
|
|
131
|
+
0,
|
|
132
|
+
0,
|
|
133
|
+
1
|
|
134
|
+
],
|
|
135
|
+
"number_of_layers": 3,
|
|
136
|
+
"vacuum": 15,
|
|
137
|
+
"xy_supercell_matrix": [
|
|
138
|
+
[
|
|
139
|
+
1,
|
|
140
|
+
0
|
|
141
|
+
],
|
|
142
|
+
[
|
|
143
|
+
0,
|
|
144
|
+
1
|
|
145
|
+
]
|
|
146
|
+
],
|
|
147
|
+
"use_conventional_cell": true,
|
|
148
|
+
"use_orthogonal_z": true,
|
|
149
|
+
"make_primitive": true
|
|
150
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/repetitions",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Crystal Repetitions Schema",
|
|
5
|
+
"description": "Number of unit cells to repeat in each direction for a crystal structure.",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"minItems": 3,
|
|
8
|
+
"maxItems": 3,
|
|
9
|
+
"default": [
|
|
10
|
+
1,
|
|
11
|
+
1,
|
|
12
|
+
1
|
|
13
|
+
],
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"minimum": 1
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/slab/enums",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Surface Types Enum",
|
|
5
|
+
"$comment": "The surface types used by passivation and surface analysis",
|
|
6
|
+
"enum": [
|
|
7
|
+
"top",
|
|
8
|
+
"bottom",
|
|
9
|
+
"both"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/slab/miller-indices",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Miller Indices Schema",
|
|
5
|
+
"description": "Miller indices for crystallographic plane designation",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"minItems": 3,
|
|
8
|
+
"maxItems": 3,
|
|
9
|
+
"default": [
|
|
10
|
+
0,
|
|
11
|
+
0,
|
|
12
|
+
1
|
|
13
|
+
],
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "integer"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/slab/number-of-layers",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "number_of_layers Schema",
|
|
5
|
+
"description": "Number of atomic layers in a structural component",
|
|
6
|
+
"type": "integer",
|
|
7
|
+
"minimum": 1,
|
|
8
|
+
"default": 1
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/slab/termination",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Termination Schema",
|
|
5
|
+
"description": "Defines a specific termination of a slab",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"chemical_elements",
|
|
9
|
+
"space_group_symmetry_label"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"chemical_elements": {
|
|
13
|
+
"title": "Chemical Elements",
|
|
14
|
+
"description": "Chemical elements at the termination",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"space_group_symmetry_label": {
|
|
18
|
+
"title": "Space Group Symmetry Label",
|
|
19
|
+
"description": "Space group symmetry designation for the termination",
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/supercell-matrix-2d",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Supercell Matrix 2D Schema",
|
|
5
|
+
"description": "Supercell matrix for xy plane transformations",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"minItems": 2,
|
|
8
|
+
"maxItems": 2,
|
|
9
|
+
"default": [
|
|
10
|
+
[
|
|
11
|
+
1,
|
|
12
|
+
0
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
0,
|
|
16
|
+
1
|
|
17
|
+
]
|
|
18
|
+
],
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"minItems": 2,
|
|
22
|
+
"maxItems": 2,
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "integer"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/reusable/supercell-matrix-3d",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Supercell Matrix 3D Schema",
|
|
5
|
+
"description": "3x3 matrix of integers for transforming a unit cell into a supercell",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"minItems": 3,
|
|
8
|
+
"maxItems": 3,
|
|
9
|
+
"default": [
|
|
10
|
+
[
|
|
11
|
+
1,
|
|
12
|
+
0,
|
|
13
|
+
0
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
0,
|
|
17
|
+
1,
|
|
18
|
+
0
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
0,
|
|
22
|
+
0,
|
|
23
|
+
1
|
|
24
|
+
]
|
|
25
|
+
],
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"minItems": 3,
|
|
29
|
+
"maxItems": 3,
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "integer"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|