From: Wolfgang Bangerth Date: Sun, 17 Dec 2023 04:34:51 +0000 (-0700) Subject: Rename a class. X-Git-Tag: relicensing~238^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea496498d0ddb2a7b0f0c5a35479144ae64214e3;p=dealii.git Rename a class. --- diff --git a/include/deal.II/fe/fe_values_base.h b/include/deal.II/fe/fe_values_base.h index 1efce2e36d..fd65b76a3b 100644 --- a/include/deal.II/fe/fe_values_base.h +++ b/include/deal.II/fe/fe_values_base.h @@ -1559,7 +1559,7 @@ protected: * degrees of freedom on this cell in the get_function_values() and assorted * functions. */ - class CellIteratorContainer + class CellIteratorWrapper { public: DeclExceptionMsg( @@ -1576,24 +1576,24 @@ protected: * Constructor. Creates an unusable object that is not associated with * any cell at all. */ - CellIteratorContainer() = default; + CellIteratorWrapper() = default; /** * Constructor. */ - CellIteratorContainer( + CellIteratorWrapper( const typename Triangulation::cell_iterator &cell); /** * Constructor. */ - CellIteratorContainer( + CellIteratorWrapper( const typename DoFHandler::cell_iterator &cell); /** * Constructor. */ - CellIteratorContainer( + CellIteratorWrapper( const typename DoFHandler::level_cell_iterator &cell); /** @@ -1644,7 +1644,7 @@ protected: * is necessary for the get_function_* functions as well as the * functions of same name in the extractor classes. */ - CellIteratorContainer present_cell; + CellIteratorWrapper present_cell; /** * A signal connection we use to ensure we get informed whenever the diff --git a/source/fe/fe_values_base.cc b/source/fe/fe_values_base.cc index 0531f1ce92..ed622161db 100644 --- a/source/fe/fe_values_base.cc +++ b/source/fe/fe_values_base.cc @@ -105,11 +105,11 @@ namespace internal } // namespace } // namespace internal -/* ------------ FEValuesBase::CellIteratorContainer ----------- */ +/* ------------ FEValuesBase::CellIteratorWrapper ----------- */ template -FEValuesBase::CellIteratorContainer::CellIteratorContainer( +FEValuesBase::CellIteratorWrapper::CellIteratorWrapper( const typename Triangulation::cell_iterator &cell) : cell(cell) {} @@ -117,7 +117,7 @@ FEValuesBase::CellIteratorContainer::CellIteratorContainer( template -FEValuesBase::CellIteratorContainer::CellIteratorContainer( +FEValuesBase::CellIteratorWrapper::CellIteratorWrapper( const typename DoFHandler::cell_iterator &cell) : cell(cell) {} @@ -125,7 +125,7 @@ FEValuesBase::CellIteratorContainer::CellIteratorContainer( template -FEValuesBase::CellIteratorContainer::CellIteratorContainer( +FEValuesBase::CellIteratorWrapper::CellIteratorWrapper( const typename DoFHandler::level_cell_iterator &cell) : cell(cell) {} @@ -134,7 +134,7 @@ FEValuesBase::CellIteratorContainer::CellIteratorContainer( template bool -FEValuesBase::CellIteratorContainer::is_initialized() const +FEValuesBase::CellIteratorWrapper::is_initialized() const { return cell.has_value(); } @@ -142,7 +142,7 @@ FEValuesBase::CellIteratorContainer::is_initialized() const template -FEValuesBase::CellIteratorContainer:: +FEValuesBase::CellIteratorWrapper:: operator typename Triangulation::cell_iterator() const { Assert(is_initialized(), ExcNotReinited()); @@ -161,8 +161,7 @@ operator typename Triangulation::cell_iterator() const template types::global_dof_index -FEValuesBase::CellIteratorContainer::n_dofs_for_dof_handler() - const +FEValuesBase::CellIteratorWrapper::n_dofs_for_dof_handler() const { Assert(is_initialized(), ExcNotReinited()); @@ -183,7 +182,7 @@ FEValuesBase::CellIteratorContainer::n_dofs_for_dof_handler() template template void -FEValuesBase::CellIteratorContainer::get_interpolated_dof_values( +FEValuesBase::CellIteratorWrapper::get_interpolated_dof_values( const ReadVector &in, Vector &out) const { diff --git a/source/fe/fe_values_base.inst.in b/source/fe/fe_values_base.inst.in index 012d897f66..6469dab267 100644 --- a/source/fe/fe_values_base.inst.in +++ b/source/fe/fe_values_base.inst.in @@ -27,8 +27,8 @@ for (S : REAL_AND_COMPLEX_SCALARS; deal_II_dimension : DIMENSIONS; { # if deal_II_dimension <= deal_II_space_dimension template void FEValuesBase:: - CellIteratorContainer::get_interpolated_dof_values( - const ReadVector &, Vector &) const; + CellIteratorWrapper::get_interpolated_dof_values(const ReadVector &, + Vector &) const; # endif }