]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Throw an exception if someone initializes an FEValues object with a quadrature formul...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Apr 2012 07:51:20 +0000 (07:51 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Apr 2012 07:51:20 +0000 (07:51 +0000)
commitc879af78431728c88b5225411c8705ffd80b1cf6
treecc4426a9023714f2f94cffce9a28e606a453d7c0
parentbe2f349fa8b94344108cf00f39aed9a8984a704e
Throw an exception if someone initializes an FEValues object with a quadrature formula that has no quadrature points. This can happen, more by accident, if one uses fe.unit_support_points as quadrature points and happens to try to do that with a non-interpolating element such as FE_DGP. If one later accesses fe_values.shape_value(i,q) for q=0...dofs_per_cell the resulting error message is completely unintelligible (it complains about an out-of-bounds access to some strange table). Better catch these sorts of cases up front.

git-svn-id: https://svn.dealii.org/trunk@25408 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/source/fe/fe_values.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.