mantaflow
0.10
A framework for fluid simulation
|
#include <limits>
#include <sstream>
#include <cstring>
#include "fileio.h"
#include "grid4d.h"
#include "levelset.h"
#include "kernel.h"
Functions | |
template<class T > | |
Grid4dBase::Grid4dType | Manta::typeList () |
template<> | |
Grid4dBase::Grid4dType | Manta::typeList< Real > () |
template<> | |
Grid4dBase::Grid4dType | Manta::typeList< int > () |
template<> | |
Grid4dBase::Grid4dType | Manta::typeList< Vec3 > () |
template<> | |
Grid4dBase::Grid4dType | Manta::typeList< Vec4 > () |
Real | Manta::kn4dMinReal (Grid4d< Real > &val) |
Real | Manta::kn4dMaxReal (Grid4d< Real > &val) |
int | Manta::kn4dMinInt (Grid4d< int > &val) |
int | Manta::kn4dMaxInt (Grid4d< int > &val) |
template<class VEC > | |
Real | Manta::kn4dMinVec (Grid4d< VEC > &val) |
template<class VEC > | |
Real | Manta::kn4dMaxVec (Grid4d< VEC > &val) |
void | Manta::kn4dSetConstReal (Grid4d< T > &me, T val) |
void | Manta::kn4dAddConstReal (Grid4d< T > &me, T val) |
void | Manta::kn4dMultConst (Grid4d< T > &me, T val) |
void | Manta::kn4dClamp (Grid4d< T > &me, T min, T max) |
void | Manta::knGetComp4d (const Grid4d< Vec4 > &src, Grid4d< Real > &dst, int c) |
void | Manta::knSetComp4d (const Grid4d< Real > &src, Grid4d< Vec4 > &dst, int c) |
PYTHON void | Manta::getComp4d (const Grid4d< Vec4 > &src, Grid4d< Real > &dst, int c) |
PYTHON void | Manta::setComp4d (const Grid4d< Real > &src, Grid4d< Vec4 > &dst, int c) |
void | Manta::knSetBnd4d (Grid4d< T > &grid, T value, int w) |
void | Manta::knSetBnd4dNeumann (Grid4d< T > &grid, int w) |
PYTHON Real | Manta::grid4dMaxDiff (Grid4d< Real > &g1, Grid4d< Real > &g2) |
PYTHON Real | Manta::grid4dMaxDiffInt (Grid4d< int > &g1, Grid4d< int > &g2) |
PYTHON Real | Manta::grid4dMaxDiffVec3 (Grid4d< Vec3 > &g1, Grid4d< Vec3 > &g2) |
PYTHON Real | Manta::grid4dMaxDiffVec4 (Grid4d< Vec4 > &g1, Grid4d< Vec4 > &g2) |
void | Manta::knSetRegion4d (Grid4d< S > &dst, Vec4 start, Vec4 end, S value) |
PYTHON void | Manta::setRegion4d (Grid4d< Real > &dst, Vec4 start, Vec4 end, Real value) |
PYTHON void | Manta::setRegion4dVec4 (Grid4d< Vec4 > &dst, Vec4 start, Vec4 end, Vec4 value) |
PYTHON void | Manta::getSliceFrom4d (Grid4d< Real > &src, int srct, Grid< Real > &dst) |
PYTHON void | Manta::getSliceFrom4dVec (Grid4d< Vec4 > &src, int srct, Grid< Vec3 > &dst, Grid< Real > *dstt=NULL) |
void | Manta::knInterpol4d (Grid4d< S > &target, Grid4d< S > &source, const Vec4 &srcFac, const Vec4 &offset) |
interpolate 4d grid from one size to another size More... | |
PYTHON void | Manta::interpolateGrid4d (Grid4d< Real > &target, Grid4d< Real > &source, Vec4 offset=Vec4(0.), Vec4 scale=Vec4(1.), Vec4 size=Vec4(-1.)) |
PYTHON void | Manta::interpolateGrid4dVec (Grid4d< Vec4 > &target, Grid4d< Vec4 > &source, Vec4 offset=Vec4(0.), Vec4 scale=Vec4(1.), Vec4 size=Vec4(-1.)) |