From: Peter Munch Date: Mon, 1 Jun 2020 07:33:49 +0000 (+0200) Subject: Rename TriaObjectView X-Git-Tag: v9.3.0-rc1~1507^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10434%2Fhead;p=dealii.git Rename TriaObjectView --- 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