Skip to content

Issue in specifying explicit space dependence in 1D PDE custom class #678

Answered by david-zwicker
Raffo921 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your detailed description of the problem, which helped me to re-create it on my side. It turns out that the problem you observed was a combination of an unstable equation and a suppressed error message. You thus used the package correctly, but the equation you describe blows up heavily, which py-pde cannot deal with. The error is somewhat more transparent when you choose solver="explicit", and I just modified the package to also emit a more useful error when the scipy solver fails (see #679).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Raffo921
Comment options

@david-zwicker
Comment options

Answer selected by Raffo921
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants