SPHEntity(光滑粒子流体动力学实体)#
- class genesis.engine.entities.sph_entity.SPHEntity(scene, solver, material, morph, surface, particle_size, idx, particle_start)[源代码]#
基类:
ParticleEntitySPH-based particle entity.
- set_pos_grad(f: <taichi._lib.core.taichi_python.DataType object at 0x7a5b26affc70>, pos_grad: NdarrayType(dtype=None, ndim=None, layout=Layout.AOS, needs_grad=None))[源代码]#
- set_vel_grad(f: <taichi._lib.core.taichi_python.DataType object at 0x7a5b26affc70>, vel_grad: NdarrayType(dtype=None, ndim=None, layout=Layout.AOS, needs_grad=None))[源代码]#