]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Intels ICC C++ compiler requires a default constructor for static
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 May 2001 08:00:08 +0000 (08:00 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 18 May 2001 08:00:08 +0000 (08:00 +0000)
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

deal.II/deal.II/include/grid/tria_boundary.h
deal.II/deal.II/source/grid/tria_boundary.cc

index 54a37755ddeb08eaff3d299f0eceaca453154d26..5b893bced9befed0287104d0af5860fae6c5aee4 100644 (file)
@@ -279,6 +279,13 @@ template <int dim>
 class StraightBoundary : public Boundary<dim>
 {
   public:
+                                    /**
+                                     * Default constructor. Some
+                                     * compilers require this for
+                                     * some reasons.
+                                     */
+    StraightBoundary ();
+    
                                     /**
                                      * Let the new point be the
                                      * arithmetic mean of the two
index 867d15e987b17edc8c754f0b684f8a01af210b69..8e03f33c37bfe1417921d13676b6fa78c778b7f5 100644 (file)
@@ -21,7 +21,7 @@
 
 
 
-/* -------------------------- StraightBoundary --------------------- */
+/* -------------------------- Boundary --------------------- */
 
 
 template <int dim>
@@ -76,6 +76,12 @@ get_normals_at_vertices (const typename Triangulation<dim>::face_iterator &,
 /* -------------------------- StraightBoundary --------------------- */
 
 
+template <int dim>
+StraightBoundary<dim>::StraightBoundary ()
+{};
+
+
+
 template <int dim>
 Point<dim>
 StraightBoundary<dim>::get_new_point_on_line (const typename Triangulation<dim>::line_iterator &line) 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.