 |
Shiokaze Framework
A research-oriented fluid solver for computer graphics
|
|
Go to the documentation of this file.
30 #ifndef SHKZ_ARRAY_UTILITY2_H
31 #define SHKZ_ARRAY_UTILITY2_H
60 bool assigned (
false);
66 }
else if(it()!=value) {
115 bool hasInside (
false);
bool value_exist(const array2< T > &array)
Get if a grid constain a value that is different from the background value.
Definition: array_utility2.h:102
bool has_different_values(const array2< T > &array)
Get if a grid constain different values.
Definition: array_utility2.h:58
T get_background_value() const
Get the background value (alternatively, initial value) of the grid.
Definition: array2.h:475
size_t count() const
Count the number of cells of the grid of this shape.
Definition: shape.h:385
bool has_value_not(const array2< T > &array, const T &v)
Get if a grid constain a value that is different from an input value.
Definition: array_utility2.h:83
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: array2.h:1551
shape2 shape() const
Get the shape of the array.
Definition: array2.h:218
#define SHKZ_BEGIN_NAMESPACE
Name space beggining definition for shiokaze.
Definition: common.h:39
bool empty(const array2< T > &array)
Get if a grid is empty.
Definition: array_utility2.h:47
Two dimensional array class designed to be defined as instance member in recursive_configurable class...
Definition: array2.h:42
Namespace that provides various utility functions regarding grid.
Definition: array_utility2.h:38
#define SHKZ_END_NAMESPACE
Name space end definition for shiokaze.
Definition: common.h:44
bool levelset_exist(const array2< T > &levelset)
Get if a level set grid constain both negative and positive values.
Definition: array_utility2.h:113