mantaflow  0.10
A framework for fluid simulation
Functions
fastmarch.cpp File Reference
#include "fastmarch.h"
#include "levelset.h"
#include "kernel.h"
#include <algorithm>

Functions

void Manta::SetLevelsetBoundaries (Grid< Real > &phi)
 
void Manta::knExtrapolateMACSimple (MACGrid &vel, int distance, Grid< int > &tmp, const int d, const int c)
 
void Manta::knExtrapolateIntoBnd (FlagGrid &flags, MACGrid &vel, const MACGrid &velTmp)
 
Vec3 Manta::getNormal (const Grid< Real > &data, int i, int j, int k)
 
void Manta::knUnprojectNormalComp (FlagGrid &flags, MACGrid &vel, Grid< Real > &phi, Real maxDist)
 
PYTHON void Manta::extrapolateMACSimple (FlagGrid &flags, MACGrid &vel, int distance=4, LevelsetGrid *phiObs=NULL, bool intoObs=false)
 
void Manta::knExtrapolateMACFromWeight (MACGrid &vel, Grid< Vec3 > &weight, int distance, const int d, const int c)
 
PYTHON void Manta::extrapolateMACFromWeight (MACGrid &vel, Grid< Vec3 > &weight, int distance=2)
 
void Manta::knExtrapolateLsSimple (Grid< S > &val, int distance, Grid< int > &tmp, const int d, S direction)
 
void Manta::knSetRemaining (Grid< S > &phi, Grid< int > &tmp, S distance)
 
PYTHON void Manta::extrapolateLsSimple (Grid< Real > &phi, int distance=4, bool inside=false)
 
PYTHON void Manta::extrapolateVec3Simple (Grid< Vec3 > &vel, Grid< Real > &phi, int distance=4, bool inside=false)