Hello All.
I am to solve a PDE numerically (called Klein-Kramers-Chandrasekhar equation KKC eqn ) for some parameters. I followed the getting started instructions intro and after writing the step for
prob = discretize(pdesys, discretization)
for my system, I got this error message:
Discretization:
ERROR: LoadError: MethodError: no method matching real(::Equation)
The function real exists, but no method is defined for this combination of argument types.
I have imported the following packages: Plots,ModelingToolkit, MethodOfLines, OrdinaryDiffEq, DomainSets using the using keyword.
What did I do wrong? Any help will be very appreciated.
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
6 dependencies successfully precompiled in 54 seconds. 352 already precompiled.
2 dependencies had output during precompilation:
┌ Interpolations
│ WARNING: method definition for checkbounds at /home/ufechner/.julia/packages/Interpolations/USkTk/src/Interpolations.jl:454 declares type variable N but does not use it.
│ WARNING: method definition for checkbounds at /home/ufechner/.julia/packages/Interpolations/USkTk/src/Interpolations.jl:457 declares type variable N but does not use it.
│ WARNING: method definition for GriddedInterpolation at /home/ufechner/.julia/packages/Interpolations/USkTk/src/gridded/gridded.jl:37 declares type variable pad but does not use it.
│ WARNING: method definition for GriddedInterpolation at /home/ufechner/.julia/packages/Interpolations/USkTk/src/gridded/gridded.jl:60 declares type variable pad but does not use it.
│ WARNING: method definition for interpolate! at /home/ufechner/.julia/packages/Interpolations/USkTk/src/deprecations.jl:30 declares type variable TWeights but does not use it.
└
┌ MethodOfLines
│ ┌ Warning: The system contains interface boundaries, which are not compatible with system transformation. The system will not be transformed. Please post an issue if you need this feature.
│ └ @ MethodOfLines ~/.julia/packages/MethodOfLines/iIYN1/src/system_parsing/pde_system_transformation.jl:43
└