]> https://gitweb.dealii.org/ - dealii.git/commit
A better assert in FE_Q_Base::get_subface_interpolation_matrix 12360/head
authorSimon Sticko <simon@sticko.se>
Fri, 28 May 2021 16:00:42 +0000 (18:00 +0200)
committerSimon Sticko <simon@sticko.se>
Mon, 31 May 2021 10:22:26 +0000 (12:22 +0200)
commit0020bbdd4829034325e0caa026a09accccb79a97
tree77296a03e2f76f7028553bed286dd0ae1b4af6e6
parenta31b86c803ea2973ed424a42314f5bf97b4799e9
A better assert in FE_Q_Base::get_subface_interpolation_matrix

The previous assert checked that the element derived from FE_Q_Base
or FE_SimplexPoly. This isn't right for FE_Bernstein, which derives
from FE_Q_Base, but doesn't have support points. Instead of throwing
ExcInterpolationNotImplemented, using FE_Bernstein resulted in an
exception which was hard to understand. Change the assert so that it
checks if the incoming element has support points on the face and has
the right number of components.
source/fe/fe_q_base.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.