]> https://gitweb.dealii.org/ - dealii.git/commit
Throw an exception if someone initializes an FEValues object with a quadrature formul...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 13 Apr 2012 07:51:20 +0000 (07:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 13 Apr 2012 07:51:20 +0000 (07:51 +0000)
commitbcb6ee3b6d42e9bc1c112645aa5391109b756abe
treeda63b39ce06bafca4c43d923c54ca36ce0aacd5d
parent0b83cd379c9b19636ed89722d3fcda1e96b6b5b5
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.