Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Namespaces | Classes | Typedefs
ColorEnriched Namespace Reference

Namespaces

 internal
 

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.