We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mspacegroup
1 parent 890d1d8 commit fc13678Copy full SHA for fc13678
src/assembly/groups/mspacegroup.jl
@@ -1,3 +1,14 @@
1
+"""
2
+ mspacegroup(BNS₁, BNS₂)
3
+ mspacegroup(OG₃) --> MSpaceGroup{3}
4
+
5
+Return the magnetic space group with BNS numbers `(BNS₁, BNS₂)` or the sequential OG number
6
+`OG₃` (from 1 to 1651).
7
8
+## Data sources
9
+The data underlying this function was retrieved from ISOTROPY's compilation of Daniel
10
+Litvin's magnetic space group tables (http://www.bk.psu.edu/faculty/litvin/Download.html).
11
12
function mspacegroup(BNS₁::Integer, BNS₂::Integer, Dᵛ::Val{D}=Val(3)) where D
13
D == 3 || throw(DomainError("only 3D magnetic space groups are supported"))
14
msgnum = (BNS₁, BNS₂)
0 commit comments