From 24c0485d555ef44972097941f561b084b01ea049 Mon Sep 17 00:00:00 2001 From: zymon Date: Wed, 1 Nov 2023 16:08:34 +0100 Subject: [PATCH] tetrahedron array geometry added --- src/TxRxModels.jl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/TxRxModels.jl b/src/TxRxModels.jl index 9331662..910e979 100644 --- a/src/TxRxModels.jl +++ b/src/TxRxModels.jl @@ -203,6 +203,15 @@ function fibonacci_array(N::Integer, r::Real) [SVector{3}(r .* p) for p in P] 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 = ( matrix_voice = ( cartesian = [