]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a default implementation for a template method.
authorDavid Wells <wellsd2@rpi.edu>
Sun, 10 Sep 2017 01:06:29 +0000 (21:06 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 28 Oct 2017 18:17:06 +0000 (14:17 -0400)
source/grid/tria_accessor.cc

index 74cf9b5fa96e06178dfbefd4e170c847c735154c..0cc240e62356eb45610364e185207c6ae2958dc8 100644 (file)
@@ -1133,6 +1133,15 @@ bounding_box () const
 
 
 
+template <int structdim, int dim, int spacedim>
+double TriaAccessor<structdim, dim, spacedim>::extent_in_direction(const unsigned int /*axis*/) const
+{
+  Assert(false, ExcNotImplemented());
+  return std::numeric_limits<double>::signaling_NaN();
+}
+
+
+
 template <>
 double TriaAccessor<1,1,1>::extent_in_direction(const unsigned int axis) const
 {

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.