Skip to content
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

Reinitialise output dictionaries before solving #139

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

ddundo
Copy link
Member

@ddundo ddundo commented Mar 12, 2024

Closes #138.

Reinitialise solution and error indicator dictionaries at the beginning of solve_forward, solve_adjoint or indicate_errors, rather than at the beginning of fixed_point_iteration.

@ddundo ddundo added the bug Something isn't working label Mar 12, 2024
@ddundo ddundo added this to the Version 1 milestone Mar 12, 2024
@ddundo ddundo self-assigned this Mar 12, 2024
Copy link
Member

@jwallwork23 jwallwork23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks @ddundo! Just some minor change requests for the comments.

goalie/adjoint.py Outdated Show resolved Hide resolved
goalie/go_mesh_seq.py Outdated Show resolved Hide resolved
goalie/mesh_seq.py Outdated Show resolved Hide resolved
@ddundo ddundo requested a review from jwallwork23 March 13, 2024 09:29
@ddundo
Copy link
Member Author

ddundo commented Mar 13, 2024

Thanks @jwallwork23! Ready for re-review :)

Didn't rerun the CI since it was just a comment update

Copy link
Member

@jwallwork23 jwallwork23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @ddundo!

@ddundo ddundo merged commit 3e8b6eb into main Mar 13, 2024
1 check failed
@ddundo ddundo deleted the 138_reinitialise_solutions branch March 13, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run solve_forward after fixed_point_iteration?
2 participants