-
Notifications
You must be signed in to change notification settings - Fork 5
Time-dependent demo (bubble shear) #158
New issue
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
base: main
Are you sure you want to change the base?
Conversation
|
Just to clarify what I meant during the meeting when I suggested passing args/kwargs to the monitor function: def monitor(mesh, solution):
...
def run_simulation(...):
...
mover = MongeAmpereMover(...)
while float(t) < t_end + 0.5 * float(dt):
lvs.solve() # solve for c
mover.move(c) # pass c to monitorOr we could do it more explicitly, for example: monitor_kwargs = {"solution": c}
mover.move(**monitor_kwargs) |
Thanks. I guess one question I have is why do we need to define |
You're right, no need to complicate it for now. I inlined them in ac24b50. Still fiddly with the |
Closes #157.
Based on Animate's bubble shear demo.