Medusa  1.1
Coordinate Free Mehless Method implementation
shape_flags.hpp File Reference

Detailed Description

Definition of flags related to shape computation.

Definition in file shape_flags.hpp.

#include <string>
#include <tuple>
#include <medusa/bits/approximations/Operators.hpp>
+ Include dependency graph for shape_flags.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mm::sh::operator_tuple< mask, dim >
 Converts shape mask to operator tuple type. More...
 

Namespaces

 mm
 Root namespace for the whole library.
 
 mm::sh
 Namespace holding masks for shapes.
 

Typedefs

typedef unsigned int mm::sh::shape_flags
 Type representing flags for shape functions. More...
 

Functions

std::string mm::sh::str (shape_flags f)
 Convert shape flags to a string representation. More...
 

Variables

static const shape_flags mm::sh::d1 = 1
 Indicates to calculate d1 shapes. More...
 
static const shape_flags mm::sh::lap = 2
 Indicates to calculate laplace shapes. More...
 
static const shape_flags mm::sh::d2 = 4
 Indicates to calculate d2 shapes. More...
 
static const shape_flags mm::sh::div = d1
 Indicates to prepare all shapes needed for div. More...
 
static const shape_flags mm::sh::grad = d1
 Indicates to prepare all shapes needed for grad. More...
 
static const shape_flags mm::sh::graddiv = d2
 Indicates to prepare all shapes needed for graddiv. More...
 
static const shape_flags mm::sh::all = d1 | d2 | lap
 Indicates to prepare all shapes, default. More...