We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Cell.positions
MMatrix
Vector{MVector{3,P}}
N
1 parent 3c863f9 commit a3e4bf4Copy full SHA for a3e4bf4
src/model.jl
@@ -16,11 +16,11 @@ Numbers to distinguish atomic species `types` are given by a list of ``N`` integ
16
The collinear polarizations `magmoms` only work with `get_symmetry` and are given
17
as a list of ``N`` floating point values.
18
"""
19
-struct Cell{N,L,P,T,M}
+struct Cell{L,P,T,M}
20
lattice::MMatrix{3,3,L,9}
21
- positions::MMatrix{3,N,P}
22
- types::MVector{N,T}
23
- magmoms::MVector{N,M}
+ positions::Vector{MVector{3,P}}
+ types::Vector{T}
+ magmoms::Vector{M}
24
end
25
function Cell(lattice, positions, types, magmoms = zeros(length(types)))
26
if lattice isa AbstractVector
0 commit comments