Skip to content

[MPM] Cleanup elements#14229

Open
ncrescenzio wants to merge 6 commits intomasterfrom
mpm/cleanup-element
Open

[MPM] Cleanup elements#14229
ncrescenzio wants to merge 6 commits intomasterfrom
mpm/cleanup-element

Conversation

@ncrescenzio
Copy link
Contributor

🆕 Changelog

  • Remove local flags that were not used (COMPUTE_RHS_VECTOR, COMPUTE_LHS_MATRIX, COMPUTE_RHS_VECTOR_WITH_COMPONENTS, COMPUTE_LHS_VECTOR_WITH_COMPONENTS)
  • Remove variables aux_MP_pressure, aux_MP_velocity and aux_MP_displacement from MPMUpdatedLagrangianUP (these variables always have value zero)
  • Remove variable mFinalizedStep
  • Use AtomicAdd instead of SetLock/SetUnlock
  • Use #pragma once

@ncrescenzio ncrescenzio requested a review from a team as a code owner February 23, 2026 13:05
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.

1 participant