From bdabb0f2412923942fa8dc67533c804decc0f463 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 18 Jan 2024 16:21:56 -0700 Subject: [PATCH] Iterate space_dimension over the dedicated template argument list. --- source/dofs/dof_tools.inst.in | 4 ++-- source/dofs/dof_tools_sparsity.inst.in | 2 +- source/fe/fe_nothing.inst.in | 2 +- source/grid/grid_in.inst.in | 2 +- source/matrix_free/fe_point_evaluation.inst.in | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/dofs/dof_tools.inst.in b/source/dofs/dof_tools.inst.in index ba10523078..33138186a6 100644 --- a/source/dofs/dof_tools.inst.in +++ b/source/dofs/dof_tools.inst.in @@ -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 @@ -508,4 +508,4 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : DIMENSIONS) const DoFHandler &); \} #endif - } \ No newline at end of file + } diff --git a/source/dofs/dof_tools_sparsity.inst.in b/source/dofs/dof_tools_sparsity.inst.in index 33366eac9f..bebe9fc625 100644 --- a/source/dofs/dof_tools_sparsity.inst.in +++ b/source/dofs/dof_tools_sparsity.inst.in @@ -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> diff --git a/source/fe/fe_nothing.inst.in b/source/fe/fe_nothing.inst.in index cf041b8d2d..e5cd60dbd3 100644 --- a/source/fe/fe_nothing.inst.in +++ b/source/fe/fe_nothing.inst.in @@ -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; diff --git a/source/grid/grid_in.inst.in b/source/grid/grid_in.inst.in index fda474fa09..cdf09cf1ab 100644 --- a/source/grid/grid_in.inst.in +++ b/source/grid/grid_in.inst.in @@ -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; diff --git a/source/matrix_free/fe_point_evaluation.inst.in b/source/matrix_free/fe_point_evaluation.inst.in index 6a50a3fc68..8472091e9d 100644 --- a/source/matrix_free/fe_point_evaluation.inst.in +++ b/source/matrix_free/fe_point_evaluation.inst.in @@ -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( -- 2.39.5