From: wolf Date: Fri, 18 May 2001 08:00:08 +0000 (+0000) Subject: Intels ICC C++ compiler requires a default constructor for static X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de355cca388cb6033ea0a1f5dda48c10d1d151a5;p=dealii-svn.git Intels ICC C++ compiler requires a default constructor for static variables of type StraightBoundary. Make it happy by providing some such thing. git-svn-id: https://svn.dealii.org/trunk@4666 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/tria_boundary.h b/deal.II/deal.II/include/grid/tria_boundary.h index 54a37755dd..5b893bced9 100644 --- a/deal.II/deal.II/include/grid/tria_boundary.h +++ b/deal.II/deal.II/include/grid/tria_boundary.h @@ -279,6 +279,13 @@ template class StraightBoundary : public Boundary { public: + /** + * Default constructor. Some + * compilers require this for + * some reasons. + */ + StraightBoundary (); + /** * Let the new point be the * arithmetic mean of the two diff --git a/deal.II/deal.II/source/grid/tria_boundary.cc b/deal.II/deal.II/source/grid/tria_boundary.cc index 867d15e987..8e03f33c37 100644 --- a/deal.II/deal.II/source/grid/tria_boundary.cc +++ b/deal.II/deal.II/source/grid/tria_boundary.cc @@ -21,7 +21,7 @@ -/* -------------------------- StraightBoundary --------------------- */ +/* -------------------------- Boundary --------------------- */ template @@ -76,6 +76,12 @@ get_normals_at_vertices (const typename Triangulation::face_iterator &, /* -------------------------- StraightBoundary --------------------- */ +template +StraightBoundary::StraightBoundary () +{}; + + + template Point StraightBoundary::get_new_point_on_line (const typename Triangulation::line_iterator &line) const