From f791b78827fa0444093b31dcb2f48ba6e1a32d82 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 31 Aug 2019 17:21:23 -0400 Subject: [PATCH] Permit reinitialization with iterators instead of (sub)face numbers. This is convenient when paired with the new cell->face_iterators() function. --- doc/news/changes/minor/20191027DavidWells | 4 ++ include/deal.II/fe/fe_values.h | 66 ++++++++++++++++++ source/fe/fe_values.cc | 54 +++++++++++++++ source/fe/fe_values.inst.in | 26 ++++++- tests/fe/shapes.h | 82 ++++++++++++++++++----- 5 files changed, 212 insertions(+), 20 deletions(-) create mode 100644 doc/news/changes/minor/20191027DavidWells diff --git a/doc/news/changes/minor/20191027DavidWells b/doc/news/changes/minor/20191027DavidWells new file mode 100644 index 0000000000..fb70fa6b38 --- /dev/null +++ b/doc/news/changes/minor/20191027DavidWells @@ -0,0 +1,4 @@ +New: Added two new overloads of FEValues::reinit() that take face and subface +iterators instead of face and subface numbers. +
+(David Wells, 2019/10/27) diff --git a/include/deal.II/fe/fe_values.h b/include/deal.II/fe/fe_values.h index 8229d7b760..da9b132a57 100644 --- a/include/deal.II/fe/fe_values.h +++ b/include/deal.II/fe/fe_values.h @@ -3757,6 +3757,18 @@ public: level_dof_access>> &cell, const unsigned int face_no); + /** + * Reinitialize the gradients, Jacobi determinants, etc for face @p face + * and cell @p cell. + * + * @note @p face must be one of @p cell's face iterators. + */ + template