]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Make sure we don't actually call a function that isn't meant to be
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Aug 2010 03:09:47 +0000 (03:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Aug 2010 03:09:47 +0000 (03:09 +0000)
commitd5f3daf63f8c7aef95c501d6f5ad7913052362a2
tree9552e59d3be65d3795a2ccbf820c0a77bbe18e1a
parent900fc3b5071d816bda23878c65a689f0d99be9d3
Make sure we don't actually call a function that isn't meant to be
called for this particular space dimension. We use the idiom:

  void foo (Quadrature<3> &q)
  {...}

  template <int dim>
  void foo (Quadrature<dim> &q)
  { Assert (false, ExcInternalError()); }

for functions that are supposed to be called only in 3d.

git-svn-id: https://svn.dealii.org/trunk@21656 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/deal.II/include/numerics/vectors.templates.h

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.