Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zswang666 committed Dec 23, 2024
1 parent a843ad0 commit c054cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis/engine/solvers/mpm_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def p2g(self, f: ti.i32):
)
self.grid[f, base - self._grid_offset + offset].mass += weight * self.particles_info[i].mass

if self.particles_info[i].free == 0: # non-free particles behave as boundary conditions
if self.particles_info[i].free == 0: # non-free particles behave as boundary conditions
self.grid[f, base - self._grid_offset + offset].vel_in = ti.Vector.zero(gs.ti_float, 3)

@ti.kernel
Expand Down

0 comments on commit c054cf3

Please sign in to comment.