Loading...
Searching...
No Matches
LevelSetUtils-Impl.hpp File Reference
#include <Core/Utils/Constants.hpp>
#include <cmath>

Go to the source code of this file.

Namespaces

namespace  CubbyFlow
 

Functions

template<typename T >
bool CubbyFlow::IsInsideSDF (T phi)
 Returns true if phi is inside the implicit surface (< 0).
 
template<typename T >
T CubbyFlow::SmearedHeavisideSDF (T phi)
 Returns smeared Heaviside function.
 
template<typename T >
T CubbyFlow::SmearedDeltaSDF (T phi)
 Returns smeared delta function.
 
template<typename T >
T CubbyFlow::FractionInsideSDF (T phi0, T phi1)
 Returns the fraction occupied by the implicit surface.
 
template<typename T >
void CubbyFlow::CycleArray (T *arr, int size)
 
template<typename T >
T CubbyFlow::FractionInside (T phiBottomLeft, T phiBottomRight, T phiTopLeft, T phiTopRight)
 Returns the fraction occupied by the implicit surface.
 
template<typename T >
T CubbyFlow::DistanceToZeroLevelSet (T phi0, T phi1)