deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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
Functions
ColorEnriched::internal Namespace Reference

Functions

template<int dim, int spacedim>
bool find_connection_between_subdomains (const DoFHandler< dim, spacedim > &dof_handler, const predicate_function< dim, spacedim > &predicate_1, const predicate_function< dim, spacedim > &predicate_2)
 
template<int dim, int spacedim>
unsigned int color_predicates (const DoFHandler< dim, spacedim > &mesh, const std::vector< predicate_function< dim, spacedim > > &predicates, std::vector< unsigned int > &predicate_colors)
 
template<int dim, int spacedim>
void set_cellwise_color_set_and_fe_index (DoFHandler< dim, spacedim > &dof_handler, const std::vector< predicate_function< dim, spacedim > > &predicates, const std::vector< unsigned int > &predicate_colors, std::map< unsigned int, std::map< unsigned int, unsigned int > > &cellwise_color_predicate_map, std::vector< std::set< unsigned int > > &fe_sets)
 
template<int dim, int spacedim>
void make_colorwise_enrichment_functions (const unsigned int n_colors, const std::vector< std::shared_ptr< Function< spacedim > > > &enrichments, const std::map< unsigned int, std::map< unsigned int, unsigned int > > &cellwise_color_predicate_map, std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &)> > &color_enrichments)
 
template<int dim, int spacedim>
void make_fe_collection_from_colored_enrichments (const unsigned int n_colors, const std::vector< std::set< unsigned int > > &fe_sets, const std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &)> > &color_enrichments, const FiniteElement< dim, spacedim > &fe_base, const FiniteElement< dim, spacedim > &fe_enriched, const FE_Nothing< dim, spacedim > &fe_nothing, hp::FECollection< dim, spacedim > &fe_collection)
 

Function Documentation

◆ find_connection_between_subdomains()

template<int dim, int spacedim>
bool ColorEnriched::internal::find_connection_between_subdomains ( const DoFHandler< dim, spacedim > &  dof_handler,
const predicate_function< dim, spacedim > &  predicate_1,
const predicate_function< dim, spacedim > &  predicate_2 
)

Definition at line 1084 of file fe_enriched.cc.

◆ color_predicates()

template<int dim, int spacedim>
unsigned int ColorEnriched::internal::color_predicates ( const DoFHandler< dim, spacedim > &  mesh,
const std::vector< predicate_function< dim, spacedim > > &  predicates,
std::vector< unsigned int > &  predicate_colors 
)

Definition at line 1114 of file fe_enriched.cc.

◆ set_cellwise_color_set_and_fe_index()

template<int dim, int spacedim>
void ColorEnriched::internal::set_cellwise_color_set_and_fe_index ( DoFHandler< dim, spacedim > &  dof_handler,
const std::vector< predicate_function< dim, spacedim > > &  predicates,
const std::vector< unsigned int > &  predicate_colors,
std::map< unsigned int, std::map< unsigned int, unsigned int > > &  cellwise_color_predicate_map,
std::vector< std::set< unsigned int > > &  fe_sets 
)

Definition at line 1154 of file fe_enriched.cc.

◆ make_colorwise_enrichment_functions()

template<int dim, int spacedim>
void ColorEnriched::internal::make_colorwise_enrichment_functions ( const unsigned int  n_colors,
const std::vector< std::shared_ptr< Function< spacedim > > > &  enrichments,
const std::map< unsigned int, std::map< unsigned int, unsigned int > > &  cellwise_color_predicate_map,
std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &)>  ,
color_enrichments 
)

Definition at line 1356 of file fe_enriched.cc.

◆ make_fe_collection_from_colored_enrichments()

template<int dim, int spacedim>
void ColorEnriched::internal::make_fe_collection_from_colored_enrichments ( const unsigned int  n_colors,
const std::vector< std::set< unsigned int > > &  fe_sets,
const std::vector< std::function< const Function< spacedim > *(const typename Triangulation< dim, spacedim >::cell_iterator &)>  ,
color_enrichments,
const FiniteElement< dim, spacedim > &  fe_base,
const FiniteElement< dim, spacedim > &  fe_enriched,
const FE_Nothing< dim, spacedim > &  fe_nothing,
hp::FECollection< dim, spacedim > &  fe_collection 
)

Definition at line 1404 of file fe_enriched.cc.