Skip to content

abstract reduced functional #156

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

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

Conversation

dham
Copy link
Member

@dham dham commented Jun 27, 2024

Refactor the reduced functional as a subclass of an abstract class with a more consistent interface.

@dham dham force-pushed the dham/abstract_reduced_functional branch from c8727a2 to 08a7631 Compare December 18, 2024 10:53
connorjward and others added 15 commits March 21, 2025 09:05
* pause_checkpointing() every time step

* Do not clean the step 0 if not in timestep checkpoint
* Maintain order of blocks in TimeStep with an OrderedSet

This introduces a new set implementation, OrderedSet.

* Use dictionary as backing for OrderedSet

* Use Python 3.10 compatible forward reference
…e cycle (#194)

* Break OvertypedType -> BlockVariable -> OverloadedType reference cycle

* Add OverloadedType.clear_block_variable

* OverloadedType pickle fix, required by Firedrake EnsembleReducedFunctional
@dham dham marked this pull request as ready for review March 26, 2025 10:33
Copy link
Member

@jorgensd jorgensd left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants