Skip to content

Commit

Permalink
add getters
Browse files Browse the repository at this point in the history
  • Loading branch information
xtalax committed Jan 9, 2023
1 parent caa0106 commit 71487a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/solutions/pde_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ function SciMLBase.wrap_sol(sol,
end
end

iscomplex(sol::PDETimeSeriesSolution{T, N, U, D, C}) where {T, N, U, D, C} = C <: Val{true} ? true : false
iscomplex(sol::PDENoTimeSolution{T, N, U, D, C}) where {T, N, U, D, C} = C <: Val{true} ? true : false


function Base.show(io::IO, m::MIME"text/plain", A::PDETimeSeriesSolution)
println(io, string("retcode: ", A.retcode))
println(io, string("Interpolation: "), typeof(A.interp))
Expand Down

0 comments on commit 71487a2

Please sign in to comment.