]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a stray comment about pointer lifetimes. 16184/head
authorDavid Wells <drwells@email.unc.edu>
Tue, 24 Oct 2023 19:41:40 +0000 (15:41 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 24 Oct 2023 19:41:40 +0000 (15:41 -0400)
Nowadays we use Manifold::clone() to avoid this problem.

include/deal.II/grid/tria.h

index 704baa95f51679fc720ced6102550d3e3f3af386..b5d1fe81918369869490df8fea7bff4f5785754f 100644 (file)
@@ -2000,11 +2000,6 @@ public:
    * as a copy constructor, since it makes it easier to maintain collections
    * of triangulations if you can assign them values later on.
    *
-   * Keep in mind that this function also copies the pointer to the boundary
-   * descriptor previously set by the @p set_manifold function. You must
-   * therefore also guarantee that the Manifold objects describing the boundary
-   * have a lifetime at least as long as the copied triangulation.
-   *
    * This triangulation must be empty beforehand.
    *
    * The function is made @p virtual since some derived classes might want to

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.