mantaflow  0.10
A framework for fluid simulation
Classes | Functions | Variables
particle.h File Reference
#include <vector>
#include "grid.h"
#include "vectorbase.h"
#include "integrator.h"
#include "randomstream.h"

Go to the source code of this file.

Classes

class  Manta::Grid< T >
 
class  Manta::ParticleDataImpl< T >
 
class  Manta::ParticleBase
 
class  Manta::ParticleSystem< S >
 Main class for particle systems. More...
 
struct  Manta::BasicParticleData
 
class  Manta::BasicParticleSystem
 
struct  Manta::ParticleIndexData
 Index into other particle system. More...
 
class  Manta::ParticleIndexSystem
 
class  Manta::ConnectedParticleSystem< DATA, CON >
 
class  Manta::ParticleDataBase
 
class  Manta::ParticleDataImpl< T >
 

Functions

template<class S >
std::vector< Vec3 > Manta::GridAdvectKernel (std::vector< S > &p, const MACGrid &vel, const FlagGrid &flags, Real dt, bool deleteInObstacle, bool stopInObstacle, const ParticleDataImpl< int > *ptype, const int exclude)
 
void Manta::KnDeleteInObstacle (std::vector< S > &p, const FlagGrid &flags)
 
void Manta::KnClampPositions (std::vector< S > &p, const FlagGrid &flags, ParticleDataImpl< Vec3 > *posOld=NULL, bool stopInObstacle=true, const ParticleDataImpl< int > *ptype=NULL, const int exclude=0)
 
void Manta::KnProjectParticles (ParticleSystem< S > &part, Grid< Vec3 > &gradient)
 
void Manta::KnProjectOutOfBnd (ParticleSystem< S > &part, const FlagGrid &flags, const Real bnd, const bool *axis, const ParticleDataImpl< int > *ptype, const int exclude)
 
int Manta::countParticles (const ParticleDataImpl< int > &t, const int flag)
 count by type flag
 

Variables

const int Manta::DELETE_PART = 20