]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add container type
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 17 Jun 2009 13:50:05 +0000 (13:50 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 17 Jun 2009 13:50:05 +0000 (13:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@18940 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_accessor.h
deal.II/deal.II/include/grid/tria_accessor.h

index 35c039d3bfa82017ef3ea98fab203081f5780fba..f3151108eaffa460e52b717abd9ce915c1bf94db 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -764,7 +764,13 @@ class DoFCellAccessor :  public DoFAccessor<DH::dimension,DH>
                                      * simpler.
                                      */
     typedef DoFAccessor<DH::dimension,DH> BaseClass;
-    
+
+                                    /**
+                                     * Define the type of the
+                                     * container this is part of.
+                                     */
+    typedef DH Container;
+
                                     /**
                                      * @name Constructors
                                      */
index f79ee92b7cc9a19b36be7b5a4af87c9afab67f41..c3a701b9ebc1f67f6bfb133bace7feac6130633a 100644 (file)
@@ -1681,6 +1681,12 @@ class CellAccessor :  public TriaAccessor<dim,dim,spacedim>
                                      * into the present class.
                                      */
     typedef typename TriaAccessor<dim,dim,spacedim>::AccessorData AccessorData;
+
+                                    /**
+                                     * Define the type of the
+                                     * container this is part of.
+                                     */
+    typedef Triangulation<dim, spacedim> Container;
     
                                     /**
                                      *  @name Constructors

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.