HyperHDG
Namespaces | Typedefs | Functions
tpcc.hxx File Reference

This file provides the functions of the submodule TPCC. More...

#include <tpcc/lexicographic.h>
#include <HyperHDG/dense_la.hxx>
#include <HyperHDG/hy_assert.hxx>
Include dependency graph for tpcc.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Wrapper
 A namespace containing the different wrapper functions.
 

Typedefs

template<unsigned int hyEdge_dim, unsigned int space_dim, typename TPCC::boundaries bndT = TPCC::boundaries::both, typename index_t = unsigned int>
using Wrapper::tpcc_t = TPCC::Lexicographic< space_dim, hyEdge_dim, bndT, index_t, unsigned int, unsigned int >
 Type of a tensor product chain complex. More...
 
template<unsigned int hyEdge_dim, unsigned int space_dim>
using Wrapper::tpcc_elem_t = TPCC::Element< space_dim, hyEdge_dim, unsigned int, unsigned int >
 Type of an element of a tensor product chain complex. More...
 

Functions

unsigned int Wrapper::binomial (unsigned int n, unsigned int k)
 Binomial coefficient of unsigned integers. More...
 
template<unsigned int hyEdge_dim, unsigned int space_dim, typename TPCC::boundaries bndT = TPCC::boundaries::both, typename index_t = unsigned int>
tpcc_t< hyEdge_dim, space_dim, bndT, index_t > Wrapper::create_tpcc (const SmallVec< space_dim, index_t > &vec)
 Create a tensor product chain complex. More...
 
template<typename TPCC::boundaries bndT>
auto Wrapper::tpcc_faces (const auto &elements)
 Create a tensor product chain complex associated to the facets. More...
 
template<typename index_t = unsigned int>
index_t Wrapper::n_elements (const auto &tpcc)
 Return the element of given index the TPCC. More...
 
auto Wrapper::get_element (const auto &tpcc, const auto index)
 Return the element of given index the TPCC. More...
 
template<typename index_t = unsigned int>
index_t Wrapper::get_index (const auto &tpcc, const auto &elem)
 Return index of given element within TPCC. More...
 
template<typename index_t = unsigned int>
index_t Wrapper::get_index_in_slice (const auto &tpcc, const auto &elem)
 Return index of given element within TPCC. More...
 
auto Wrapper::get_face (const auto &elem, const unsigned int index)
 Return i-th element facet. More...
 
unsigned int Wrapper::elem_orientation (const auto &elem)
 Determine the orientation of an element. More...
 
unsigned int Wrapper::exterior_direction (const auto &elem, const unsigned int index)
 Return the index-th orthonormal direction to element. More...
 
unsigned int Wrapper::exterior_coordinate (const auto &elem, const unsigned int index)
 Return coordinate value with respect to index-th orthonormal direction on element. More...
 
unsigned int Wrapper::interior_coordinate (const auto &elem, const unsigned int index)
 Return coordinate value with respect to index-th orthonormal direction of element. More...
 

Detailed Description

This file provides the functions of the submodule TPCC.


This is a wrapper file to provide TPCC (tensor product chain complex) based functions. Since this is an external submodule utilized by hyperHDG, this file provides appropriate wrapper functions.

Authors
Guido Kanschat, Heidelberg University, 2019–2020.
Andreas Rupp, Heidelberg University, 2019–2020.