Namespace holding masks for shapes.
Classes | |
struct | operator_tuple |
Converts shape mask to operator tuple type. More... | |
Typedefs | |
typedef unsigned int | shape_flags |
Type representing flags for shape functions. More... | |
Functions | |
std::string | str (shape_flags f) |
Convert shape flags to a string representation. More... | |
Variables | |
static const shape_flags | d1 = 1 |
Indicates to calculate d1 shapes. More... | |
static const shape_flags | lap = 2 |
Indicates to calculate laplace shapes. More... | |
static const shape_flags | d2 = 4 |
Indicates to calculate d2 shapes. More... | |
static const shape_flags | div = d1 |
Indicates to prepare all shapes needed for div. More... | |
static const shape_flags | grad = d1 |
Indicates to prepare all shapes needed for grad. More... | |
static const shape_flags | graddiv = d2 |
Indicates to prepare all shapes needed for graddiv. More... | |
static const shape_flags | all = d1 | d2 | lap |
Indicates to prepare all shapes, default. More... | |
typedef unsigned int mm::sh::shape_flags |
Type representing flags for shape functions.
It has to be an integral type and combinable with bitwise or operator |
indicating flag union.
Definition at line 22 of file shape_flags.hpp.
|
inline |
Convert shape flags to a string representation.
Definition at line 32 of file shape_flags.hpp.
|
static |
Indicates to prepare all shapes, default.
Definition at line 29 of file shape_flags.hpp.
|
static |
Indicates to calculate d1 shapes.
Definition at line 23 of file shape_flags.hpp.
|
static |
Indicates to calculate d2 shapes.
Definition at line 25 of file shape_flags.hpp.
|
static |
Indicates to prepare all shapes needed for div.
Definition at line 26 of file shape_flags.hpp.
|
static |
Indicates to prepare all shapes needed for grad.
Definition at line 27 of file shape_flags.hpp.
|
static |
Indicates to prepare all shapes needed for graddiv.
Definition at line 28 of file shape_flags.hpp.
|
static |
Indicates to calculate laplace shapes.
Definition at line 24 of file shape_flags.hpp.