]> https://gitweb.dealii.org/ - dealii.git/commit
Make sure we don't actually call a function that isn't meant to be
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 14 Aug 2010 03:09:47 +0000 (03:09 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 14 Aug 2010 03:09:47 +0000 (03:09 +0000)
commit05879f8a793a376aa1b8bb594f8fe50ee476a4bd
tree73ef570535eaf8bf9f51897739351e63ef7a1ea0
parente2792852d7603f3f77d2d50fb5d7d0c9349ca528
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.