Skip to content

Commit

Permalink
Merge pull request #16500 from marcfehling/template-arguments
Browse files Browse the repository at this point in the history
Iterate space_dimension over the dedicated template argument list.
  • Loading branch information
bangerth committed Jan 19, 2024
2 parents f8affff + bdabb0f commit 8b58127
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions source/dofs/dof_tools.inst.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ---------------------------------------------------------------------


for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
namespace DoFTools
Expand Down Expand Up @@ -508,4 +508,4 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS)
const DoFHandler<deal_II_dimension - 1, deal_II_space_dimension> &);
\}
#endif
}
}
2 changes: 1 addition & 1 deletion source/dofs/dof_tools_sparsity.inst.in
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ for (deal_II_dimension : DIMENSIONS)
}


for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
template Table<2, DoFTools::Coupling>
Expand Down
2 changes: 1 addition & 1 deletion source/fe/fe_nothing.inst.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@



for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
template class FE_Nothing<deal_II_dimension, deal_II_space_dimension>;
Expand Down
2 changes: 1 addition & 1 deletion source/grid/grid_in.inst.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ---------------------------------------------------------------------


for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
template class GridIn<deal_II_dimension, deal_II_space_dimension>;
Expand Down
2 changes: 1 addition & 1 deletion source/matrix_free/fe_point_evaluation.inst.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@



for (deal_II_dimension, deal_II_space_dimension : DIMENSIONS)
for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS)
{
#if deal_II_dimension <= deal_II_space_dimension
template bool internal::FEPointEvaluation::is_fast_path_supported(
Expand Down

0 comments on commit 8b58127

Please sign in to comment.