Reference documentation for deal.II version Git 350fd17bfc 2020-02-26 19:16:00 +0100
\(\newcommand{\vcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\vcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Typedefs
ColorEnriched Namespace Reference

Classes

struct  Helper
 

Typedefs

template<int dim, int spacedim = dim>
using predicate_function = std::function< bool(const typename Triangulation< dim, spacedim >::cell_iterator &)>
 

Detailed Description

This namespace consists of a class needed to create a collection of FE_Enriched finite elements (hp::FECollection) to be used with hp::DoFHandler in a domain with multiple, possibly overlapping, sub-domains with individual enrichment functions.

To create hp::FECollection, a graph coloring algorithm is used to assign colors to enrichment functions before creating hp::FECollection. Hence the name.

Typedef Documentation

◆ predicate_function

template<int dim, int spacedim = dim>
using ColorEnriched::predicate_function = typedef std::function<bool( const typename Triangulation<dim, spacedim>::cell_iterator &)>

An alias template for predicate function which returns a boolean for a Triangulation<dim,spacedim>::cell_iterator object.

This is used by helper functions and in the implementation of ColorEnriched::Helper class.

Definition at line 736 of file fe_enriched.h.