We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello @elehcim, I have the same problem when plotting a certain collection of particles in AstroPlot.jl. For example, I manually filter the collection in https://github.com/JuliaAstroSim/AstroPlot.jl/blob/5cda583666557c88049eb54e99b5e1a6be2c13c5/src/snapshots/positions.jl#L21:
AstroPlot.jl
function plot_positionslice!(scene, data, collection::Collection, u::Union{Nothing, Unitful.FreeUnits} = nothing; kw...) d = filter(p->p.Collection == collection, data) if isempty(d) @warn "No $collection particle found." return scene else plot_positionslice!(scene, d, u; kw...) end end
During simulation, particles are transmited between processors. I can't figure out a way to avoid filtering :(
(As metioned in JuliaAstroSim/AstroIO.jl#8)
The text was updated successfully, but these errors were encountered:
Oh, I did not notice #22 Close. Many thanks!
Sorry, something went wrong.
No branches or pull requests
Hello @elehcim, I have the same problem when plotting a certain collection of particles in
AstroPlot.jl
. For example, I manually filter the collection in https://github.com/JuliaAstroSim/AstroPlot.jl/blob/5cda583666557c88049eb54e99b5e1a6be2c13c5/src/snapshots/positions.jl#L21:During simulation, particles are transmited between processors. I can't figure out a way to avoid filtering :(
(As metioned in JuliaAstroSim/AstroIO.jl#8)
The text was updated successfully, but these errors were encountered: