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

Fix mesh mutation frequency #70

Merged
merged 18 commits into from
Feb 5, 2025
Merged

Fix mesh mutation frequency #70

merged 18 commits into from
Feb 5, 2025

Conversation

ctlee
Copy link
Collaborator

@ctlee ctlee commented Dec 7, 2024

Description

Mesh mutation and property prescription algorithms are set as a function of numbers of time steps. Variable time step setting algorithms change the simulation time step as a function of the stiffness of the configuration. Since the next update times were set as a function of the current time step it led to irregular frequencies of update.

This PR adds a baseTimeStep which keeps track of the user intended step relative to which the mutation/prescription periods should be set.

Todos

  • Respect the original frequencies of mesh mutation
  • Add a stricter restriction for split/collapse around masked elements
  • Adds a generalized geodesic distance function

Status

  • Ready to go

* feat: geodesic distance calculations relative to user defined vertices
* ci: remove macos
* build: Update geometry central version
* build: do not search for netcdf

---------

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Due to variable time stepping algorithms the time step can vary with system configuration. The modified time step was used for updating mutation/prescription counters leading to difficult to predict behavior.

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
…ssing when fixed boundary conditions are used

!Modifies split/collapse behavior for fixed boundary simulations

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
ctlee added 5 commits December 7, 2024 11:41
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
…istency check issues

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Copy link
Collaborator

@suikarum1 suikarum1 left a comment

Choose a reason for hiding this comment

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

Could you explain more why maskThreshold is changed to 3? The rest of the changes looks great to me.

suikarum1
suikarum1 previously approved these changes Dec 8, 2024
Copy link
Collaborator

@suikarum1 suikarum1 left a comment

Choose a reason for hiding this comment

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

looks good.

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
ctlee and others added 8 commits December 18, 2024 21:13
…llapse

Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
Signed-off-by: Christopher T. Lee <ctlee@ucsd.edu>
@ctlee ctlee merged commit 71332d2 into main Feb 5, 2025
5 checks passed
@ctlee ctlee deleted the fix-mesh-mutation-frequency branch February 5, 2025 21:19
@ctlee ctlee restored the fix-mesh-mutation-frequency branch February 5, 2025 21:20
ctlee added a commit that referenced this pull request Feb 5, 2025
ctlee added a commit that referenced this pull request Feb 5, 2025
@ctlee ctlee deleted the fix-mesh-mutation-frequency branch February 5, 2025 21: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