Skip to content

Adding atomic update and clear functions to MaterialPresence - #40

Merged
pkestene merged 1 commit into
kalypsso-dev:mainfrom
mrlag31:features/material-presence-atomic-update
Aug 28, 2026
Merged

Adding atomic update and clear functions to MaterialPresence#40
pkestene merged 1 commit into
kalypsso-dev:mainfrom
mrlag31:features/material-presence-atomic-update

Conversation

@mrlag31

@mrlag31 mrlag31 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

This PR adds functions that atomatically updates the underlying MaterialPresence array (atomic_set and atomic_unset). A clear function is also added.

This PR is the first of 2 PRs to fix a heavy slowdown in the sparse multimaterial Lagrange-Remap solver.

@pkestene pkestene changed the title Adding atomic update and clear functions to MaterialPresece Adding atomic update and clear functions to MaterialPresence Aug 28, 2026
@pkestene
pkestene merged commit 0d0a634 into kalypsso-dev:main Aug 28, 2026
1 check passed
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