]> https://gitweb.dealii.org/ - dealii.git/commit
Enable get_face_interpolation_matrix() in 1D on FE_Q and FE_Bernstein
authorSimon Sticko <simon@sticko.se>
Tue, 8 Jun 2021 07:42:28 +0000 (09:42 +0200)
committerSimon Sticko <simon@sticko.se>
Tue, 8 Jun 2021 11:29:09 +0000 (13:29 +0200)
commitecd685f529f2abbcf13212dd9a8b22ee8f09bb5f
tree2421a4e8a9be7b0648f3a9176e85ac7b3f576db1
parent0cb66ef4041a7be785a6ebeebeb220a0cec27fcf
Enable get_face_interpolation_matrix() in 1D on FE_Q and FE_Bernstein

Currently, get_face_interpolation_matrix() on FE_Q and FE_Bernstein
throws an ExcImpossibleInDim(1) exception in 1D. This is strange
because the interpolation matrix should just be a 1-by-1 unit matrix.
Remove the dim > 1 assert in FE_Q_base and FE_Bernstein to fix this
and modify two tests to check that it works.
source/fe/fe_bernstein.cc
source/fe/fe_q_base.cc
tests/bits/face_interpolation.cc
tests/bits/face_interpolation.output
tests/fe/face_interpolation_fe_Bernstein_2_fe_q.cc
tests/fe/face_interpolation_fe_Bernstein_2_fe_q.output

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.