Skip to content

Commit

Permalink
Merge pull request #316 from Ali-7800/113_dev_contact
Browse files Browse the repository at this point in the history
Refactoring contact functions + tests
  • Loading branch information
Ali-7800 authored Nov 7, 2023
2 parents 337ecba + e4be7f1 commit 1da4dbc
Show file tree
Hide file tree
Showing 12 changed files with 2,407 additions and 2,980 deletions.
782 changes: 782 additions & 0 deletions elastica/_contact_functions.py

Large diffs are not rendered by default.

783 changes: 7 additions & 776 deletions elastica/contact_forces.py

Large diffs are not rendered by default.

486 changes: 46 additions & 440 deletions elastica/interaction.py

Large diffs are not rendered by default.

507 changes: 68 additions & 439 deletions elastica/joint.py

Large diffs are not rendered by default.

639 changes: 638 additions & 1 deletion tests/test_contact_classes.py

Large diffs are not rendered by default.

218 changes: 0 additions & 218 deletions tests/test_contact_common_functions.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_contact_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from elastica.typing import RodBase
from elastica.rigidbody import Cylinder, Sphere

from elastica.contact_forces import (
from elastica._contact_functions import (
_calculate_contact_forces_rod_cylinder,
_calculate_contact_forces_rod_rod,
_calculate_contact_forces_self_rod,
Expand Down
Loading

0 comments on commit 1da4dbc

Please sign in to comment.