Medusa  1.1
Coordinate Free Mehless Method implementation
mm::sh Namespace Reference

Detailed Description

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 Documentation

◆ shape_flags

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.

Function Documentation

◆ str()

std::string mm::sh::str ( shape_flags  f)
inline

Convert shape flags to a string representation.

Definition at line 32 of file shape_flags.hpp.

Variable Documentation

◆ all

const shape_flags mm::sh::all = d1 | d2 | lap
static

Indicates to prepare all shapes, default.

Examples
test/domains/HalfLinksRefine_test.cpp.

Definition at line 29 of file shape_flags.hpp.

◆ d1

◆ d2

◆ div

const shape_flags mm::sh::div = d1
static

Indicates to prepare all shapes needed for div.

Examples
test/operators/ExplicitVectorOperators_test.cpp.

Definition at line 26 of file shape_flags.hpp.

◆ grad

const shape_flags mm::sh::grad = d1
static

Indicates to prepare all shapes needed for grad.

Examples
test/operators/ExplicitOperators_test.cpp, test/operators/ExplicitVectorOperators_test.cpp, and test/operators/ImplicitOperators_test.cpp.

Definition at line 27 of file shape_flags.hpp.

◆ graddiv

const shape_flags mm::sh::graddiv = d2
static

Indicates to prepare all shapes needed for graddiv.

Examples
test/operators/ImplicitVectorOperators_test.cpp.

Definition at line 28 of file shape_flags.hpp.

◆ lap