Reference documentation for deal.II version 9.4.1
\(\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\}}\)
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs
ColorEnriched Namespace Reference

Namespaces

namespace  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 DoFHandler in hp-mode on 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 701 of file fe_enriched.h.