From 71c3dedbf0098c34514f5de9463daae3f3126960 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 27 Jan 2022 15:37:46 -0700 Subject: [PATCH] Minor adjustments to the pipe manifolds. --- source/grid/grid_generator_pipe_junction.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/grid/grid_generator_pipe_junction.cc b/source/grid/grid_generator_pipe_junction.cc index 47c6805dad..f44330b147 100644 --- a/source/grid/grid_generator_pipe_junction.cc +++ b/source/grid/grid_generator_pipe_junction.cc @@ -132,7 +132,7 @@ namespace virtual Point 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 point_on_axis; - private: /** * Pipe segment properties to calculate its height. */ @@ -202,8 +201,7 @@ namespace std::unique_ptr> Manifold::clone() const { - return std::make_unique>( - normal_direction, direction, point_on_axis, data, tolerance); + return std::make_unique>(*this); } -- 2.39.5