tetrahedron array geometry added

This commit is contained in:
zymon 2023-11-01 16:08:34 +01:00
parent abb211af58
commit 24c0485d55

View file

@ -203,6 +203,15 @@ function fibonacci_array(N::Integer, r::Real)
[SVector{3}(r .* p) for p in P] [SVector{3}(r .* p) for p in P]
end end
function tetrahedron_array(r=1.0)
[
SVector{3}([+1,+1,+1] * r / 3 ),
SVector{3}([+1,-1,-1] * r / 3 ),
SVector{3}([-1,+1,-1] * r / 3 ),
SVector{3}([-1,-1,+1] * r / 3 ),
]
end
physical_array = ( physical_array = (
matrix_voice = ( matrix_voice = (
cartesian = [ cartesian = [