is an option to define if a canonical order of the output of GTAdjacencyMatrix or GTLatShells should be performed.
Details and Options
Examples
Basic Examples
GTAdjacencyMatrix
GTLatShells
See Also
Related Guides
GroupTheory`
GroupTheory`
GOSort
is an option to define if a canonical order of the output of GTAdjacencyMatrix or GTLatShells should be performed.
Details and Options
- During the construction of the adjacency matrix ( GTAdjacencyMatrix ) for a system with more than one sort of atoms interactions "A,B" but also "B,A" appear.
- To reduce effort in the following steps of the Hamiltonian calculation the information can be reshaped in alphabetical order, i.e. only names "A,B" appear.
- Typical values for GOSort in GTAdjacencyMatrix are:
-
True names of atomes are sorted in alphabetical manner False no sorting of names in interactions - Sometimes it is useful to reorder a cluster of lattice points ( GTLatShells ) not in shells but only in canonical order. Such a rearrangement can be forced be GOSort.
- Typical values for GOSort in GTLatShells are:
-
True the cluster is rearranged in canonical order False the cluster is rearranged in shells
Examples
Basic Examples (3)
Needs["GroupTheory`"]GTAdjacencyMatrix (1)
Read a structure from the database.
SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"];znse = GTGetStructure["ZnSe"];cl3D = GTCluster[znse, 1 / Sqrt[2], GOLattice -> {a -> 1}];Select the neighbors from the cluster that will be considered.
n = {{0, Sqrt[3] / 4}, {Sqrt[3] / 4, 0}};at = {"Zn", "Se"};ngbs = {n, at};GTNeighborPlot[ngbs]GTAdjacencyMatrix[cl3D, ngbs]Now the names ore ordered alphabetically.
GTAdjacencyMatrix[cl3D, ngbs, GOSort -> True]GTLatShells (1)
See Also
Related Guides
-
▪
- Options