You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, did I miss something? To me it looks like MassBody can only be constructed in 3 dimensions:
julia> using NBodySimulator
julia> methods(MassBody)
# 1 method for type constructor:
[1] (::Type{MassBody})(r::StaticArrays.SArray{Tuple{3},cType,1,3}, v::StaticArrays.SArray{Tuple{3},cType,1,3}, m::mType) where {cType<:Real, mType<:Real} in NBodySimulator at ...
Specifically I was wondering about 2 dimensions, obviously I could just set the third components for position and velocity to zero but that does seem like a workaround.
Hello and thanks for this project,
is there a reason why simulations are only possible in 3 dimensions?
The text was updated successfully, but these errors were encountered: