mantaflow  0.10
A framework for fluid simulation
Classes | Functions
shapes.cpp File Reference
#include "shapes.h"
#include "commonkernels.h"
#include "mesh.h"

Classes

struct  Manta::Tri
 

Functions

void Manta::ApplyShapeToGrid (Grid< T > *grid, Shape *shape, T value, FlagGrid *respectFlags)
 
void Manta::ApplyShapeToGridSmooth (Grid< T > *grid, Grid< Real > &phi, Real sigma, Real shift, T value, FlagGrid *respectFlags)
 
void Manta::ApplyShapeToMACGrid (MACGrid *grid, Shape *shape, Vec3 value, FlagGrid *respectFlags)
 
void Manta::BoxSDF (Grid< Real > &phi, const Vec3 &p1, const Vec3 &p2)
 
void Manta::SphereSDF (Grid< Real > &phi, Vec3 center, Real radius, Vec3 scale)
 
void Manta::CylinderSDF (Grid< Real > &phi, Vec3 center, Real radius, Vec3 zaxis, Real maxz)
 
void Manta::SlopeSDF (const Vec3 &n, Grid< Real > &phiObs, const Real &fac, const Real &origin)