From: David Wells Date: Sun, 10 Sep 2017 01:06:29 +0000 (-0400) Subject: Add a default implementation for a template method. X-Git-Tag: v9.0.0-rc1~854^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48d7e64523b1898d6efadecbe408830386dc82f;p=dealii.git Add a default implementation for a template method. --- diff --git a/source/grid/tria_accessor.cc b/source/grid/tria_accessor.cc index 74cf9b5fa9..0cc240e623 100644 --- a/source/grid/tria_accessor.cc +++ b/source/grid/tria_accessor.cc @@ -1133,6 +1133,15 @@ bounding_box () const +template +double TriaAccessor::extent_in_direction(const unsigned int /*axis*/) const +{ + Assert(false, ExcNotImplemented()); + return std::numeric_limits::signaling_NaN(); +} + + + template <> double TriaAccessor<1,1,1>::extent_in_direction(const unsigned int axis) const {