File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 88Description
99-----------
1010
11+ .. note ::
12+ (CAUTION)
13+ The contact is recommended to be added at last. This is because contact forces often includes
14+ friction that may depend on other normal forces and contraints to be calculated accurately.
15+ Be careful on the order of adding interactions.
16+
1117.. rubric :: Available Contact Classes
1218
1319.. autosummary ::
Original file line number Diff line number Diff line change 2626logger = logging .getLogger (__name__ )
2727
2828
29- def warnings () -> None :
30- logger .warning ("Contact features should be instantiated lastly." )
29+
3130
3231
3332class Contact :
@@ -97,8 +96,7 @@ def _finalize_contact(self: ContactedSystemCollectionProtocol) -> None:
9796
9897 self ._feature_group_synchronize .add_operators (contact , [func ])
9998
100- if not self ._feature_group_synchronize .is_last (contact ):
101- warnings ()
99+
102100
103101 self ._contacts = []
104102 del self ._contacts
You can’t perform that action at this time.
0 commit comments