Skip to content

Modified logic to determine when FEM needs to be recomputed #453

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

Open
wants to merge 1 commit into
base: landice/develop
Choose a base branch
from

Conversation

matthewhoffman
Copy link
Member

Fix logic to determine whether the finite element mesh needs to be recomputed. Note: in order to compare the cell mask with the previous time steps, we would need the cell mask to have 2 time levels. However, if we set the cell mask to have 2 time levels we get different results. This needs to be fixed. At the moment the cell mask is set to have 1 time level, so it might happen that the mesh is not recomputed when it should.

The mesh needs to be recomputed non only of the vertices ice mask has changed, but also if
the floating edges mask and the cell ice mask has changed.
Note: in order to compare the clee mask with the previous time steps, we would need the cell mask
to have 2 time levels. Howver, if we set the cell mask to have 2 time levels we get different results.
This needs to be fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants