tetrahedron array geometry added
This commit is contained in:
parent
abb211af58
commit
24c0485d55
1 changed files with 9 additions and 0 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue