HyperHDG
Namespaces | Classes | Functions
TPP Namespace Reference

Contains the functionalities to evaluate and integrate tensor product type polynomials. More...

Namespaces

 Quadrature
 Contains different structures to numerically integrate given shape functions.
 
 ShapeType
 Contains auxiliary classes that are uesed as template parameters of ShapeFunction.
 

Classes

struct  Hypercube
 Helper class containing numbers and functions related to hypercubes. More...
 
struct  ShapeFunction
 Struct that handles different types of evaluation of shape functions. More...
 

Functions

template<typename float_t >
static constexpr float_t heron_root (const float_t square)
 Calculate the non-negative square-root of a non-negative number at compile time. More...
 

Detailed Description

Contains the functionalities to evaluate and integrate tensor product type polynomials.


Authors
Andreas Rupp, Heidelberg University, 2021.

Function Documentation

◆ heron_root()

template<typename float_t >
static constexpr float_t TPP::heron_root ( const float_t  square)
staticconstexpr

Calculate the non-negative square-root of a non-negative number at compile time.


Template Parameters
float_tThe floating point type with respect to which the square root is evaluated.
Parameters
squareThe number whose square-root is evaluated.
Return values
rootThe square root of the given number.