From: Ralf Hartmann Date: Fri, 4 Apr 2008 07:34:46 +0000 (+0000) Subject: Make Triangulation::straight_boundary public. X-Git-Tag: v8.0.0~9229 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dfcca92b8bd2d886692dea3f39f63049b4e4ee5;p=dealii.git Make Triangulation::straight_boundary public. git-svn-id: https://svn.dealii.org/trunk@15983 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/grid/tria.h b/deal.II/deal.II/include/grid/tria.h index e9fded62a2..329b645873 100644 --- a/deal.II/deal.II/include/grid/tria.h +++ b/deal.II/deal.II/include/grid/tria.h @@ -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 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 straight_boundary; /** * An internal typedef to make @@ -1157,6 +1150,13 @@ class Triangulation : public Subscriptor typedef internal::Triangulation::Iterators 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 straight_boundary; /** * Declare some symbolic names diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index ec1fe27f9a..b5b4a8d400 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -290,6 +290,13 @@ constraints individually.
    +
  1. 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. +
    + (RH, 2008/04/04) +

  2. +
  3. 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.