mantaflow  0.10
A framework for fluid simulation
Classes | Functions
grid4d.h File Reference
#include "manta.h"
#include "vectorbase.h"
#include "vector4d.h"
#include "kernel.h"

Go to the source code of this file.

Classes

class  Manta::Grid4dBase
 
class  Manta::Grid4d< T >
 

Functions

Vec4 Manta::calcGridSizeFactor4d (Vec4i s1, Vec4i s2)
 helper to compute grid conversion factor between local coordinates of two grids
 
Vec4 Manta::calcGridSizeFactor4d (Vec4 s1, Vec4 s2)
 
void Manta::getComponent4d (const Grid4d< Vec4 > &src, Grid4d< Real > &dst, int c)
 
void Manta::setComponent4d (const Grid4d< Real > &src, Grid4d< Vec4 > &dst, int c)
 
void Manta::Grid4dAdd (Grid4d< T > &me, const Grid4d< S > &other)
 
void Manta::Grid4dSub (Grid4d< T > &me, const Grid4d< S > &other)
 
void Manta::Grid4dMult (Grid4d< T > &me, const Grid4d< S > &other)
 
void Manta::Grid4dDiv (Grid4d< T > &me, const Grid4d< S > &other)
 
void Manta::Grid4dAddScalar (Grid4d< T > &me, const S &other)
 
void Manta::Grid4dMultScalar (Grid4d< T > &me, const S &other)
 
void Manta::Grid4dScaledAdd (Grid4d< T > &me, const Grid4d< T > &other, const S &factor)
 
void Manta::Grid4dSafeDiv (Grid4d< T > &me, const Grid4d< T > &other)
 
void Manta::Grid4dSetConst (Grid4d< T > &me, T value)
 
Vec4 Manta::getGradient4d (const Grid4d< Real > &data, int i, int j, int k, int t)
 
void Manta::KnInterpolateGrid4dTempl (Grid4d< S > &target, Grid4d< S > &source, const Vec4 &sourceFactor, Vec4 offset)