Skip to content

Combine adaptive strategies and model switching (#318) - #326

Open
Aryan-SINGH-GIT wants to merge 1 commit into
precice:developfrom
Aryan-SINGH-GIT:issue-318-adaptivity-model-switching
Open

Aryan-SINGH-GIT wants to merge 1 commit into
precice:developfrom
Aryan-SINGH-GIT:issue-318-adaptivity-model-switching

Conversation

@Aryan-SINGH-GIT

Copy link
Copy Markdown

Resolves #318

  • Solves inactive micro-problems using reduced-order models (ROMs) instead of omitting them.
  • Adds multi-level ROM selection based on relative similarity distance ($d / \epsilon_r$) for > 2 models.
  • Makes switching_function optional when adaptivity is enabled (with optional model_switching_levels_thresholds).
  • Preserves and transfers simulation state across model switches.
  • Adds comprehensive unit tests, documentation, and changelog entry.

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • If this is a use-side change, I added a summary of the changes (compared to the last release) in the CHANGELOG.md. If this is a breaking change, I wrote breaking change at the end of the changelog entry.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge and provide a useful summary of the changes of this PR.

- Solve inactive micro-problems using reduced-order models (ROMs) instead of omitting or purely interpolating them.
- Introduce a multi-level ROM selection algorithm for > 2 models based on relative similarity distance d / eps_r.
- Support optional user-defined level thresholds via model_switching_levels_thresholds.
- Make switching_function optional when adaptivity is enabled.
- Ensure state preservation and transfer across model switches.
- Add unit tests covering 2-model and 3-model cases, state transfer, and threshold partitioning.
- Update documentation and changelog.
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.

Combine adaptive strategies and model switching

1 participant