From: Ahmad Shahba Date: Sun, 3 Jul 2022 22:40:51 +0000 (-0400) Subject: Added explicit instantiations of DoFTools::distribute_cell_to_dof_vector for non... X-Git-Tag: v9.5.0-rc1~1077^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3fd3d2ef2c9e230b6523d7240b35d50d7c2d822;p=dealii.git Added explicit instantiations of DoFTools::distribute_cell_to_dof_vector for non-zero codim cases --- diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index 515ada123d..eca45afde1 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -154,19 +154,6 @@ for (deal_II_dimension : DIMENSIONS) // TODO: can cleanup a bit more to fit into the scheme used above - template void DoFTools::distribute_cell_to_dof_vector( - const DoFHandler &dof_handler, - const Vector & cell_data, - Vector & dof_data, - const unsigned int component); - template void DoFTools::distribute_cell_to_dof_vector( - const DoFHandler &dof_handler, - const Vector & cell_data, - Vector & dof_data, - const unsigned int component); - template void DoFTools::extract_boundary_dofs( const DoFHandler &, @@ -455,16 +442,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const DoFHandler &, const BlockMask &, std::vector &); - \} -#endif - } - -for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) - { -#if deal_II_dimension <= deal_II_space_dimension - namespace DoFTools - \{ template void make_cell_patches( SparsityPattern &, @@ -473,6 +451,21 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const std::vector &, const types::global_dof_index); + template void + distribute_cell_to_dof_vector( + const DoFHandler + & dof_handler, + const Vector &cell_data, + Vector & dof_data, + const unsigned int component); + + template void + distribute_cell_to_dof_vector( + const DoFHandler + & dof_handler, + const Vector &cell_data, + Vector & dof_data, + const unsigned int component); \} #endif }