Time Dependent Condition not working in Custom PDE #405
Unanswered
AnttiZhang0
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I must admit I don't understand your question. What output do you expect and what do you get instead? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a time dependent Boundary Condition, which is Time and X dependent, so it code below py function
Also for a Custom PDE, i also code the evolution_rate
What i am expecting is that: when the py-pde is solving the PDE, it will call the evolution_rate at different time t. At this given time t, when conduct the state.gradient operation, the Boundary Function shall be evaluate at that t. But when the evolution_rate function is called with any t<>0, the BC_EuropeanCall_up always get called as t=0, not matter the t used to evaluate the evolution_rate
it seems below code did not capture t in *args
Full code
Beta Was this translation helpful? Give feedback.
All reactions