 |
Shiokaze Framework
A research-oriented fluid solver for computer graphics
|
|
Go to the documentation of this file.
29 #ifndef SHKZ_ARRAY_UTILITY3_H
30 #define SHKZ_ARRAY_UTILITY3_H
59 bool assigned (
false);
65 }
else if(array(i,j,k)!=value) {
114 bool hasInside (
false);
bool has_different_values(const array3< T > &array)
Get if a grid constain different values.
Definition: array_utility3.h:57
void interruptible_const_serial_actives(std::function< bool(const const_iterator &it)> func) const
Loop over all the active cells in serial order by read-only fashion.
Definition: array3.h:1571
bool levelset_exist(const array3< T > &levelset)
Get if a level set grid constain both negative and positive values.
Definition: array_utility3.h:112
T get_background_value() const
Get the background value (alternatively, initial value) of the grid.
Definition: array3.h:477
size_t count() const
Count the number of cells of the grid of this shape.
Definition: shape.h:857
Namespace that provides various utility functions.
Definition: array_utility3.h:37
bool value_exist(const array3< T > &array)
Get if a grid constain a value that is different from the background value.
Definition: array_utility3.h:101
#define SHKZ_BEGIN_NAMESPACE
Name space beggining definition for shiokaze.
Definition: common.h:39
bool has_value_not(const array3< T > &array, const T &v)
Get if a grid constain a value that is different from an input value.
Definition: array_utility3.h:82
#define SHKZ_END_NAMESPACE
Name space end definition for shiokaze.
Definition: common.h:44
bool empty(const array3< T > &array)
Get if a grid is empty.
Definition: array_utility3.h:46
shape3 shape() const
Get the shape of the array.
Definition: array3.h:218
Three dimensional array class designed to be defined as instance member in recursive_configurable cla...
Definition: array3.h:42