Skip to content

Commit ceab965

Browse files
committed
contact proxy
1 parent d617c9b commit ceab965

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

genesis/options/solvers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ class IPCCouplerOptions(BaseCouplerOptions):
209209
Tolerance rate for linear system solver. Defaults to 1e-4.
210210
sanity_check_enable : bool, optional
211211
Whether to enable sanity checks. Defaults to False.
212+
coupling_strategy : str, optional
213+
Strategy for coupling rigid bodies between Genesis and IPC. Defaults to 'two_way_soft_constraint'.
214+
- 'two_way_soft_constraint': Uses SoftTransformConstraint in IPC for bidirectional coupling
215+
- 'contact_proxy': Alternative coupling strategy (placeholder for future implementation)
212216
ipc_constraint_strength : tuple, optional
213217
Strength ratios for IPC soft transform constraint coupling. Tuple of (translation_strength, rotation_strength).
214218
Higher values create stiffer coupling between Genesis rigid bodies and IPC ABD objects. Defaults to (100.0, 100.0).
@@ -243,6 +247,7 @@ class IPCCouplerOptions(BaseCouplerOptions):
243247
line_search_max_iter: int = 30
244248
linear_system_tol_rate: float = 1e-4
245249
sanity_check_enable: bool = False
250+
coupling_strategy: str = "two_way_soft_constraint"
246251
ipc_constraint_strength: tuple = (100.0, 100.0)
247252
two_way_coupling: bool = True
248253
IPC_self_contact: bool = False

0 commit comments

Comments
 (0)