]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename TriaObjectView 10434/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 1 Jun 2020 07:33:49 +0000 (09:33 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 1 Jun 2020 07:33:49 +0000 (09:33 +0200)
include/deal.II/grid/tria_object.h
include/deal.II/grid/tria_objects.h

index f38bf01618e0337d25d738d4808be13219faa7d1..c7d6ed589ffe3efb807525bd11c342f706a158f2 100644 (file)
@@ -35,7 +35,7 @@ namespace internal
      * @note The geometric objects are not saved as separate instances of
      * TriaObject but in a single vector in TriaObjects.
      */
-    class TriaObjectView
+    class TriaObject
     {
     public:
       /**
@@ -43,14 +43,14 @@ namespace internal
        *
        * @param faces ArrayView inside of the vector in TriaObjects.
        */
-      TriaObjectView(const ArrayView<int> &faces)
+      TriaObject(const ArrayView<int> &faces)
         : faces(faces)
       {}
 
       /**
        * Store the content of @p other in the vector of TriaObjects.
        */
-      TriaObjectView &
+      TriaObject &
       operator=(const std::initializer_list<int> &other)
       {
         AssertDimension(faces.size(), other.size());
@@ -66,7 +66,7 @@ namespace internal
       /**
        * The same as above but for `unsigned int`.
        */
-      TriaObjectView &
+      TriaObject &
       operator=(const std::initializer_list<unsigned int> &other)
       {
         AssertDimension(faces.size(), other.size());
index 21c7166915637ac15ca64be04c150d254bf6239f..76253bb5b8e803062e338bca927a6852c7f127a3 100644 (file)
@@ -86,7 +86,7 @@ namespace internal
       /**
        * Return a view on the @p index-th geometric object.
        */
-      TriaObjectView
+      TriaObject
       get_object(const unsigned int index);
 
       /**
@@ -424,7 +424,7 @@ namespace internal
 
 
 
-    inline TriaObjectView
+    inline TriaObject
     TriaObjects::get_object(const unsigned int index)
     {
       // assume that each cell has the same number of faces

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.