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

Advection refactor #55

Merged
merged 15 commits into from
Apr 15, 2024
Merged

Advection refactor #55

merged 15 commits into from
Apr 15, 2024

Conversation

zjwegert
Copy link
Owner

The most important changes in this refactor are:

  • A new abstract type LevelSetEvolution, this has interfaces for evolve! (replacing advect!), reinit, and get_dof_Δ. The last of which is a convenience function that we use in Optimisers for the stopping criteria.
  • AdvectionStencil -> HamiltonJacobiEvolution <: LevelSetEvolution. The idea of this is that other ODE solvers can be implemented in future by implemented, for example, HamiltonJacobiEvolutionRK4. We may be able to leverage Gridap ODE features later down the line as well.
  • Stencil now has an additional interface check_order. This should check the order of the supplied FE space and return an error if it is not sufficient to give correct results in parallel.
  • The above has been split into distinct files inside src/LevelSetEvolution.
  • The rest of source and scripts have been updated to reflect above changes.

Are you happy with this @JordiManyer ?

@JordiManyer
Copy link
Collaborator

@zjwegert All good!

@zjwegert zjwegert merged commit f476d83 into main Apr 15, 2024
0 of 4 checks passed
@zjwegert zjwegert deleted the advection-refactor branch April 15, 2024 05:27
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.

2 participants