From 92fb172f04c956247b9e826b79108520acc8a3d3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 13 May 2020 15:39:48 -0600 Subject: [PATCH] Use the name make_coefficient_table() in analogy to make_shared() etc. --- examples/step-50/step-50.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/step-50/step-50.cc b/examples/step-50/step-50.cc index a7caa87c26..e5cc7d0b9b 100644 --- a/examples/step-50/step-50.cc +++ b/examples/step-50/step-50.cc @@ -183,7 +183,7 @@ public: // need a function that creates a Table of coefficient values for a // set of cells provided by the MatrixFree operator argument here. template - std::shared_ptr>> create_coefficient_table( + std::shared_ptr>> make_coefficient_table( const MatrixFree> &mf_storage) const; }; @@ -242,7 +242,7 @@ number Coefficient::average_value( template template std::shared_ptr>> -Coefficient::create_coefficient_table( +Coefficient::make_coefficient_table( const MatrixFree> &mf_storage) const { std::shared_ptr>> coefficient_table = @@ -516,7 +516,7 @@ void LaplaceProblem::setup_system() const Coefficient coefficient; mf_system_matrix.set_coefficient( - coefficient.create_coefficient_table(*mf_storage)); + coefficient.make_coefficient_table(*mf_storage)); break; } @@ -620,7 +620,7 @@ void LaplaceProblem::setup_multigrid() const Coefficient coefficient; mf_mg_matrix[level].set_coefficient( - coefficient.create_coefficient_table(*mf_storage_level)); + coefficient.make_coefficient_table(*mf_storage_level)); mf_mg_matrix[level].compute_diagonal(); } -- 2.39.5