mantaflow  0.10
A framework for fluid simulation
Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
Manta::MovingObstacle Class Reference

#include <movingobs.h>

Inheritance diagram for Manta::MovingObstacle:

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 FlagGridflags
 
Real Real Vec3 Vec3 FlagGrid MACGridvel
 
Real Real Vec3 Vec3 FlagGrid MACGrid bool smooth =true)
 
BasicParticleSystemflip
 

Protected Attributes

std::vector< Shape * > mShapes
 
int mEmptyType
 
int mID
 

Static Protected Attributes

static int sIDcnt = 10
 

Detailed Description

Moving obstacle composed of basic shapes


The documentation for this class was generated from the following files: