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

Go to the source code of this file.

Namespaces

 array_utility2
 Namespace that provides various utility functions regarding grid.
 

Functions

template<class T >
bool array_utility2::empty (const array2< T > &array)
 Get if a grid is empty. More...
 
template<class T >
bool array_utility2::has_different_values (const array2< T > &array)
 Get if a grid constain different values. More...
 
template<class T >
bool array_utility2::has_value_not (const array2< 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_utility2::value_exist (const array2< T > &array)
 Get if a grid constain a value that is different from the background value. More...
 
template<class T >
bool array_utility2::levelset_exist (const array2< T > &levelset)
 Get if a level set grid constain both negative and positive values. More...