|
mantaflow
0.10
A framework for fluid simulation
|
#include <movingobs.h>
Public Member Functions | |
| PYTHON () MovingObstacle(FluidSolver *parent | |
| PYTHON () void add(Shape *shape) | |
| PYTHON () void moveLinear(Real t | |
| If t in [t0,t1], apply linear motion path from p0 to p1. | |
| PYTHON () void projectOutside(FlagGrid &flags | |
| Compute levelset, and project FLIP particles outside obstacles. | |
Public Attributes | |
| int | emptyType =FlagGrid::TypeEmpty) |
| Real | t0 |
| Real Real | t1 |
| Real Real Vec3 | p0 |
| Real Real Vec3 Vec3 | p1 |
| Real Real Vec3 Vec3 FlagGrid & | flags |
| Real Real Vec3 Vec3 FlagGrid MACGrid & | vel |
| Real Real Vec3 Vec3 FlagGrid MACGrid bool | smooth =true) |
| BasicParticleSystem & | flip |
Protected Attributes | |
| std::vector< Shape * > | mShapes |
| int | mEmptyType |
| int | mID |
Static Protected Attributes | |
| static int | sIDcnt = 10 |
Moving obstacle composed of basic shapes
1.8.13