@mat3ra/made 2026.8.13-0 → 2026.8.26-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/package.json +9 -5
- package/.babelrc +0 -10
- package/.eslintrc.json +0 -11
- package/.gitattributes +0 -1
- package/.husky/post-checkout +0 -3
- package/.husky/post-commit +0 -3
- package/.husky/post-merge +0 -3
- package/.husky/pre-commit +0 -6
- package/.husky/pre-push +0 -3
- package/.mocharc.json +0 -5
- package/.pre-commit-config.yaml +0 -26
- package/.prettierignore +0 -2
- package/.prettierrc +0 -6
- package/AGENTS.md +0 -133
- package/MANIFEST.in +0 -1
- package/data/constants.json +0 -13
- package/data/reciprocal_paths.json +0 -111
- package/images/made/tools/tools_diagram_general.png +0 -3
- package/images/made/tools/tools_diagram_interface.png +0 -3
- package/pyproject.toml +0 -123
- package/scripts/generate-mixins.ts +0 -28
- package/src/__init__.py +0 -0
- package/src/js/Material.ts +0 -618
- package/src/js/basis/basis.ts +0 -634
- package/src/js/basis/constrained_basis.ts +0 -115
- package/src/js/basis/coordinates.ts +0 -92
- package/src/js/basis/elements.ts +0 -24
- package/src/js/basis/helpers.ts +0 -20
- package/src/js/basis/labels.ts +0 -6
- package/src/js/cell/cell.ts +0 -149
- package/src/js/cell/conventional_cell.ts +0 -86
- package/src/js/cell/primitive_cell.ts +0 -166
- package/src/js/constants/molecule.ts +0 -18
- package/src/js/constants.ts +0 -4
- package/src/js/constraints/constraints.ts +0 -45
- package/src/js/generated/MaterialSchemaMixin.ts +0 -79
- package/src/js/lattice/lattice.ts +0 -308
- package/src/js/lattice/lattice_types.ts +0 -134
- package/src/js/lattice/reciprocal/lattice_reciprocal.ts +0 -206
- package/src/js/lattice/reciprocal/paths.ts +0 -39
- package/src/js/lattice/reciprocal/symmetry_points.ts +0 -886
- package/src/js/lattice/unit_cell.ts +0 -66
- package/src/js/made.ts +0 -62
- package/src/js/parsers/cif.ts +0 -25
- package/src/js/parsers/errors.ts +0 -6
- package/src/js/parsers/espresso.ts +0 -29
- package/src/js/parsers/native_format_parsers.ts +0 -52
- package/src/js/parsers/parsers.ts +0 -13
- package/src/js/parsers/poscar.ts +0 -218
- package/src/js/parsers/xyz.ts +0 -190
- package/src/js/parsers/xyz_combinatorial_basis.ts +0 -268
- package/src/js/tools/basis.ts +0 -131
- package/src/js/tools/cell.ts +0 -40
- package/src/js/tools/index.ts +0 -11
- package/src/js/tools/material.ts +0 -64
- package/src/js/tools/supercell.ts +0 -89
- package/src/js/tools/surface.ts +0 -213
- package/src/py/__init__.py +0 -0
- package/src/py/mat3ra/__init__.py +0 -1
- package/src/py/mat3ra/made/__init__.py +0 -7
- package/src/py/mat3ra/made/basis/__init__.py +0 -255
- package/src/py/mat3ra/made/basis/coordinates.py +0 -43
- package/src/py/mat3ra/made/cell/__init__.py +0 -55
- package/src/py/mat3ra/made/cell/primitive_cell.py +0 -156
- package/src/py/mat3ra/made/data_helper.py +0 -5
- package/src/py/mat3ra/made/lattice.py +0 -195
- package/src/py/mat3ra/made/material.py +0 -135
- package/src/py/mat3ra/made/metadata.py +0 -45
- package/src/py/mat3ra/made/reciprocal/__init__.py +0 -5
- package/src/py/mat3ra/made/reciprocal/lattice_reciprocal.py +0 -147
- package/src/py/mat3ra/made/reciprocal/paths.py +0 -30
- package/src/py/mat3ra/made/reciprocal/symmetry_points.py +0 -385
- package/src/py/mat3ra/made/tools/README.md +0 -173
- package/src/py/mat3ra/made/tools/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/analyze/__init__.py +0 -31
- package/src/py/mat3ra/made/tools/analyze/basis/__init__.py +0 -3
- package/src/py/mat3ra/made/tools/analyze/basis/analyzer.py +0 -50
- package/src/py/mat3ra/made/tools/analyze/build_metadata_analyzer.py +0 -32
- package/src/py/mat3ra/made/tools/analyze/build_metadata_analyzer_factory.py +0 -31
- package/src/py/mat3ra/made/tools/analyze/coordination.py +0 -56
- package/src/py/mat3ra/made/tools/analyze/crystal_site/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/analyze/crystal_site/adatom_crystal_site_material_analyzer.py +0 -35
- package/src/py/mat3ra/made/tools/analyze/crystal_site/adatom_material_analyzer.py +0 -49
- package/src/py/mat3ra/made/tools/analyze/crystal_site/crystal_site_analyzer.py +0 -65
- package/src/py/mat3ra/made/tools/analyze/crystal_site/voronoi_crystal_site_analyzer.py +0 -47
- package/src/py/mat3ra/made/tools/analyze/enums.py +0 -33
- package/src/py/mat3ra/made/tools/analyze/fingerprint/__init__.py +0 -4
- package/src/py/mat3ra/made/tools/analyze/fingerprint/layers/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/analyze/fingerprint/layers/layered_fingerprint_along_axis.py +0 -83
- package/src/py/mat3ra/made/tools/analyze/fingerprint/layers/unique_element_string_per_layer.py +0 -9
- package/src/py/mat3ra/made/tools/analyze/interface/__init__.py +0 -20
- package/src/py/mat3ra/made/tools/analyze/interface/commensurate.py +0 -156
- package/src/py/mat3ra/made/tools/analyze/interface/enums.py +0 -60
- package/src/py/mat3ra/made/tools/analyze/interface/grain_boundary.py +0 -80
- package/src/py/mat3ra/made/tools/analyze/interface/simple.py +0 -251
- package/src/py/mat3ra/made/tools/analyze/interface/twisted_nanoribbons.py +0 -91
- package/src/py/mat3ra/made/tools/analyze/interface/utils/__init__.py +0 -77
- package/src/py/mat3ra/made/tools/analyze/interface/utils/holders.py +0 -14
- package/src/py/mat3ra/made/tools/analyze/interface/utils/vector.py +0 -56
- package/src/py/mat3ra/made/tools/analyze/interface/zsl.py +0 -259
- package/src/py/mat3ra/made/tools/analyze/interface_material.py +0 -45
- package/src/py/mat3ra/made/tools/analyze/lattice/__init__.py +0 -2
- package/src/py/mat3ra/made/tools/analyze/lattice/analyzer.py +0 -126
- package/src/py/mat3ra/made/tools/analyze/lattice/helpers.py +0 -31
- package/src/py/mat3ra/made/tools/analyze/lattice_lines.py +0 -30
- package/src/py/mat3ra/made/tools/analyze/lattice_planes.py +0 -192
- package/src/py/mat3ra/made/tools/analyze/lattice_swap_analyzer.py +0 -105
- package/src/py/mat3ra/made/tools/analyze/material.py +0 -276
- package/src/py/mat3ra/made/tools/analyze/other.py +0 -434
- package/src/py/mat3ra/made/tools/analyze/rdf.py +0 -74
- package/src/py/mat3ra/made/tools/analyze/slab.py +0 -76
- package/src/py/mat3ra/made/tools/analyze/solid_solution_analyzer.py +0 -171
- package/src/py/mat3ra/made/tools/analyze/terrace.py +0 -105
- package/src/py/mat3ra/made/tools/analyze/utils.py +0 -162
- package/src/py/mat3ra/made/tools/bond_directions/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/bond_directions/bond_directions.py +0 -150
- package/src/py/mat3ra/made/tools/bond_directions/bond_directions_for_element_list.py +0 -7
- package/src/py/mat3ra/made/tools/bond_directions/bond_directions_templates_enum.py +0 -8
- package/src/py/mat3ra/made/tools/bond_directions/bond_directions_templates_for_element.py +0 -16
- package/src/py/mat3ra/made/tools/build/__init__.py +0 -25
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/heterostructure/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/heterostructure/helpers.py +0 -59
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/heterostructure/types.py +0 -26
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/heterostructure/utils.py +0 -139
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/__init__.py +0 -47
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/base/__init__.py +0 -11
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/base/build_parameters.py +0 -5
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/base/builder.py +0 -164
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/base/configuration.py +0 -48
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/base/helpers.py +0 -134
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/commensurate/__init__.py +0 -6
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/commensurate/helpers.py +0 -157
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/enums.py +0 -7
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/twisted/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/twisted/configuration.py +0 -13
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/twisted/helpers.py +0 -70
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/utils.py +0 -87
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/zsl/__init__.py +0 -6
- package/src/py/mat3ra/made/tools/build/compound_pristine_structures/two_dimensional/interface/zsl/helpers.py +0 -129
- package/src/py/mat3ra/made/tools/build/defective_structures/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/grain_boundary_linear/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/grain_boundary_linear/build_parameters.py +0 -12
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/grain_boundary_linear/builder.py +0 -17
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/grain_boundary_linear/configuration.py +0 -40
- package/src/py/mat3ra/made/tools/build/defective_structures/one_dimensional/grain_boundary_linear/helpers.py +0 -82
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/__init__.py +0 -1
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/solid_solution/__init__.py +0 -9
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/solid_solution/builder.py +0 -37
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/solid_solution/configuration.py +0 -30
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/solid_solution/enums.py +0 -8
- package/src/py/mat3ra/made/tools/build/defective_structures/three_dimensional/solid_solution/helpers.py +0 -76
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/adatom/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/adatom/builder.py +0 -11
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/adatom/configuration.py +0 -18
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/adatom/helpers.py +0 -137
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/adatom/types.py +0 -22
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/grain_boundary_planar/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/grain_boundary_planar/builder.py +0 -28
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/grain_boundary_planar/configuration.py +0 -55
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/grain_boundary_planar/helpers.py +0 -75
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/island/builder.py +0 -15
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/island/configuration.py +0 -16
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/island/helpers.py +0 -116
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/terrace/build_parameters.py +0 -10
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/terrace/builder.py +0 -30
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/terrace/configuration.py +0 -11
- package/src/py/mat3ra/made/tools/build/defective_structures/two_dimensional/terrace/helpers.py +0 -78
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/pair_defect/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/pair_defect/builder.py +0 -31
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/pair_defect/configuration.py +0 -45
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/pair_defect/helpers.py +0 -80
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/__init__.py +0 -40
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/atom_placement_method_enum.py +0 -14
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/base/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/base/builder.py +0 -42
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/base/configuration.py +0 -27
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/complex_defect_type_enum.py +0 -5
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/factories.py +0 -69
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/helpers.py +0 -92
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/interstitial/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/interstitial/builder.py +0 -8
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/interstitial/configuration.py +0 -29
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/interstitial/helpers.py +0 -48
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/interstitial/interstitial_placement_method_enum.py +0 -8
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/point_defect_type_enum.py +0 -8
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/substitutional/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/substitutional/builder.py +0 -6
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/substitutional/configuration.py +0 -41
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/substitutional/helpers.py +0 -43
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/substitutional/substitution_placement_method_enum.py +0 -7
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/types.py +0 -24
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/vacancy/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/vacancy/builder.py +0 -19
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/vacancy/configuration.py +0 -27
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/vacancy/helpers.py +0 -42
- package/src/py/mat3ra/made/tools/build/defective_structures/zero_dimensional/point_defect/vacancy/vacancy_placement_method_enum.py +0 -7
- package/src/py/mat3ra/made/tools/build/pristine_structures/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/pristine_structures/three_dimensional/ideal_crystal/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/pristine_structures/three_dimensional/ideal_crystal/builder.py +0 -80
- package/src/py/mat3ra/made/tools/build/pristine_structures/three_dimensional/ideal_crystal/configurations.py +0 -22
- package/src/py/mat3ra/made/tools/build/pristine_structures/three_dimensional/ideal_crystal/helpers.py +0 -40
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanoribbon/__init__.py +0 -29
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanoribbon/build_parameters.py +0 -5
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanoribbon/builders.py +0 -56
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanoribbon/configuration.py +0 -33
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanoribbon/helpers.py +0 -76
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanotape/__init__.py +0 -11
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanotape/build_parameters.py +0 -9
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanotape/builders.py +0 -83
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanotape/configuration.py +0 -35
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/nanotape/helpers.py +0 -62
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/__init__.py +0 -9
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/build_parameters.py +0 -8
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/builder.py +0 -42
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/configuration.py +0 -99
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/helpers.py +0 -95
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/termination_utils.py +0 -14
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab/utils.py +0 -61
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab_strained_supercell/builder.py +0 -22
- package/src/py/mat3ra/made/tools/build/pristine_structures/two_dimensional/slab_strained_supercell/configuration.py +0 -17
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/__init__.py +0 -19
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/analyzer.py +0 -86
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/ase_based/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/ase_based/builder.py +0 -54
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/ase_based/configuration.py +0 -19
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/enums.py +0 -42
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/helpers.py +0 -127
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/merge_based/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/merge_based/builder.py +0 -33
- package/src/py/mat3ra/made/tools/build/pristine_structures/zero_dimensional/nanoparticle/merge_based/configuration.py +0 -16
- package/src/py/mat3ra/made/tools/build/processed_structures/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/analyzers/__init__.py +0 -9
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/analyzers/coordination_based_passivation_material_analyzer.py +0 -112
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/analyzers/passivation_material_analyzer.py +0 -16
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/analyzers/surface_passivation_material_analyzer.py +0 -32
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/builder.py +0 -23
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/configuration.py +0 -31
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/enums.py +0 -7
- package/src/py/mat3ra/made/tools/build/processed_structures/two_dimensional/passivation/helpers.py +0 -151
- package/src/py/mat3ra/made/tools/build_components/__init__.py +0 -10
- package/src/py/mat3ra/made/tools/build_components/entities/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/one_dimensional/miller_indices_2d.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/two_dimensional/miller_indices.py +0 -18
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/two_dimensional/termination.py +0 -33
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/crystal_site/__init__.py +0 -2
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/crystal_site/crystal_site.py +0 -24
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/crystal_site/crystal_site_list.py +0 -9
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/point_defect_site/builder.py +0 -32
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/point_defect_site/configuration.py +0 -14
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/void_region/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/void_region/builder.py +0 -29
- package/src/py/mat3ra/made/tools/build_components/entities/auxiliary/zero_dimensional/void_region/configuration.py +0 -19
- package/src/py/mat3ra/made/tools/build_components/entities/core/two_dimensional/vacuum/builder.py +0 -48
- package/src/py/mat3ra/made/tools/build_components/entities/core/two_dimensional/vacuum/configuration.py +0 -17
- package/src/py/mat3ra/made/tools/build_components/entities/core/zero_dimensional/atom/builder.py +0 -25
- package/src/py/mat3ra/made/tools/build_components/entities/core/zero_dimensional/atom/configuration.py +0 -8
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/base_builder/__init__.py +0 -16
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/base_builder/base_configuration_pydantic.py +0 -5
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/base_builder/base_single_builder.py +0 -87
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/base_builder/build_parameters.py +0 -5
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines/__init__.py +0 -4
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines/builder.py +0 -46
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines/configuration.py +0 -19
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines/edge_types.py +0 -51
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines/helpers.py +0 -58
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated/__init__.py +0 -4
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated/builder.py +0 -42
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated/configuration.py +0 -21
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/three_dimensional/supercell/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/three_dimensional/supercell/configuration.py +0 -11
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/three_dimensional/supercell/helpers.py +0 -38
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/__init__.py +0 -24
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated/builder.py +0 -62
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated/configuration.py +0 -14
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated/helpers.py +0 -42
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/crystal_lattice_planes/__init__.py +0 -7
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/crystal_lattice_planes/builder.py +0 -39
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/crystal_lattice_planes/configuration.py +0 -24
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/slab_stack/__init__.py +0 -10
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/slab_stack/builder.py +0 -36
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/slab_stack/configuration.py +0 -31
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/two_dimensional/slab_stack/helpers.py +0 -80
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/zero_dimensional/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/entities/reusable/zero_dimensional/coordinates_shape_enum.py +0 -8
- package/src/py/mat3ra/made/tools/build_components/metadata/__init__.py +0 -2
- package/src/py/mat3ra/made/tools/build_components/metadata/build_metadata.py +0 -7
- package/src/py/mat3ra/made/tools/build_components/metadata/material_build_metadata.py +0 -35
- package/src/py/mat3ra/made/tools/build_components/metadata/material_with_build_metadata.py +0 -8
- package/src/py/mat3ra/made/tools/build_components/mixins/__init__.py +0 -2
- package/src/py/mat3ra/made/tools/build_components/mixins/convert_generated_items_ase_atoms_mixin.py +0 -8
- package/src/py/mat3ra/made/tools/build_components/mixins/convert_generated_items_pymatgen_structure_mixin.py +0 -8
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/__init__.py +0 -0
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/enums.py +0 -11
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/merge/__init__.py +0 -6
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/merge/build_parameters.py +0 -18
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/merge/builder.py +0 -93
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/merge/configuration.py +0 -20
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/stack/builder.py +0 -83
- package/src/py/mat3ra/made/tools/build_components/operations/core/combinations/stack/configuration.py +0 -24
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/__init__.py +0 -15
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/build_parameters.py +0 -5
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/builders/base.py +0 -33
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/builders/isometric.py +0 -25
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/configuration.py +0 -24
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/__init__.py +0 -13
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/atomic_mass_dependent_function_holder.py +0 -32
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/function_holder.py +0 -80
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/maxwell_boltzmann.py +0 -39
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/perturbation_function_holder.py +0 -45
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/functions/sine_wave_perturbation_function_holder.py +0 -29
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/perturb/helpers.py +0 -83
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/strain/__init__.py +0 -5
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/strain/builder.py +0 -25
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/strain/configuration.py +0 -23
- package/src/py/mat3ra/made/tools/build_components/operations/core/modifications/strain/helpers.py +0 -49
- package/src/py/mat3ra/made/tools/build_components/utils.py +0 -44
- package/src/py/mat3ra/made/tools/calculate/__init__.py +0 -149
- package/src/py/mat3ra/made/tools/calculate/ase/__init__.py +0 -133
- package/src/py/mat3ra/made/tools/calculate/ase/constraints.py +0 -91
- package/src/py/mat3ra/made/tools/calculate/calculators/__init__.py +0 -4
- package/src/py/mat3ra/made/tools/calculate/calculators/interface_material_calculator.py +0 -70
- package/src/py/mat3ra/made/tools/calculate/calculators/interface_material_calculator_parameters.py +0 -14
- package/src/py/mat3ra/made/tools/calculate/calculators/material_calculator.py +0 -32
- package/src/py/mat3ra/made/tools/calculate/calculators/material_calculator_parameters.py +0 -17
- package/src/py/mat3ra/made/tools/calculate/interaction_functions.py +0 -23
- package/src/py/mat3ra/made/tools/convert/__init__.py +0 -286
- package/src/py/mat3ra/made/tools/convert/interface_parts_enum.py +0 -9
- package/src/py/mat3ra/made/tools/convert/utils.py +0 -96
- package/src/py/mat3ra/made/tools/entities/__init__.py +0 -5
- package/src/py/mat3ra/made/tools/entities/coordinate/__init__.py +0 -14
- package/src/py/mat3ra/made/tools/entities/coordinate/box_coordinate_condition.py +0 -15
- package/src/py/mat3ra/made/tools/entities/coordinate/coordinate_condition.py +0 -16
- package/src/py/mat3ra/made/tools/entities/coordinate/coordinate_functions.py +0 -158
- package/src/py/mat3ra/made/tools/entities/coordinate/cylinder_coordinate_condition.py +0 -17
- package/src/py/mat3ra/made/tools/entities/coordinate/plane_coordinate_condition.py +0 -14
- package/src/py/mat3ra/made/tools/entities/coordinate/sphere_coordinate_condition.py +0 -15
- package/src/py/mat3ra/made/tools/entities/coordinate/triangular_prism_coordinate_condition.py +0 -26
- package/src/py/mat3ra/made/tools/entities/termination_holder.py +0 -12
- package/src/py/mat3ra/made/tools/helpers.py +0 -168
- package/src/py/mat3ra/made/tools/modify.py +0 -627
- package/src/py/mat3ra/made/tools/operations/core/binary.py +0 -106
- package/src/py/mat3ra/made/tools/operations/core/unary.py +0 -170
- package/src/py/mat3ra/made/tools/operations/core/utils.py +0 -138
- package/src/py/mat3ra/made/tools/operations/reusable/unary.py +0 -53
- package/src/py/mat3ra/made/tools/optimize.py +0 -55
- package/src/py/mat3ra/made/tools/third_party.py +0 -69
- package/src/py/mat3ra/made/tools/utils.py +0 -182
- package/src/py/mat3ra/made/utils.py +0 -144
- package/tests/.gitattributes +0 -1
- package/tests/fixtures/AsGe-basis.json +0 -3
- package/tests/fixtures/C2H4-translated.json +0 -3
- package/tests/fixtures/C2H4.json +0 -3
- package/tests/fixtures/FeLiSi-basis.json +0 -3
- package/tests/fixtures/FeO.json +0 -3
- package/tests/fixtures/Ge2-basis.json +0 -3
- package/tests/fixtures/Graphene.json +0 -3
- package/tests/fixtures/Graphene.poscar +0 -3
- package/tests/fixtures/H2+H-final.json +0 -3
- package/tests/fixtures/H2+H-image.json +0 -3
- package/tests/fixtures/H2+H-initial.json +0 -3
- package/tests/fixtures/H2O.poscar +0 -3
- package/tests/fixtures/LiFeSi-basis-labels.json +0 -3
- package/tests/fixtures/LiFeSi-basis.json +0 -3
- package/tests/fixtures/Na.json +0 -3
- package/tests/fixtures/Na4Cl4-cartesian.json +0 -3
- package/tests/fixtures/Na4Cl4.json +0 -3
- package/tests/fixtures/Na4Cl4.poscar +0 -3
- package/tests/fixtures/Ni-hex.json +0 -3
- package/tests/fixtures/Ni-hex.poscar +0 -3
- package/tests/fixtures/OSi-basis.json +0 -3
- package/tests/fixtures/Si-hex.poscar +0 -3
- package/tests/fixtures/Si-pwscf.in +0 -3
- package/tests/fixtures/Si-slab.json +0 -3
- package/tests/fixtures/Si-supercell.json +0 -3
- package/tests/fixtures/Si2-basis-repeated.json +0 -3
- package/tests/fixtures/Si2-basis.json +0 -3
- package/tests/fixtures/Zr1H23Zr1H1.json +0 -3
- package/tests/fixtures/Zr1H23Zr1H1.poscar +0 -3
- package/tests/fixtures/atomic-constraints.json +0 -3
- package/tests/fixtures/hashes.json +0 -3
- package/tests/fixtures/si-slab-100.json +0 -3
- package/tests/fixtures/si-slab-111-0-vacuum.json +0 -3
- package/tests/fixtures/si-slab-111-0.5-vacuum-gamma-120.json +0 -3
- package/tests/fixtures/si-slab-111-0.5-vacuum-ratio.json +0 -3
- package/tests/fixtures/si-standata.json +0 -3
- package/tests/js/basis/basis.ts +0 -247
- package/tests/js/cell/cell.ts +0 -182
- package/tests/js/cell/primitive_cell.ts +0 -21
- package/tests/js/constraints/constraints.ts +0 -11
- package/tests/js/fixtures.ts +0 -123
- package/tests/js/lattice/lattice.ts +0 -43
- package/tests/js/lattice/lattice_reciprocal.ts +0 -104
- package/tests/js/material/material.ts +0 -161
- package/tests/js/parsers/espresso.ts +0 -12
- package/tests/js/parsers/native_formats.ts +0 -35
- package/tests/js/parsers/poscar.ts +0 -89
- package/tests/js/parsers/xyz.ts +0 -33
- package/tests/js/parsers/xyz_combinatorial_basis.ts +0 -156
- package/tests/js/register-esse-schemas.cjs +0 -10
- package/tests/js/setup.ts +0 -6
- package/tests/js/tools/basis.ts +0 -22
- package/tests/js/tools/supercell.ts +0 -58
- package/tests/js/tools/surface.ts +0 -111
- package/tests/py/conftest.py +0 -34
- package/tests/py/mat3ra/debug_utils.py +0 -75
- package/tests/py/unit/__init__.py +0 -0
- package/tests/py/unit/fixtures/__init__.py +0 -0
- package/tests/py/unit/fixtures/adatom.py +0 -60
- package/tests/py/unit/fixtures/bulk.py +0 -162
- package/tests/py/unit/fixtures/cuts.py +0 -118
- package/tests/py/unit/fixtures/grain_boundary.py +0 -875
- package/tests/py/unit/fixtures/interface/commensurate.py +0 -498
- package/tests/py/unit/fixtures/interface/gaas_dia.py +0 -837
- package/tests/py/unit/fixtures/interface/gr_ni_111_top_hcp.py +0 -123
- package/tests/py/unit/fixtures/interface/simple.py +0 -84
- package/tests/py/unit/fixtures/interface/twisted_nanoribbons.py +0 -131
- package/tests/py/unit/fixtures/interface/zsl.py +0 -756
- package/tests/py/unit/fixtures/island.py +0 -336
- package/tests/py/unit/fixtures/merge.py +0 -147
- package/tests/py/unit/fixtures/monolayer.py +0 -46
- package/tests/py/unit/fixtures/nanoparticle.py +0 -116
- package/tests/py/unit/fixtures/nanoribbon/__init__.py +0 -0
- package/tests/py/unit/fixtures/nanoribbon/armchair.py +0 -102
- package/tests/py/unit/fixtures/nanoribbon/nanoribbon.py +0 -145
- package/tests/py/unit/fixtures/nanoribbon/zigzag.py +0 -54
- package/tests/py/unit/fixtures/pair_defects.py +0 -41
- package/tests/py/unit/fixtures/passivated/nanoribbon.py +0 -69
- package/tests/py/unit/fixtures/passivated/slab.py +0 -58
- package/tests/py/unit/fixtures/point_defects.py +0 -158
- package/tests/py/unit/fixtures/slab.py +0 -606
- package/tests/py/unit/fixtures/strain.py +0 -42
- package/tests/py/unit/fixtures/supercell.py +0 -64
- package/tests/py/unit/fixtures/terrace.py +0 -70
- package/tests/py/unit/fixtures/thrid_party/ase_atoms.py +0 -13
- package/tests/py/unit/test_analyze_lattice_planes.py +0 -131
- package/tests/py/unit/test_cell.py +0 -104
- package/tests/py/unit/test_data_files.py +0 -68
- package/tests/py/unit/test_lattice.py +0 -103
- package/tests/py/unit/test_lattice_type_extended.py +0 -53
- package/tests/py/unit/test_material.py +0 -158
- package/tests/py/unit/test_operations.py +0 -126
- package/tests/py/unit/test_primitive_cell.py +0 -118
- package/tests/py/unit/test_reciprocal_lattice.py +0 -86
- package/tests/py/unit/test_reciprocal_paths.py +0 -64
- package/tests/py/unit/test_symmetry_points.py +0 -151
- package/tests/py/unit/test_tools_analyze.py +0 -219
- package/tests/py/unit/test_tools_analyze_basis.py +0 -105
- package/tests/py/unit/test_tools_analyze_interface.py +0 -223
- package/tests/py/unit/test_tools_analyze_interface_material.py +0 -63
- package/tests/py/unit/test_tools_analyze_interface_zsl.py +0 -187
- package/tests/py/unit/test_tools_analyze_lattice.py +0 -74
- package/tests/py/unit/test_tools_analyze_swap.py +0 -80
- package/tests/py/unit/test_tools_build.py +0 -158
- package/tests/py/unit/test_tools_build_defect/__init__.py +0 -0
- package/tests/py/unit/test_tools_build_defect/test_adatom.py +0 -84
- package/tests/py/unit/test_tools_build_defect/test_island.py +0 -45
- package/tests/py/unit/test_tools_build_defect/test_pair_defect.py +0 -84
- package/tests/py/unit/test_tools_build_defect/test_point_defect.py +0 -196
- package/tests/py/unit/test_tools_build_defect/test_slab_stack.py +0 -30
- package/tests/py/unit/test_tools_build_defect/test_solid_solution.py +0 -90
- package/tests/py/unit/test_tools_build_defect/test_terrace.py +0 -44
- package/tests/py/unit/test_tools_build_grain_boundary.py +0 -133
- package/tests/py/unit/test_tools_build_heterostructure.py +0 -46
- package/tests/py/unit/test_tools_build_interface.py +0 -292
- package/tests/py/unit/test_tools_build_interface_zsl.py +0 -263
- package/tests/py/unit/test_tools_build_maxwell_disorder.py +0 -123
- package/tests/py/unit/test_tools_build_metadata.py +0 -79
- package/tests/py/unit/test_tools_build_monolayer.py +0 -33
- package/tests/py/unit/test_tools_build_nanoparticle.py +0 -42
- package/tests/py/unit/test_tools_build_nanoribbon.py +0 -45
- package/tests/py/unit/test_tools_build_passivation.py +0 -85
- package/tests/py/unit/test_tools_build_perturbation.py +0 -103
- package/tests/py/unit/test_tools_build_slab.py +0 -382
- package/tests/py/unit/test_tools_build_strain.py +0 -36
- package/tests/py/unit/test_tools_build_supercell.py +0 -47
- package/tests/py/unit/test_tools_calculate.py +0 -67
- package/tests/py/unit/test_tools_convert.py +0 -174
- package/tests/py/unit/test_tools_modify.py +0 -248
- package/tests/py/unit/utils.py +0 -142
- package/tsconfig-transpile.json +0 -3
- package/tsconfig.json +0 -3
|
@@ -1,886 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-mixed-operators */
|
|
2
|
-
/* eslint no-unused-vars: 0 */
|
|
3
|
-
/**
|
|
4
|
-
* This file contains information about the Brillouin zone symmetry points by lattice type.
|
|
5
|
-
* [AFLOW](https://arxiv.org/abs/1004.2974) methodology is used for implementation.
|
|
6
|
-
*/
|
|
7
|
-
import { LatticeSchema } from "@mat3ra/esse/dist/js/types";
|
|
8
|
-
|
|
9
|
-
import { Lattice } from "../lattice";
|
|
10
|
-
|
|
11
|
-
const POINTS = {
|
|
12
|
-
CUB: () => {
|
|
13
|
-
return [
|
|
14
|
-
{
|
|
15
|
-
point: "R",
|
|
16
|
-
coordinates: [0.5, 0.5, 0.5],
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
point: "X",
|
|
20
|
-
coordinates: [0.0, 0.5, 0.0],
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
point: "M",
|
|
24
|
-
coordinates: [0.5, 0.5, 0.0],
|
|
25
|
-
},
|
|
26
|
-
];
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
FCC: () => {
|
|
30
|
-
return [
|
|
31
|
-
{
|
|
32
|
-
point: "K",
|
|
33
|
-
coordinates: [3 / 8, 3 / 8, 3 / 4],
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
point: "L",
|
|
37
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
point: "U",
|
|
41
|
-
coordinates: [5 / 8, 1 / 4, 5 / 8],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
point: "W",
|
|
45
|
-
coordinates: [1 / 2, 1 / 4, 3 / 4],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
point: "X",
|
|
49
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
50
|
-
},
|
|
51
|
-
];
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
BCC: () => {
|
|
55
|
-
return [
|
|
56
|
-
{
|
|
57
|
-
point: "H",
|
|
58
|
-
coordinates: [1 / 2, -1 / 2, 1 / 2],
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
point: "P",
|
|
62
|
-
coordinates: [1 / 4, 1 / 4, 1 / 4],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
point: "N",
|
|
66
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
67
|
-
},
|
|
68
|
-
];
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
TET: () => {
|
|
72
|
-
return [
|
|
73
|
-
{
|
|
74
|
-
point: "A",
|
|
75
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
point: "M",
|
|
79
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
point: "R",
|
|
83
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
point: "X",
|
|
87
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
point: "Z",
|
|
91
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
92
|
-
},
|
|
93
|
-
];
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
BCT: ({ a, c }: LatticeSchema) => {
|
|
97
|
-
let n;
|
|
98
|
-
if (c < a) {
|
|
99
|
-
// BCT-1
|
|
100
|
-
n = (1 + (c * c) / (a * a)) / 4;
|
|
101
|
-
return [
|
|
102
|
-
{
|
|
103
|
-
point: "M",
|
|
104
|
-
coordinates: [-1 / 2, 1 / 2, 1 / 2],
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
point: "N",
|
|
108
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
point: "P",
|
|
112
|
-
coordinates: [1 / 4, 1 / 4, 1 / 4],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
point: "X",
|
|
116
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
point: "Z",
|
|
120
|
-
coordinates: [n, n, -n],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
point: "Z1",
|
|
124
|
-
coordinates: [-n, 1 - n, n],
|
|
125
|
-
},
|
|
126
|
-
];
|
|
127
|
-
}
|
|
128
|
-
// BCT-2
|
|
129
|
-
n = (1 + (a * a) / (c * c)) / 4;
|
|
130
|
-
const e = (a * a) / (2 * c * c);
|
|
131
|
-
return [
|
|
132
|
-
{
|
|
133
|
-
point: "N",
|
|
134
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
point: "P",
|
|
138
|
-
coordinates: [1 / 4, 1 / 4, 1 / 4],
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
point: "∑",
|
|
142
|
-
coordinates: [-n, n, n],
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
point: "∑1",
|
|
146
|
-
coordinates: [n, 1 - n, -n],
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
point: "X",
|
|
150
|
-
coordinates: [0, 0, 1 / 2],
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
point: "Y",
|
|
154
|
-
coordinates: [-e, e, 1 / 2],
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
point: "Y1",
|
|
158
|
-
coordinates: [1 / 2, 1 / 2, -e],
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
point: "Z",
|
|
162
|
-
coordinates: [1 / 2, 1 / 2, -1 / 2],
|
|
163
|
-
},
|
|
164
|
-
];
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
ORC: () => {
|
|
168
|
-
return [
|
|
169
|
-
{
|
|
170
|
-
point: "R",
|
|
171
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
point: "S",
|
|
175
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
point: "T",
|
|
179
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
point: "U",
|
|
183
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
point: "X",
|
|
187
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
point: "Y",
|
|
191
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
point: "Z",
|
|
195
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
196
|
-
},
|
|
197
|
-
];
|
|
198
|
-
},
|
|
199
|
-
|
|
200
|
-
ORCF: ({ a, b, c }: LatticeSchema) => {
|
|
201
|
-
let n;
|
|
202
|
-
if (1 / (a * a) >= 1 / (b * b) + 1 / (c * c)) {
|
|
203
|
-
// ORCF-1,3
|
|
204
|
-
n = (1 + (a * a) / (b * b) + (a * a) / (c * c)) / 4;
|
|
205
|
-
const e = (1 + (a * a) / (b * b) - (a * a) / (c * c)) / 4;
|
|
206
|
-
return [
|
|
207
|
-
{
|
|
208
|
-
point: "A",
|
|
209
|
-
coordinates: [1 / 2, 1 / 2 + e, e],
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
point: "A1",
|
|
213
|
-
coordinates: [0.0, 1 / 2 - e, 1 - e],
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
point: "L",
|
|
217
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
point: "T",
|
|
221
|
-
coordinates: [1.0, 1 / 2, 1 / 2],
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
point: "X",
|
|
225
|
-
coordinates: [0.0, n, n],
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
point: "X1",
|
|
229
|
-
coordinates: [1.0, 1 - n, 1 - n],
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
point: "Y",
|
|
233
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
point: "Z",
|
|
237
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
238
|
-
},
|
|
239
|
-
];
|
|
240
|
-
}
|
|
241
|
-
// ORCF-2
|
|
242
|
-
n = (1 + (a * a) / (b * b) - (a * a) / (c * c)) / 4;
|
|
243
|
-
const f = (1 + (c * c) / (b * b) - (c * c) / (a * a)) / 4;
|
|
244
|
-
const d = (1 + (b * b) / (a * a) - (b * b) / (c * c)) / 4;
|
|
245
|
-
return [
|
|
246
|
-
{
|
|
247
|
-
point: "C",
|
|
248
|
-
coordinates: [1 / 2, 1 / 2 - n, 1 - n],
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
point: "C1",
|
|
252
|
-
coordinates: [0.0, 1 / 2 + n, n],
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
point: "D",
|
|
256
|
-
coordinates: [1 / 2 - d, 1 / 2, 1 - d],
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
point: "D1",
|
|
260
|
-
coordinates: [1 / 2 + d, 1 / 2, d],
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
point: "L",
|
|
264
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
point: "H",
|
|
268
|
-
coordinates: [1 - f, 1 / 2 - f, 1 / 2],
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
point: "H1",
|
|
272
|
-
coordinates: [f, 1 / 2 + f, 1 / 2],
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
point: "X",
|
|
276
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
point: "Y",
|
|
280
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
point: "Z",
|
|
284
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
285
|
-
},
|
|
286
|
-
];
|
|
287
|
-
},
|
|
288
|
-
|
|
289
|
-
ORCI: ({ a, b, c }: LatticeSchema) => {
|
|
290
|
-
const n = (1 + (a * a) / (c * c)) / 4;
|
|
291
|
-
const e = (1 + (b * b) / (c * c)) / 4;
|
|
292
|
-
const d = (b * b - a * a) / (4 * c * c);
|
|
293
|
-
const m = (b * b + a * a) / (4 * c * c);
|
|
294
|
-
return [
|
|
295
|
-
{
|
|
296
|
-
point: "L",
|
|
297
|
-
coordinates: [-m, m, 1 / 2 - d],
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
point: "L1",
|
|
301
|
-
coordinates: [m, -m, 1 / 2 + d],
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
point: "L2",
|
|
305
|
-
coordinates: [1 / 2 - d, 1 / 2 + d, -m],
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
point: "R",
|
|
309
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
point: "S",
|
|
313
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
point: "T",
|
|
317
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
point: "W",
|
|
321
|
-
coordinates: [1 / 4, 1 / 4, 1 / 4],
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
point: "X",
|
|
325
|
-
coordinates: [-e, e, e],
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
point: "X1",
|
|
329
|
-
coordinates: [e, 1 - e, -e],
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
point: "Y",
|
|
333
|
-
coordinates: [n, -n, n],
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
point: "Y1",
|
|
337
|
-
coordinates: [1 - n, n, -n],
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
point: "Z",
|
|
341
|
-
coordinates: [1 / 2, 1 / 2, -1 / 2],
|
|
342
|
-
},
|
|
343
|
-
];
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
ORCC: ({ a, b }: LatticeSchema) => {
|
|
347
|
-
const e = (1 + (a * a) / (b * b)) / 4;
|
|
348
|
-
return [
|
|
349
|
-
{
|
|
350
|
-
point: "A",
|
|
351
|
-
coordinates: [e, e, 1 / 2],
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
point: "A1",
|
|
355
|
-
coordinates: [-e, 1 - e, 1 / 2],
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
point: "R",
|
|
359
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
point: "S",
|
|
363
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
point: "T",
|
|
367
|
-
coordinates: [-1 / 2, 1 / 2, 1 / 2],
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
point: "X",
|
|
371
|
-
coordinates: [e, e, 0.0],
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
point: "X1",
|
|
375
|
-
coordinates: [-e, 1 - e, 0.0],
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
point: "Y",
|
|
379
|
-
coordinates: [-1 / 2, 1 / 2, 0.0],
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
point: "Z",
|
|
383
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
384
|
-
},
|
|
385
|
-
];
|
|
386
|
-
},
|
|
387
|
-
|
|
388
|
-
HEX: () => {
|
|
389
|
-
return [
|
|
390
|
-
{
|
|
391
|
-
point: "A",
|
|
392
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
point: "H",
|
|
396
|
-
coordinates: [1 / 3, 1 / 3, 1 / 2],
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
point: "K",
|
|
400
|
-
coordinates: [1 / 3, 1 / 3, 0.0],
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
point: "L",
|
|
404
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
point: "M",
|
|
408
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
409
|
-
},
|
|
410
|
-
];
|
|
411
|
-
},
|
|
412
|
-
|
|
413
|
-
RHL: ({ alpha }: LatticeSchema) => {
|
|
414
|
-
let n, v;
|
|
415
|
-
const cosAlpha = Math.cos((alpha / 180) * Math.PI);
|
|
416
|
-
if (cosAlpha > 0) {
|
|
417
|
-
// RHL-1
|
|
418
|
-
n = (1 + 4 * cosAlpha) / (2 + 4 * cosAlpha);
|
|
419
|
-
v = 3 / 4 - n / 2;
|
|
420
|
-
return [
|
|
421
|
-
{
|
|
422
|
-
point: "B",
|
|
423
|
-
coordinates: [n, 1 / 2, 1 - n],
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
point: "B1",
|
|
427
|
-
coordinates: [1 / 2, 1 - n, n - 1],
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
point: "F",
|
|
431
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
point: "L",
|
|
435
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
point: "L1",
|
|
439
|
-
coordinates: [0.0, 0.0, -1 / 2],
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
point: "P",
|
|
443
|
-
coordinates: [n, v, v],
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
point: "P1",
|
|
447
|
-
coordinates: [1 - v, 1 - v, 1 - n],
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
point: "P2",
|
|
451
|
-
coordinates: [v, v, n - 1],
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
point: "Q",
|
|
455
|
-
coordinates: [1 - v, v, 0.0],
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
point: "X",
|
|
459
|
-
coordinates: [v, 0.0, -v],
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
point: "Z",
|
|
463
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
464
|
-
},
|
|
465
|
-
];
|
|
466
|
-
}
|
|
467
|
-
// RHL-2
|
|
468
|
-
n = ((1 / 2) * (1 + cosAlpha)) / (1 - cosAlpha);
|
|
469
|
-
v = 3 / 4 - n / 2;
|
|
470
|
-
return [
|
|
471
|
-
{
|
|
472
|
-
point: "F",
|
|
473
|
-
coordinates: [1 / 2, -1 / 2, 0.0],
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
point: "L",
|
|
477
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
point: "P",
|
|
481
|
-
coordinates: [1 - v, -v, 1 - v],
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
point: "P1",
|
|
485
|
-
coordinates: [v, v - 1, v - 1],
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
point: "Q",
|
|
489
|
-
coordinates: [n, n, n],
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
point: "Q1",
|
|
493
|
-
coordinates: [1 - n, -n, -n],
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
point: "Z",
|
|
497
|
-
coordinates: [1 / 2, -1 / 2, 1 / 2],
|
|
498
|
-
},
|
|
499
|
-
];
|
|
500
|
-
},
|
|
501
|
-
|
|
502
|
-
MCL: ({ b, c, alpha }: LatticeSchema) => {
|
|
503
|
-
const cosAlpha = Math.cos((alpha / 180) * Math.PI);
|
|
504
|
-
const n = ((1 / 2) * (1 - (b * cosAlpha) / c)) / (1 - cosAlpha * cosAlpha);
|
|
505
|
-
const v = 1 / 2 - (n * c * cosAlpha) / b;
|
|
506
|
-
return [
|
|
507
|
-
{
|
|
508
|
-
point: "A",
|
|
509
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
point: "C",
|
|
513
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
point: "D",
|
|
517
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
point: "D1",
|
|
521
|
-
coordinates: [1 / 2, 0.0, -1 / 2],
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
point: "E",
|
|
525
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
point: "H",
|
|
529
|
-
coordinates: [0.0, n, 1 - v],
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
point: "H1",
|
|
533
|
-
coordinates: [0.0, 1 - n, v],
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
point: "H2",
|
|
537
|
-
coordinates: [0.0, n, -v],
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
point: "M",
|
|
541
|
-
coordinates: [1 / 2, n, 1 - v],
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
point: "M1",
|
|
545
|
-
coordinates: [1 / 2, 1 - n, v],
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
point: "M2",
|
|
549
|
-
coordinates: [1 / 2, n, -v],
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
point: "X",
|
|
553
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
point: "Y",
|
|
557
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
point: "Y1",
|
|
561
|
-
coordinates: [0.0, 0.0, -1 / 2],
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
point: "Z",
|
|
565
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
566
|
-
},
|
|
567
|
-
];
|
|
568
|
-
},
|
|
569
|
-
|
|
570
|
-
MCLC: ({ a, b, c, alpha, gamma }: LatticeSchema) => {
|
|
571
|
-
const cosAlpha = Math.cos((alpha / 180) * Math.PI);
|
|
572
|
-
let e, n, p, f, m, d, v;
|
|
573
|
-
if (gamma >= 90) {
|
|
574
|
-
// MCLC-1,2
|
|
575
|
-
e = (2 - (b * cosAlpha) / c) / (4 * (1 - cosAlpha * cosAlpha));
|
|
576
|
-
n = 1 / 2 + (2 * e * c * cosAlpha) / b;
|
|
577
|
-
p = 3 / 4 - (a * a) / (4 * b * b * (1 - cosAlpha * cosAlpha));
|
|
578
|
-
f = p + ((3 / 4 - p) * cosAlpha * b) / c;
|
|
579
|
-
return [
|
|
580
|
-
{
|
|
581
|
-
point: "N",
|
|
582
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
point: "N1",
|
|
586
|
-
coordinates: [0.0, -1 / 2, 0.0],
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
point: "F",
|
|
590
|
-
coordinates: [1 - e, 1 - e, 1 - n],
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
point: "F1",
|
|
594
|
-
coordinates: [e, e, n],
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
point: "F2",
|
|
598
|
-
coordinates: [-e, -e, 1 - n],
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
point: "F3",
|
|
602
|
-
coordinates: [1 - e, -e, 1 - n],
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
point: "I",
|
|
606
|
-
coordinates: [f, 1 - f, 1 / 2],
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
point: "I1",
|
|
610
|
-
coordinates: [1 - f, f - 1, 1 / 2],
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
point: "L",
|
|
614
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
point: "M",
|
|
618
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
point: "X",
|
|
622
|
-
coordinates: [1 - p, p - 1, 0.0],
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
point: "X1",
|
|
626
|
-
coordinates: [p, 1 - p, 0.0],
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
point: "X2",
|
|
630
|
-
coordinates: [p - 1, -p, 0.0],
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
point: "Y",
|
|
634
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
point: "Y1",
|
|
638
|
-
coordinates: [-1 / 2, -1 / 2, 0.0],
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
point: "Z",
|
|
642
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
643
|
-
},
|
|
644
|
-
];
|
|
645
|
-
}
|
|
646
|
-
if ((b / c) * cosAlpha + ((b * b) / (a * a)) * (1 - cosAlpha * cosAlpha) <= 1) {
|
|
647
|
-
// MCLC-3,4
|
|
648
|
-
m = (1 + (b * b) / (a * a)) / 4;
|
|
649
|
-
d = (b * c * cosAlpha) / (2 * a * a);
|
|
650
|
-
e = m - 1 / 4 + (1 - (b * cosAlpha) / c) / (4 * (1 - cosAlpha * cosAlpha));
|
|
651
|
-
n = 1 / 2 + (2 * e * c * cosAlpha) / b;
|
|
652
|
-
f = 1 + e - 2 * m;
|
|
653
|
-
p = n - 2 * d;
|
|
654
|
-
return [
|
|
655
|
-
{
|
|
656
|
-
point: "N",
|
|
657
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
point: "N1",
|
|
661
|
-
coordinates: [0.0, -1 / 2, 0.0],
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
point: "F",
|
|
665
|
-
coordinates: [1 - f, 1 - f, 1 - p],
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
point: "F1",
|
|
669
|
-
coordinates: [f, f - 1, p],
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
point: "F2",
|
|
673
|
-
coordinates: [1 - f, -f, 1 - p],
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
point: "H",
|
|
677
|
-
coordinates: [e, e, n],
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
point: "H1",
|
|
681
|
-
coordinates: [1 - e, -e, 1 - n],
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
point: "H2",
|
|
685
|
-
coordinates: [-e, -e, 1 - n],
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
point: "I",
|
|
689
|
-
coordinates: [1 / 2, -1 / 2, 1 / 2],
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
point: "M",
|
|
693
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
point: "X",
|
|
697
|
-
coordinates: [1 / 2, -1 / 2, 0.0],
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
point: "Y",
|
|
701
|
-
coordinates: [m, m, d],
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
point: "Y1",
|
|
705
|
-
coordinates: [1 - m, -m, -d],
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
point: "Y2",
|
|
709
|
-
coordinates: [-m, -m, -d],
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
point: "Y3",
|
|
713
|
-
coordinates: [m, m - 1, d],
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
point: "Z",
|
|
717
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
718
|
-
},
|
|
719
|
-
];
|
|
720
|
-
}
|
|
721
|
-
// MCLC-5
|
|
722
|
-
e = (1 / 4) * ((b * b) / (a * a) + (1 - (b * cosAlpha) / c) / (1 - cosAlpha * cosAlpha));
|
|
723
|
-
// @ts-ignore
|
|
724
|
-
m = n / 2 + (b * b) / (a * a) / 4 - (b * c * cosAlpha) / (2 * a * a);
|
|
725
|
-
// eslint-disable-next-line max-len
|
|
726
|
-
const w = // @ts-ignore
|
|
727
|
-
((4 * v - 1 - (b * b * (1 - cosAlpha * cosAlpha)) / (a * a)) * c) / (2 * b * cosAlpha);
|
|
728
|
-
n = 1 / 2 + (2 * e * c * cosAlpha) / b;
|
|
729
|
-
d = ((e * c) / b) * cosAlpha + w / 2 - 1 / 4;
|
|
730
|
-
v = 1 + e - 2 * m;
|
|
731
|
-
const r = 1 - (e * a * a) / (b * b);
|
|
732
|
-
return [
|
|
733
|
-
{
|
|
734
|
-
point: "N",
|
|
735
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
point: "N1",
|
|
739
|
-
coordinates: [0.0, -1 / 2, 0.0],
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
point: "F",
|
|
743
|
-
coordinates: [v, v, w],
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
point: "F1",
|
|
747
|
-
coordinates: [1 - v, 1 - v, 1 - w],
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
point: "F2",
|
|
751
|
-
coordinates: [v, v - 1, w],
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
point: "H",
|
|
755
|
-
coordinates: [e, e, n],
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
point: "H1",
|
|
759
|
-
coordinates: [1 - e, -e, 1 - n],
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
point: "H2",
|
|
763
|
-
coordinates: [-e, -e, 1 - n],
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
point: "I",
|
|
767
|
-
coordinates: [r, 1 - r, 1 / 2],
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
point: "I1",
|
|
771
|
-
coordinates: [1 - r, r - 1, 1 / 2],
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
point: "L",
|
|
775
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
point: "M",
|
|
779
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
point: "X",
|
|
783
|
-
coordinates: [1 / 2, -1 / 2, 0.0],
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
point: "Y",
|
|
787
|
-
coordinates: [m, m, d],
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
point: "Y1",
|
|
791
|
-
coordinates: [1 - m, -m, -d],
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
point: "Y2",
|
|
795
|
-
coordinates: [-m, -m, -d],
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
point: "Y3",
|
|
799
|
-
coordinates: [m, m - 1, d],
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
point: "Z",
|
|
803
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
804
|
-
},
|
|
805
|
-
];
|
|
806
|
-
},
|
|
807
|
-
|
|
808
|
-
TRI: ({ alpha, beta, gamma }: LatticeSchema) => {
|
|
809
|
-
if (alpha > 90 && beta > 90 && gamma >= 90) {
|
|
810
|
-
// TRI-1a,2a
|
|
811
|
-
return [
|
|
812
|
-
{
|
|
813
|
-
point: "L",
|
|
814
|
-
coordinates: [1 / 2, 1 / 2, 0.0],
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
point: "M",
|
|
818
|
-
coordinates: [0.0, 1 / 2, 1 / 2],
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
point: "N",
|
|
822
|
-
coordinates: [1 / 2, 0.0, 1 / 2],
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
point: "R",
|
|
826
|
-
coordinates: [1 / 2, 1 / 2, 1 / 2],
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
point: "X",
|
|
830
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
point: "Y",
|
|
834
|
-
coordinates: [0.0, 1 / 2, 0.0],
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
point: "Z",
|
|
838
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
839
|
-
},
|
|
840
|
-
];
|
|
841
|
-
}
|
|
842
|
-
// TRI-1b,2b
|
|
843
|
-
return [
|
|
844
|
-
{
|
|
845
|
-
point: "L",
|
|
846
|
-
coordinates: [1 / 2, -1 / 2, 0.0],
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
point: "M",
|
|
850
|
-
coordinates: [0.0, 0.0, 1 / 2],
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
point: "N",
|
|
854
|
-
coordinates: [-1 / 2, -1 / 2, 1 / 2],
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
point: "R",
|
|
858
|
-
coordinates: [0.0, -1 / 2, 1 / 2],
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
point: "X",
|
|
862
|
-
coordinates: [0.0, -1 / 2, 0.0],
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
point: "Y",
|
|
866
|
-
coordinates: [1 / 2, 0.0, 0.0],
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
point: "Z",
|
|
870
|
-
coordinates: [-1 / 2, 0.0, 1 / 2],
|
|
871
|
-
},
|
|
872
|
-
];
|
|
873
|
-
},
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* Returns a list of symmetry points for the specified lattice.
|
|
878
|
-
*/
|
|
879
|
-
export function symmetryPoints(lattice: Lattice) {
|
|
880
|
-
return [
|
|
881
|
-
{
|
|
882
|
-
point: "Γ",
|
|
883
|
-
coordinates: [0.0, 0.0, 0.0],
|
|
884
|
-
},
|
|
885
|
-
].concat(POINTS[lattice.type](lattice) || []);
|
|
886
|
-
}
|