taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
483 stars 69 forks source link

Fix voxelizer #47

Closed PavelBlend closed 4 years ago

PavelBlend commented 4 years ago

@yuanming-hu I do not know the correctness of the solution, but in my opinion it works better. Here is the result: 01

fix_44.zip

codecov-io commented 4 years ago

Codecov Report

Merging #47 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   82.60%   82.60%           
=======================================
  Files           3        3           
  Lines         391      391           
  Branches       72       72           
=======================================
  Hits          323      323           
  Misses         41       41           
  Partials       27       27           
Impacted Files Coverage Δ
engine/voxelizer.py 67.02% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1c4d02b...bd15e98. Read the comment docs.