mantaflow
0.10
A framework for fluid simulation
|
#include "vectorbase.h"
#include "shapes.h"
#include "commonkernels.h"
#include "particle.h"
#include "noisefield.h"
#include "simpleimage.h"
#include "mesh.h"
Functions | |
void | Manta::KnApplyNoiseInfl (const FlagGrid &flags, Grid< Real > &density, WaveletNoiseField &noise, const Grid< Real > &sdf, Real scale, Real sigma) |
PYTHON void | Manta::densityInflow (const FlagGrid &flags, Grid< Real > &density, WaveletNoiseField &noise, Shape *shape, Real scale=1.0, Real sigma=0) |
void | Manta::KnAddNoise (const FlagGrid &flags, Grid< Real > &density, WaveletNoiseField &noise, const Grid< Real > *sdf, Real scale) |
PYTHON void | Manta::addNoise (const FlagGrid &flags, Grid< Real > &density, WaveletNoiseField &noise, const Grid< Real > *sdf=NULL, Real scale=1.0) |
void | Manta::knSetPdataNoise (BasicParticleSystem &parts, ParticleDataImpl< T > &pdata, WaveletNoiseField &noise, Real scale) |
void | Manta::knSetPdataNoiseVec (BasicParticleSystem &parts, ParticleDataImpl< T > &pdata, WaveletNoiseField &noise, Real scale) |
PYTHON void | Manta::setNoisePdata (BasicParticleSystem &parts, ParticleDataImpl< Real > &pd, WaveletNoiseField &noise, Real scale=1.) |
PYTHON void | Manta::setNoisePdataVec3 (BasicParticleSystem &parts, ParticleDataImpl< Vec3 > &pd, WaveletNoiseField &noise, Real scale=1.) |
PYTHON void | Manta::setNoisePdataInt (BasicParticleSystem &parts, ParticleDataImpl< int > &pd, WaveletNoiseField &noise, Real scale=1.) |
PYTHON Grid< Vec3 > | Manta::obstacleGradient (const FlagGrid &flags) |
SDF gradient from obstacle flags, for turbulence.py. More... | |
PYTHON LevelsetGrid | Manta::obstacleLevelset (const FlagGrid &flags) |
void | Manta::KnApplyEmission (FlagGrid &flags, Grid< Real > &density, Grid< Real > &emission, bool isAbsolute) |
PYTHON void | Manta::applyEmission (FlagGrid &flags, Grid< Real > &density, Grid< Real > &emission, bool isAbsolute) |
Add emission values. More... | |
void | Manta::KnApplyDensity (FlagGrid &flags, Grid< Real > &density, Grid< Real > &sdf, Real value, Real sigma) |
PYTHON void | Manta::densityInflowMeshNoise (FlagGrid &flags, Grid< Real > &density, WaveletNoiseField &noise, Mesh *mesh, Real scale=1.0, Real sigma=0) |
PYTHON void | Manta::densityInflowMesh (FlagGrid &flags, Grid< Real > &density, Mesh *mesh, Real value=1., Real cutoff=7, Real sigma=0) |
PYTHON void | Manta::checkSymmetry (Grid< Real > &a, Grid< Real > *err=NULL, bool symmetrize=false, int axis=0, int bound=0) |
PYTHON void | Manta::checkSymmetryVec3 (Grid< Vec3 > &a, Grid< Real > *err=NULL, bool symmetrize=false, int axis=0, int bound=0, int disable=0) |
void | Manta::projectImg (SimpleImage &img, Grid< Real > &val, int shadeMode=0, Real scale=1.) |
helper to project a grid intro an image (used for ppm export and GUI displauy) | |
PYTHON void | Manta::projectPpmFull (Grid< Real > &val, string name, int shadeMode=0, Real scale=1.) |
PYTHON void | Manta::addTestParts (BasicParticleSystem &parts, int num) |
PYTHON Real | Manta::pdataMaxDiff (ParticleDataBase *a, ParticleDataBase *b) |
PYTHON Vec3 | Manta::calcCenterOfMass (Grid< Real > &density) |
void | Manta::KnUpdateFractions (const FlagGrid &flags, const Grid< Real > &phiObs, MACGrid &fractions, const int &boundaryWidth) |
PYTHON void | Manta::updateFractions (const FlagGrid &flags, const Grid< Real > &phiObs, MACGrid &fractions, const int &boundaryWidth=0) |
void | Manta::KnUpdateFlagsObs (FlagGrid &flags, const MACGrid *fractions, const Grid< Real > &phiObs, const Grid< Real > *phiOut) |
PYTHON void | Manta::setObstacleFlags (FlagGrid &flags, const Grid< Real > &phiObs, const MACGrid *fractions=NULL, const Grid< Real > *phiOut=NULL) |
void | Manta::kninitVortexVelocity (const Grid< Real > &phiObs, MACGrid &vel, const Vec3 ¢er, const Real &radius) |
PYTHON void | Manta::initVortexVelocity (Grid< Real > &phiObs, MACGrid &vel, const Vec3 ¢er, const Real &radius) |