Coupler#

class genesis.engine.coupler.Coupler(simulator, options)[ソース]#

This class handles all the coupling between different solvers.

build()[ソース]#
reset()[ソース]#
mpm_grid_op(f: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da930>, t: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da770>)[ソース]#

This combines mpm's grid_op with coupling operations. If we decouple grid_op with coupling with different solvers, we need to run grid-level operations for each coupling pair, which is inefficient.

mpm_surface_to_particle(f: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da930>)[ソース]#
fem_surface_force(f: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da930>)[ソース]#
sph_rigid(f: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da930>)[ソース]#
pbd_rigid(f: <taichi._lib.core.taichi_python.DataType object at 0x74e2ce1da930>)[ソース]#
preprocess(f)[ソース]#
couple(f)[ソース]#
couple_grad(f)[ソース]#
property active_solvers#

All the active solvers managed by the scene's simulator.