]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make Triangulation::straight_boundary public.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 4 Apr 2008 07:34:46 +0000 (07:34 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 4 Apr 2008 07:34:46 +0000 (07:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@15983 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria.h
deal.II/doc/news/changes.h

index e9fded62a2da217b46d6544850c9e1b00a99eed2..329b64587366de90834baad6ef1c297789763108 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -1141,13 +1141,6 @@ template <int dim>
 class Triangulation : public Subscriptor
 {
   private:
-                                    /**
-                                     * Default boundary object. This is used
-                                     * for those boundaries for which no
-                                     * boundary object has been explicitly
-                                     * set using set_boundary().
-                                     */
-    static const StraightBoundary<dim> straight_boundary;
 
                                     /**
                                      * An internal typedef to make
@@ -1157,6 +1150,13 @@ class Triangulation : public Subscriptor
     typedef internal::Triangulation::Iterators<dim> IteratorSelector;
                      
   public:
+                                    /**
+                                     * Default boundary object. This is used
+                                     * for those boundaries for which no
+                                     * boundary object has been explicitly
+                                     * set using set_boundary().
+                                     */
+    static const StraightBoundary<dim> straight_boundary;
     
                                     /**
                                      * Declare some symbolic names
index ec1fe27f9a8472c74670b4a9404f1dbc88ae0922..b5b4a8d4008007f0fd22f35dab6da05bfefe3232 100644 (file)
@@ -290,6 +290,13 @@ constraints individually.
 
 <ol>
 
+  <li> <p>Improved: The StraightBoundary object Triangulation::straight_boundary
+  is now made public. This allows to use Triangulation::straight_boundary instead
+  of recreating a StraightBoundary object when needed.
+  <br>
+  (RH, 2008/04/04)
+  </p></li>
+
   <li> <p>Extendend: SolutionTransfer has an additional template parameters DH
   for the dof handler class to use, which defaults to DoFHandler. However, an
   instantiation is also provided for hp::DoFHandler.

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.