Skip to content

Isolate global problem in more places#1908

Open
bgoderbauer wants to merge 5 commits into4C-multiphysics:mainfrom
bgoderbauer:isolate-global-problem
Open

Isolate global problem in more places#1908
bgoderbauer wants to merge 5 commits into4C-multiphysics:mainfrom
bgoderbauer:isolate-global-problem

Conversation

@bgoderbauer
Copy link
Copy Markdown
Contributor

This PR removes ~450 direct Global::Problem() calls. Contrary to e.g. #1899, no problem-specific context is introduced. These changes just bundle the calls per module into a single, obvious choke point (the respective problem_from_instance() methods) that can be easily replaced with the context-driven setup later.
Note: adapter and fsi still have other calls to Global::Problem() left, but they don't directly belong to the changed routines

@bgoderbauer bgoderbauer self-assigned this Mar 30, 2026
@bgoderbauer bgoderbauer added the taskforce: modularization Issues related to modularization of the code base label Mar 30, 2026
@bgoderbauer bgoderbauer force-pushed the isolate-global-problem branch from 22f5a9f to e21b1d9 Compare March 30, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

taskforce: modularization Issues related to modularization of the code base

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant