diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-04-08 14:25:16 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-04-08 14:25:16 +0300 |
commit | a1ddb633297a603ed19a37340be5f27c1c439d36 (patch) | |
tree | 42bb0e5d41c1b1656a368a73fd5475c1d9763f4a /extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp | |
parent | 7cafdc57e06d675061ec40cfaba03c2af1f58122 (diff) |
Fluid: Update Mantaflow source files
Update includes new grid helper functions and some cleanups.
Diffstat (limited to 'extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp')
-rw-r--r-- | extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp b/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp index 18582d57e64..23f5e23d99d 100644 --- a/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp +++ b/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp @@ -1834,7 +1834,7 @@ struct knFlipDeleteParticlesInObstacle : public KernelBase { } int gridIndex = flags.index(xidx); // remove particles that penetrate obstacles - if (flags[gridIndex] == FlagGrid::TypeObstacle || flags[gridIndex] == FlagGrid::TypeOutflow) { + if (flags.isObstacle(gridIndex) || flags.isOutflow(gridIndex)) { pts.kill(idx); } } |