From: Maximilian Bergbauer Date: Sat, 13 May 2023 15:07:18 +0000 (+0200) Subject: Use template argument consistently X-Git-Tag: v9.5.0-rc1~236^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208a97e6b2d51e35cacc3646f1a4b253726de92a;p=dealii.git Use template argument consistently --- diff --git a/include/deal.II/matrix_free/fe_point_evaluation.h b/include/deal.II/matrix_free/fe_point_evaluation.h index 9efda1086b..eed0db3036 100644 --- a/include/deal.II/matrix_free/fe_point_evaluation.h +++ b/include/deal.II/matrix_free/fe_point_evaluation.h @@ -1220,8 +1220,8 @@ private: // ----------------------- template and inline function ---------------------- -template -FEPointEvaluation::FEPointEvaluation( +template +FEPointEvaluation::FEPointEvaluation( const Mapping & mapping, const FiniteElement &fe, const UpdateFlags update_flags, @@ -1245,8 +1245,8 @@ FEPointEvaluation::FEPointEvaluation( -template -FEPointEvaluation::FEPointEvaluation( +template +FEPointEvaluation::FEPointEvaluation( NonMatching::MappingInfo &mapping_info, const FiniteElement & fe, const unsigned int first_selected_component) @@ -1340,17 +1340,17 @@ FEPointEvaluation::FEPointEvaluation( -template -FEPointEvaluation::~FEPointEvaluation() +template +FEPointEvaluation::~FEPointEvaluation() { connection_is_reinitialized.disconnect(); } -template +template void -FEPointEvaluation::setup( +FEPointEvaluation::setup( const unsigned int first_selected_component) { AssertIndexRange(first_selected_component + n_components, @@ -1420,9 +1420,9 @@ FEPointEvaluation::setup( -template +template void -FEPointEvaluation::reinit( +FEPointEvaluation::reinit( const typename Triangulation::cell_iterator &cell, const ArrayView> & unit_points) { @@ -1447,9 +1447,9 @@ FEPointEvaluation::reinit( -template +template void -FEPointEvaluation::reinit() +FEPointEvaluation::reinit() { current_cell_index = numbers::invalid_unsigned_int; current_face_number = numbers::invalid_unsigned_int; @@ -1459,9 +1459,9 @@ FEPointEvaluation::reinit() -template +template void -FEPointEvaluation::reinit( +FEPointEvaluation::reinit( const unsigned int cell_index) { current_cell_index = cell_index; @@ -1472,9 +1472,9 @@ FEPointEvaluation::reinit( -template +template void -FEPointEvaluation::reinit( +FEPointEvaluation::reinit( const unsigned int cell_index, const unsigned int face_number) { @@ -1486,9 +1486,9 @@ FEPointEvaluation::reinit( -template +template void -FEPointEvaluation::do_reinit() +FEPointEvaluation::do_reinit() { const_cast(n_q_points_scalar) = mapping_info->get_n_q_points_unvectorized(current_cell_index, @@ -1550,9 +1550,9 @@ FEPointEvaluation::do_reinit() -template +template inline void -FEPointEvaluation::evaluate_fast( +FEPointEvaluation::evaluate_fast( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &evaluation_flags) { @@ -1620,9 +1620,9 @@ FEPointEvaluation::evaluate_fast( -template +template inline void -FEPointEvaluation::evaluate_slow( +FEPointEvaluation::evaluate_slow( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &evaluation_flags) { @@ -1702,9 +1702,9 @@ FEPointEvaluation::evaluate_slow( -template +template void -FEPointEvaluation::evaluate( +FEPointEvaluation::evaluate( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &evaluation_flags) { @@ -1729,9 +1729,9 @@ FEPointEvaluation::evaluate( -template +template inline void -FEPointEvaluation::integrate_fast( +FEPointEvaluation::integrate_fast( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &integration_flags) { @@ -1831,9 +1831,9 @@ FEPointEvaluation::integrate_fast( -template +template inline void -FEPointEvaluation::integrate_slow( +FEPointEvaluation::integrate_slow( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &integration_flags) { @@ -1902,9 +1902,9 @@ FEPointEvaluation::integrate_slow( -template +template void -FEPointEvaluation::integrate( +FEPointEvaluation::integrate( const ArrayView & solution_values, const EvaluationFlags::EvaluationFlags &integration_flags) { @@ -1936,10 +1936,10 @@ FEPointEvaluation::integrate( -template -inline const typename FEPointEvaluation:: +template +inline const typename FEPointEvaluation:: value_type & - FEPointEvaluation::get_value( + FEPointEvaluation::get_value( const unsigned int point_index) const { AssertIndexRange(point_index, values.size()); @@ -1948,10 +1948,10 @@ inline const typename FEPointEvaluation:: -template -inline const typename FEPointEvaluation:: +template +inline const typename FEPointEvaluation:: gradient_type & - FEPointEvaluation::get_gradient( + FEPointEvaluation::get_gradient( const unsigned int point_index) const { AssertIndexRange(point_index, gradients.size()); @@ -1960,10 +1960,10 @@ inline const typename FEPointEvaluation:: -template -inline const typename FEPointEvaluation:: +template +inline const typename FEPointEvaluation:: gradient_type & - FEPointEvaluation::get_unit_gradient( + FEPointEvaluation::get_unit_gradient( const unsigned int point_index) const { Assert(fast_path, @@ -1976,9 +1976,9 @@ inline const typename FEPointEvaluation:: -template +template inline void -FEPointEvaluation::submit_value( +FEPointEvaluation::submit_value( const value_type & value, const unsigned int point_index) { @@ -1988,9 +1988,9 @@ FEPointEvaluation::submit_value( -template +template inline void -FEPointEvaluation::submit_gradient( +FEPointEvaluation::submit_gradient( const gradient_type &gradient, const unsigned int point_index) { @@ -2000,9 +2000,9 @@ FEPointEvaluation::submit_gradient( -template +template inline DerivativeForm<1, dim, spacedim, Number> -FEPointEvaluation::jacobian( +FEPointEvaluation::jacobian( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2015,9 +2015,9 @@ FEPointEvaluation::jacobian( -template +template inline DerivativeForm<1, spacedim, dim, Number> -FEPointEvaluation::inverse_jacobian( +FEPointEvaluation::inverse_jacobian( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2030,9 +2030,9 @@ FEPointEvaluation::inverse_jacobian( -template +template inline Number -FEPointEvaluation::JxW( +FEPointEvaluation::JxW( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2045,9 +2045,9 @@ FEPointEvaluation::JxW( -template +template inline Tensor<1, spacedim, Number> -FEPointEvaluation::normal_vector( +FEPointEvaluation::normal_vector( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2060,9 +2060,9 @@ FEPointEvaluation::normal_vector( -template +template inline Point -FEPointEvaluation::real_point( +FEPointEvaluation::real_point( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2075,9 +2075,9 @@ FEPointEvaluation::real_point( -template +template inline Point -FEPointEvaluation::unit_point( +FEPointEvaluation::unit_point( const unsigned int point_index) const { AssertIndexRange(point_index, n_q_points); @@ -2091,9 +2091,9 @@ FEPointEvaluation::unit_point( -template +template inline std_cxx20::ranges::iota_view -FEPointEvaluation:: +FEPointEvaluation:: quadrature_point_indices() const { return {0U, n_q_points};