Skip to content

Matthias/refactoring rkpm weak dirichlet locations#3

Merged
maderthomas merged 17 commits intomasterfrom
matthias/refactoring_rkpm_weak_dirichlet_locations
Nov 11, 2025
Merged

Matthias/refactoring rkpm weak dirichlet locations#3
maderthomas merged 17 commits intomasterfrom
matthias/refactoring_rkpm_weak_dirichlet_locations

Conversation

@matthiasneuner
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates numerical parameters and test configurations across multiple test examples to enable line search functionality and improve convergence. Key changes include adjusting solver tolerances, iteration limits, and time step sizes, along with updating gold standard results to reflect these modifications.

Key Changes:

  • Added line search parameters to the quadratic line search test with specific iteration thresholds
  • Modified iteration options from legacy parameters to tolerance-based configurations in several tests
  • Updated test tolerance levels from strict (1e-12) to more relaxed values (1e-7, 1e-8) for several tests
  • Changed exception handling in dirichlet_load_test from ValueError to NotImplementedError

Reviewed Changes

Copilot reviewed 39 out of 89 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
examples/123_quadratic_line_search_test/quadratic_line_search_test.py Added line search configuration, adjusted time step and iteration parameters
examples/123_quadratic_line_search_test/gold.csv New gold standard results for quadratic line search test
examples/122_lagrangian_multiplier_equal_value_test/* New test files for Lagrangian multiplier equal value constraints
examples/121_marmot_r-snni-finite_strain_plasticity_test/gold.csv Removed old gold standard results
examples/120_lagrangian_multiplier_bc_test/* Updated material parameters and iteration options, relaxed test tolerance
examples/119_marmot_micropolar_sqcni_sdi_vci_dynamic_test/* Changed particle element type reference, regenerated gold results
examples/118_marmot_micropolar_sqcni_nsni_vci_dynamic_test/* Updated iteration options to tolerance-based config, relaxed test tolerance
examples/117_marmot_micropolar_sqcni_sdi_vci_order_1_test/* Changed particle element type, updated iteration config and test tolerance
examples/117_marmot_micropolar_sqcni_sdi_test/* Changed particle element type reference, regenerated gold results
examples/117_marmot_micropolar_sqcni__snsni_test/ New test files for various micropolar formulations
examples/006_dirichlet_load/dirichlet_load_test.py Changed exception type from ValueError to NotImplementedError

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

Comment on lines +133 to +137
# if self._constrainedLocation == "center":
# constrainedCoordinates = p.getCenterCoordinates()
# elif isinstance(self._constrainedLocation, int):
# constrainedCoordinates = p.getVertexCoordinates()[self._constrainedLocation]

Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

This comment appears to contain commented-out code.

Suggested change
# if self._constrainedLocation == "center":
# constrainedCoordinates = p.getCenterCoordinates()
# elif isinstance(self._constrainedLocation, int):
# constrainedCoordinates = p.getVertexCoordinates()[self._constrainedLocation]

Copilot uses AI. Check for mistakes.
@maderthomas maderthomas merged commit a63010f into master Nov 11, 2025
8 of 10 checks passed
@matthiasneuner matthiasneuner deleted the matthias/refactoring_rkpm_weak_dirichlet_locations branch November 15, 2025 09:00
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