From bd0b178ccd76c7e04d9ef181b603dcc19b6c6f08 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 13 Jan 2021 16:39:06 -0700 Subject: [PATCH] Leave a note. --- include/deal.II/fe/mapping_q1.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/deal.II/fe/mapping_q1.h b/include/deal.II/fe/mapping_q1.h index a1562174ce..266cc7739a 100644 --- a/include/deal.II/fe/mapping_q1.h +++ b/include/deal.II/fe/mapping_q1.h @@ -80,6 +80,10 @@ public: * these contexts throughout the library, this class defines a static $Q_1$ * mapping object. This object can then be used in all of those places where * such an object is needed. + * + * @note The use of this object should be avoided since it is only applicable + * in cases where a mesh consists exclusively of quadrilaterals or hexahedra. + * Use ReferenceCell::get_default_linear_mapping() instead. */ template struct StaticMappingQ1 -- 2.39.5