Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
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.