From cb9b041fde8d38b5b4f6d239bde5271fb350b0b3 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 1 Jun 2020 09:33:49 +0200 Subject: [PATCH] Rename TriaObjectView --- include/deal.II/grid/tria_object.h | 8 ++++---- include/deal.II/grid/tria_objects.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/grid/tria_object.h b/include/deal.II/grid/tria_object.h index f38bf01618..c7d6ed589f 100644 --- a/include/deal.II/grid/tria_object.h +++ b/include/deal.II/grid/tria_object.h @@ -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 &faces) + TriaObject(const ArrayView &faces) : faces(faces) {} /** * Store the content of @p other in the vector of TriaObjects. */ - TriaObjectView & + TriaObject & operator=(const std::initializer_list &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 &other) { AssertDimension(faces.size(), other.size()); diff --git a/include/deal.II/grid/tria_objects.h b/include/deal.II/grid/tria_objects.h index 21c7166915..76253bb5b8 100644 --- a/include/deal.II/grid/tria_objects.h +++ b/include/deal.II/grid/tria_objects.h @@ -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 -- 2.39.5