|
Gradient Augmented Levelset Implementation in CPU & GPU
|
Namespaces | |
| ANALYTICAL_FIELDS | |
| CPU | |
| INPUT_FIELDS | |
| INPUT_PARSER | |
| INTERPOLATION | |
| TEMPORAL_SCHEMES | |
| UTILITIES | |
Functions | |
| static double | pi () |
| static bool | is_equal (double a, double b) |
| static bool | is_equal (int a, int b) |
| Check for equality between integers. More... | |
| template<typename T > | |
| static T | sqr (T a) |
| Compute square. More... | |
| template<typename T > | |
| static T | cube (T a) |
| Compute cube. More... | |
Variables | |
| static double | VSMALL = 1e-10 |
| static const double | one_third = 1. / 3. |
| static const double | two_thirds = 2. / 3. |
|
static |
Compute cube.
Definition at line 84 of file utilities.h.
|
static |
Check for equality within a tolerance.
Tolerance is by default 1e-10.
| a | first argument |
| b | second argument |
Definition at line 70 of file utilities.h.
|
static |
Check for equality between integers.
Definition at line 73 of file utilities.h.
|
static |
Definition at line 55 of file utilities.h.
|
static |
Compute square.
Definition at line 77 of file utilities.h.
|
static |
Definition at line 58 of file utilities.h.
|
static |
Definition at line 59 of file utilities.h.
|
static |
Definition at line 57 of file utilities.h.