Shiokaze Framework
A research-oriented fluid solver for computer graphics
array_utility3.h File Reference
#include "array3.h"
#include <cmath>
#include <cstdlib>

Go to the source code of this file.

Namespaces

 array_utility3
 Namespace that provides various utility functions.
 

Functions

template<class T >
bool array_utility3::empty (const array3< T > &array)
 Get if a grid is empty. More...
 
template<class T >
bool array_utility3::has_different_values (const array3< T > &array)
 Get if a grid constain different values. More...
 
template<class T >
bool array_utility3::has_value_not (const array3< T > &array, const T &v)
 Get if a grid constain a value that is different from an input value. More...
 
template<class T >
bool array_utility3::value_exist (const array3< T > &array)
 Get if a grid constain a value that is different from the background value. More...
 
template<class T >
bool array_utility3::levelset_exist (const array3< T > &levelset)
 Get if a level set grid constain both negative and positive values. More...