From 90ff63e937d12ea6c17352dbfa426db0f7f95b55 Mon Sep 17 00:00:00 2001 From: nivesh Date: Tue, 26 Jun 2018 15:01:48 +0200 Subject: [PATCH] minor fix --- include/deal.II/fe/fe_enriched.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/deal.II/fe/fe_enriched.h b/include/deal.II/fe/fe_enriched.h index 8a92942f82..bcb1aa369f 100644 --- a/include/deal.II/fe/fe_enriched.h +++ b/include/deal.II/fe/fe_enriched.h @@ -854,8 +854,12 @@ namespace ColorEnriched * 5 (color = 2). cellwise_color_predicate_map has this information * provided we know the material id. * - * Now a call to color_enrichment[1](cell) should in turn call - * enrichments[4](cell). + * The constructed color_enrichments is such that + * color_enrichments[color=1](cell) will return a pointer to + * the enrichment function with id=4, i.e. enrichments[4]. + * In other words, using the previously collected information in + * this function we translate a vector of user provided enrichment + * functions into a vector of functions suitable for FE_Enriched class. * * @param[in] num_colors number of colors for predicates * @param[in] enrichments vector of enrichment functions -- 2.39.5