]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor adjustments to the pipe manifolds. 13306/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 27 Jan 2022 22:37:46 +0000 (15:37 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 28 Jan 2022 01:46:34 +0000 (18:46 -0700)
source/grid/grid_generator_pipe_junction.cc

index 47c6805dad892ed09d71c0ee49a3424a31215d2c..f44330b1474d67a35dab5b6d4baef6aa4baa90c3 100644 (file)
@@ -132,7 +132,7 @@ namespace
       virtual Point<spacedim>
       push_forward(const Point<3> &chart_point) const override;
 
-    protected:
+    private:
       /**
        * A vector orthogonal to the normal direction.
        */
@@ -148,7 +148,6 @@ namespace
        */
       const Point<spacedim> point_on_axis;
 
-    private:
       /**
        * Pipe segment properties to calculate its height.
        */
@@ -202,8 +201,7 @@ namespace
     std::unique_ptr<dealii::Manifold<dim, spacedim>>
     Manifold<dim, spacedim>::clone() const
     {
-      return std::make_unique<Manifold<dim, spacedim>>(
-        normal_direction, direction, point_on_axis, data, tolerance);
+      return std::make_unique<Manifold<dim, spacedim>>(*this);
     }
 
 

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.