From: Wolfgang Bangerth Date: Wed, 13 May 2020 21:39:48 +0000 (-0600) Subject: Use the name make_coefficient_table() in analogy to make_shared() etc. X-Git-Tag: v9.2.0-rc2~7^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92fb172f04c956247b9e826b79108520acc8a3d3;p=dealii.git Use the name make_coefficient_table() in analogy to make_shared() etc. --- 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(); }