Skip to content

Matthias/explicit dloads#3

Open
matthiasneuner wants to merge 4 commits into
masterfrom
matthias/explicit_dloads
Open

Matthias/explicit dloads#3
matthiasneuner wants to merge 4 commits into
masterfrom
matthias/explicit_dloads

Conversation

@matthiasneuner

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds support for particle-based distributed loads in the explicit multiphysics solver path and updates/extends example tests to use the new explicit distributed-load capability (including updated Marmot particle-type identifiers).

Changes:

  • Wire ParticleDistributedLoad into ExplicitMultiphysicsSolver.computeSystem() and add explicit distributed-load assembly.
  • Extend Marmot particle wrapper with computeDistributedLoadExplicit(...) and mark select Cython modules as free-threading compatible.
  • Update multiple example scripts’ Marmot particle-type strings and add a new explicit distributed-load regression example with a gold.csv.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
examples/143_marmot_sqcni_nsni_finite_strain_dload_plasticity_explicit_test/marmot_sqcni_nsni_dload_explicit_test.py New explicit test case applying a particle distributed load and comparing to a gold result.
examples/143_marmot_sqcni_nsni_finite_strain_dload_plasticity_explicit_test/gold.csv Gold output for the new explicit distributed-load regression test.
examples/142_marmot_sqcni_nsni_curved_boundary_explicit_test/marmot_sqcni_nsni_curved_boundary_explicit_test.py Update Marmot particle-type identifier string.
examples/141_marmot_sqcni_nsni_finite_strain_plasticity_explicit_test/mpm_marmot_sqcni_nsni_finite_strain_plasticity_explicit_test.py Update Marmot particle-type identifier string.
examples/141_marmot_sqcni_nsni_finite_strain_plasticity_explicit_test/marmot_sqcni_nsni_finite_strain_plasticity_explicit_test.py Update Marmot particle-type identifier string.
examples/132_marmot_displacement_sqci_nsni_hexa_from_exodus_test/marmot_displacement_sqcni_nsni_hexa_from_exodus_test.py Update Marmot particle-type identifier string.
examples/131_marmot_displacement_sqci_nsni_hexa_test/marmot_displacement_sqcni_nsni_hexa_test.py Update Marmot particle-type identifier string.
examples/131_marmot_displacement_snni_nsni_hexa_test/marmot_displacement_snni_nsni_hexa_test.py Update Marmot particle-type identifier string.
examples/130_marmot_displacement_sqcni_nsni_vci_dynamic_test/marmot_displacement_sqcni_nsni_vci_dynamic_test.py Update Marmot particle-type identifier string.
examples/125_penalty_boundary_contact_constraint_test/marmot_mises_penalty_boundary_contact_test.py Update Marmot particle-type identifier string.
examples/125_lagrangian_multilier_boundary_contact_constraint_test/marmot_mises_boundary_contact_test.py Update Marmot particle-type identifier string.
examples/124_punching_problem/marmot_mises_punching_test.py Update Marmot particle-type identifier string.
examples/123_quadratic_line_search_test/quadratic_line_search_test.py Update Marmot particle-type identifier string.
edelweissmeshfree/solvers/explicitmultiphysicssolver.py Add explicit particle distributed-load assembly and pass particleDistributedLoads through compute flow.
edelweissmeshfree/particles/marmot/marmotparticlewrapper.pyx Add computeDistributedLoadExplicit(...) forwarding to Marmot C++ and mark module free-threading compatible.
edelweissmeshfree/particles/marmot/marmotparticlewrapper.pxd Declare Marmot C++ computeDistributedLoadExplicit(...) for Cython binding.
edelweissmeshfree/meshfree/kernelfunctions/marmot/marmotmeshfreekernelfunction.pyx Mark module free-threading compatible.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread edelweissmeshfree/solvers/explicitmultiphysicssolver.py
Comment thread edelweissmeshfree/solvers/explicitmultiphysicssolver.py Outdated
Comment thread edelweissmeshfree/particles/marmot/marmotparticlewrapper.pyx Outdated
@matthiasneuner

Copy link
Copy Markdown
Member Author

@copilot check this PR if it is still relevant; fix potential collisions

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

@copilot check this PR if it is still relevant; fix potential collisions

Checked and updated. I fixed the relevant collisions in 54df38e (particle distributed loads are now finalized at step end; corrected particle dload assembly docstring) and removed the Cython freethreading_compatible directives to avoid version-compatibility collisions. Minor header typo cleanup is in fbec707.

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.

3 participants