gs.options.CouplerOptions#
gs.options.CouplerOptions 类用于配置耦合器选项。
- class genesis.options.solvers.CouplerOptions(*, rigid_mpm: bool = True, rigid_sph: bool = True, rigid_pbd: bool = True, rigid_fem: bool = True, mpm_sph: bool = True, mpm_pbd: bool = True, fem_mpm: bool = True, fem_sph: bool = True)[源代码]#
Options configuring the inter-solver coupling.
- 参数:
rigid_mpm (bool, optional) – Whether to enable coupling between rigid and MPM solvers. Defaults to True.
rigid_sph (bool, optional) – Whether to enable coupling between rigid and SPH solvers. Defaults to True.
rigid_pbd (bool, optional) – Whether to enable coupling between rigid and PBD solvers. Defaults to True.
rigid_fem (bool, optional) – Whether to enable coupling between rigid and FEM solvers. Defaults to True.
mpm_sph (bool, optional) – Whether to enable coupling between MPM and SPH solvers. Defaults to True.
mpm_pbd (bool, optional) – Whether to enable coupling between MPM and PBD solvers. Defaults to True.
fem_mpm (bool, optional) – Whether to enable coupling between FEM and MPM solvers. Defaults to True.
fem_sph (bool, optional) – Whether to enable coupling between FEM and SPH solvers. Defaults to True.