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
fluid/dam_break_2d.jl
julia> using TrixiParticles julia> trixi_include(joinpath(examples_dir(), "fluid", "dam_break_2d.jl")); [ Info: You just called `trixi_include`. Julia may now compile the code, please be patient. ┌ Info: The desired tank length in y-direction 4.0 is not a multiple of the particle spacing 0.015. └ New tank length in y-direction is set to 4.005. [...] ERROR: LoadError: MethodError: show(::IOContext{Base.TTY}, ::MIME{Symbol("text/plain")}, ::DiscreteCallback{DiffEqCallbacks.var"#115#117"{…}, SolutionSavingCallback{…}, DiffEqCallbacks.var"#116#118"{…}, SolutionSavingCallback{…}, Nothing}) is ambiguous. Candidates: show(io::IO, ::MIME{Symbol("text/plain")}, cb::DiscreteCallback{<:Any, <:SolutionSavingCallback}) @ TrixiParticles ~/.julia/packages/TrixiParticles/ArX5E/src/callbacks/solution_saving.jl:236 show(io::IO, ::MIME{Symbol("text/plain")}, cb::DiscreteCallback{<:Any, <:Any, <:Any, <:SolutionSavingCallback}) @ TrixiParticles ~/.julia/packages/TrixiParticles/ArX5E/src/callbacks/solution_saving.jl:260 Possible fix, define show(::IO, ::MIME{Symbol("text/plain")}, ::DiscreteCallback{<:Any, <:SolutionSavingCallback, <:Any, <:SolutionSavingCallback}) Stacktrace: [1] initialize_info_callback(discrete_callback::DiscreteCallback{…}, u::RecursiveArrayTools.ArrayPartition{…}, t::Float64, integrator::OrdinaryDiffEqCore.ODEIntegrator{…}; reset_threads::Bool) @ TrixiParticles ~/.julia/packages/TrixiParticles/ArX5E/src/callbacks/info.jl:130 [2] initialize_info_callback @ ~/.julia/packages/TrixiParticles/ArX5E/src/callbacks/info.jl:92 [inlined] [3] initialize @ ~/.julia/packages/TrixiParticles/ArX5E/src/callbacks/info.jl:39 [inlined] [4] initialize! @ ~/.julia/packages/DiffEqBase/HW4ge/src/callbacks.jl:13 [inlined] [5] initialize! @ ~/.julia/packages/DiffEqBase/HW4ge/src/callbacks.jl:7 [inlined] [6] initialize_callbacks!(integrator::OrdinaryDiffEqCore.ODEIntegrator{…}, initialize_save::Bool) @ OrdinaryDiffEqCore ~/.julia/packages/OrdinaryDiffEqCore/H25Bn/src/solve.jl:679 [7] __init(prob::ODEProblem{…}, alg::CarpenterKennedy2N54{…}, timeseries_init::Tuple{}, ts_init::Tuple{}, ks_init::Tuple{}, recompile::Type{…}; saveat::Tuple{}, tstops::Tuple{}, d_discontinuities::Tuple{}, save_idxs::Nothing, save_everystep::Bool, save_on::Bool, save_start::Bool, save_end::Nothing, callback::CallbackSet{…}, dense::Bool, calck::Bool, dt::Float64, dtmin::Float64, dtmax::Float64, force_dtmin::Bool, adaptive::Bool, gamma::Int64, abstol::Nothing, reltol::Nothing, qmin::Int64, qmax::Int64, qsteady_min::Int64, qsteady_max::Int64, beta1::Nothing, beta2::Nothing, qoldinit::Int64, controller::Nothing, fullnormalize::Bool, failfactor::Int64, maxiters::Int64, internalnorm::typeof(DiffEqBase.ODE_DEFAULT_NORM), internalopnorm::typeof(LinearAlgebra.opnorm), isoutofdomain::typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), unstable_check::typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), verbose::Bool, timeseries_errors::Bool, dense_errors::Bool, advance_to_tstop::Bool, stop_at_next_tstop::Bool, initialize_save::Bool, progress::Bool, progress_steps::Int64, progress_name::String, progress_message::typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), progress_id::Symbol, userdata::Nothing, allow_extrapolation::Bool, initialize_integrator::Bool, alias_u0::Bool, alias_du0::Bool, initializealg::OrdinaryDiffEqCore.DefaultInit, kwargs::@Kwargs{}) @ OrdinaryDiffEqCore ~/.julia/packages/OrdinaryDiffEqCore/H25Bn/src/solve.jl:535 [8] __init (repeats 5 times) @ ~/.julia/packages/OrdinaryDiffEqCore/H25Bn/src/solve.jl:11 [inlined] [9] __solve(::ODEProblem{…}, ::CarpenterKennedy2N54{…}; kwargs::@Kwargs{…}) @ OrdinaryDiffEqCore ~/.julia/packages/OrdinaryDiffEqCore/H25Bn/src/solve.jl:6 [10] __solve @ ~/.julia/packages/OrdinaryDiffEqCore/H25Bn/src/solve.jl:1 [inlined] [11] #solve_call#44 @ ~/.julia/packages/DiffEqBase/HW4ge/src/solve.jl:632 [inlined] [12] solve_call @ ~/.julia/packages/DiffEqBase/HW4ge/src/solve.jl:589 [inlined] [13] #solve_up#53 @ ~/.julia/packages/DiffEqBase/HW4ge/src/solve.jl:1120 [inlined] [14] solve_up @ ~/.julia/packages/DiffEqBase/HW4ge/src/solve.jl:1099 [inlined] [15] #solve#51 @ ~/.julia/packages/DiffEqBase/HW4ge/src/solve.jl:1036 [inlined] [16] top-level scope @ ~/.julia/packages/TrixiParticles/ArX5E/examples/fluid/dam_break_2d.jl:107 [17] eval @ ./boot.jl:430 [inlined] [18] include_string(mapexpr::TrixiBase.var"#2#3"{@Kwargs{}}, mod::Module, code::String, filename::String) @ Base ./loading.jl:2734 [19] _include @ ./loading.jl:2794 [20] include @ ./Base.jl:558 [inlined] [21] trixi_include(mod::Module, elixir::String; kwargs::@Kwargs{}) @ TrixiBase ~/.julia/packages/TrixiBase/Mq1xp/src/trixi_include.jl:48 [22] trixi_include @ ~/.julia/packages/TrixiBase/Mq1xp/src/trixi_include.jl:33 [inlined] [23] #trixi_include#4 @ ~/.julia/packages/TrixiBase/Mq1xp/src/trixi_include.jl:52 [inlined] [24] trixi_include(elixir::String) @ TrixiBase ~/.julia/packages/TrixiBase/Mq1xp/src/trixi_include.jl:51 [25] top-level scope @ REPL[2]:1 in expression starting at /home/mose/.julia/packages/TrixiParticles/ArX5E/examples/fluid/dam_break_2d.jl:107 Some type information was truncated. Use `show(err)` to see complete types. julia> versioninfo() Julia Version 1.11.2 Commit 5e9a32e7af2 (2024-12-01 20:02 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 22 × Intel(R) Core(TM) Ultra 7 155H WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, alderlake) Threads: 16 default, 0 interactive, 8 GC (on 22 virtual cores) (tmp) pkg> st Status `/tmp/Project.toml` [1dea7af3] OrdinaryDiffEq v6.90.1 [91a5bcdd] Plots v1.40.9 [66699cd8] TrixiParticles v0.2.3
The text was updated successfully, but these errors were encountered:
Thanks for reporting this has been fixed in #669
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: