-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extract lagging solutions for "steady" fields in a mixed steady-unsteady case #153
Comments
@jwallwork23 what do you think about this? I meant that in this case we would extract the "forward_old" solution from the previous solve block, rather than from dependencies. And similarly for "adjoint_next" |
Seems logical, yeah. Thanks. |
@jwallwork23 sorry, could you please help me a bit? I fixed everything locally apart from the very first |
IIRC to get the adjoint actions you need to set the |
Sorry, I wasn't clear. I meant, how can we extract the adjoint action not from dependencies? For all other timesteps I can use the output from the previous solve block, but there is no previous solve block for the initial one in the first subinterval :) and for the not-first subintervals, I use the final solve block from the previous subinterval. |
@jwallwork23 to be even clearer, I opened a draft pull request #164 and labelled the issue I mentioned above with a "TODO" in adjoint.py. Could you please take a look there when you have time? :) |
Sorry @ddundo I'm going to need to set aside some time to look at this properly - will hopefully get chance later in the week. |
Thanks @jwallwork23 - it's not blocking anything I'm doing so no rush at all! |
@jwallwork23 when you take a look (no rush), could you also please think about a unit test for the adjoint action? We should add one. The checks in #164 pass even though the adjoint actions are extracted wrongly |
I took care of this in I'll unassign myself since I don't plan on getting back anytime soon |
Originally posted by @ddundo in #149 (comment)
The text was updated successfully, but these errors were encountered: