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

Initialization of optional values depending on other system models #711

Open
svchb opened this issue Jan 30, 2025 · 0 comments
Open

Initialization of optional values depending on other system models #711

svchb opened this issue Jan 30, 2025 · 0 comments

Comments

@svchb
Copy link
Collaborator

svchb commented Jan 30, 2025

As in #539 and other PRs it is a problem to initialise other systems based on the model selection:

I suggest adding in semidiscretization:

for_each(semi) do system_A 
   for_each(semi) do system_B 
      # pseudocode
      if system_A == system_B continue end
      initialize!(system_A, system_B) 
   end
end

And handling all initialization that is based on other systems in the dispatch of initialize!(system_A, system_B).

Examples of this are:

  • Initialization concerning surface normals and surface tension
  • Corrections
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

No branches or pull requests

1 participant