From: Wolfgang Bangerth Date: Wed, 9 Oct 2024 00:30:31 +0000 (-0600) Subject: Add comments clarifying some numbers. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba857dfbe67c28263e4882e48203557c1a5aca47;p=dealii.git Add comments clarifying some numbers. --- diff --git a/source/fe/fe.cc b/source/fe/fe.cc index 77a9004d2b..0998b8801c 100644 --- a/source/fe/fe.cc +++ b/source/fe/fe.cc @@ -888,9 +888,17 @@ FiniteElement::interface_constraints_size() const case 1: return {0U, 0U}; case 2: + // We have to interpolate from the DoFs in the interior of the + // the two child faces (=lines) and the one central vertex + // to the DoFs of the parent face: return {this->n_dofs_per_vertex() + 2 * this->n_dofs_per_line(), this->n_dofs_per_face(face_no)}; case 3: + // We have to interpolate from the DoFs in the interior of the + // the child faces (=quads or tris) and the vertices that are + // not part of the parent face, to the DoFs of the parent face: + Assert(this->reference_cell() == ReferenceCells::get_hypercube(), + ExcNotImplemented()); return {5 * this->n_dofs_per_vertex() + 12 * this->n_dofs_per_line() + 4 * this->n_dofs_per_quad(face_no), this->n_dofs_per_face(face_no)};