From: Wolfgang Bangerth Date: Tue, 17 Dec 2024 04:13:48 +0000 (-0700) Subject: Ensure that no file is truly empty. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17932%2Fhead;p=dealii.git Ensure that no file is truly empty. --- diff --git a/include/deal.II/arborx/access_traits.h b/include/deal.II/arborx/access_traits.h index b1f80496de..88cb92f09f 100644 --- a/include/deal.II/arborx/access_traits.h +++ b/include/deal.II/arborx/access_traits.h @@ -696,6 +696,14 @@ namespace ArborX } } // namespace ArborX +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/arborx/bvh.h b/include/deal.II/arborx/bvh.h index f34d4ef419..6819cdd6ec 100644 --- a/include/deal.II/arborx/bvh.h +++ b/include/deal.II/arborx/bvh.h @@ -185,5 +185,13 @@ namespace ArborXWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/arborx/distributed_tree.h b/include/deal.II/arborx/distributed_tree.h index 5483eddc4e..c02bd9d2fe 100644 --- a/include/deal.II/arborx/distributed_tree.h +++ b/include/deal.II/arborx/distributed_tree.h @@ -129,5 +129,13 @@ namespace ArborXWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/base/function_cspline.h b/include/deal.II/base/function_cspline.h index 3a56efb0d9..c8ac2f09f7 100644 --- a/include/deal.II/base/function_cspline.h +++ b/include/deal.II/base/function_cspline.h @@ -135,6 +135,14 @@ namespace Functions DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index 888833edb2..7b2d7c5e16 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -2253,6 +2253,14 @@ namespace HDF5 DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_HDF5 #endif // dealii_hdf5_h diff --git a/include/deal.II/base/mpi_large_count.h b/include/deal.II/base/mpi_large_count.h index d7848a7938..61e499c858 100644 --- a/include/deal.II/base/mpi_large_count.h +++ b/include/deal.II/base/mpi_large_count.h @@ -447,5 +447,13 @@ namespace Utilities DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/base/process_grid.h b/include/deal.II/base/process_grid.h index c9deac26a5..31b28534df 100644 --- a/include/deal.II/base/process_grid.h +++ b/include/deal.II/base/process_grid.h @@ -262,6 +262,14 @@ namespace Utilities DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SCALAPACK #endif diff --git a/include/deal.II/cgal/point_conversion.h b/include/deal.II/cgal/point_conversion.h index 20244854e2..a19fc877b2 100644 --- a/include/deal.II/cgal/point_conversion.h +++ b/include/deal.II/cgal/point_conversion.h @@ -100,5 +100,13 @@ namespace CGALWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/cgal/surface_mesh.h b/include/deal.II/cgal/surface_mesh.h index 6f50ee388e..17fa1a6796 100644 --- a/include/deal.II/cgal/surface_mesh.h +++ b/include/deal.II/cgal/surface_mesh.h @@ -91,6 +91,14 @@ namespace CGALWrappers +DEAL_II_NAMESPACE_CLOSE + +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN DEAL_II_NAMESPACE_CLOSE #endif diff --git a/include/deal.II/cgal/triangulation.h b/include/deal.II/cgal/triangulation.h index 97089e0f2a..3f86bce32c 100644 --- a/include/deal.II/cgal/triangulation.h +++ b/include/deal.II/cgal/triangulation.h @@ -564,5 +564,13 @@ namespace CGALWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/cgal/utilities.h b/include/deal.II/cgal/utilities.h index a1cdb2a43e..91723dbd99 100644 --- a/include/deal.II/cgal/utilities.h +++ b/include/deal.II/cgal/utilities.h @@ -692,5 +692,13 @@ namespace CGALWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/differentiation/ad/ad_helpers.h b/include/deal.II/differentiation/ad/ad_helpers.h index 4fd48e5c96..ad14e6f69f 100644 --- a/include/deal.II/differentiation/ad/ad_helpers.h +++ b/include/deal.II/differentiation/ad/ad_helpers.h @@ -4137,6 +4137,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // defined(DEAL_II_WITH_ADOLC) || defined(DEAL_II_TRILINOS_WITH_SACADO) #endif // dealii_differentiation_ad_ad_helpers_h diff --git a/include/deal.II/differentiation/ad/adolc_math.h b/include/deal.II/differentiation/ad/adolc_math.h index a4127a0ad7..e221c9a761 100644 --- a/include/deal.II/differentiation/ad/adolc_math.h +++ b/include/deal.II/differentiation/ad/adolc_math.h @@ -76,6 +76,14 @@ abs(const adtl::adouble &x) DEAL_II_NAMESPACE_CLOSE # endif // DOXYGEN +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_ADOLC #endif diff --git a/include/deal.II/differentiation/ad/adolc_product_types.h b/include/deal.II/differentiation/ad/adolc_product_types.h index e69f46b5d4..ca679a47ff 100644 --- a/include/deal.II/differentiation/ad/adolc_product_types.h +++ b/include/deal.II/differentiation/ad/adolc_product_types.h @@ -274,6 +274,14 @@ struct EnableIfScalar> DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_ADOLC #endif diff --git a/include/deal.II/differentiation/ad/sacado_math.h b/include/deal.II/differentiation/ad/sacado_math.h index 17a6c4195b..e9c7e1adff 100644 --- a/include/deal.II/differentiation/ad/sacado_math.h +++ b/include/deal.II/differentiation/ad/sacado_math.h @@ -93,6 +93,14 @@ DEAL_II_NAMESPACE_CLOSE # endif // DOXYGEN +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_SACADO #endif diff --git a/include/deal.II/differentiation/ad/sacado_product_types.h b/include/deal.II/differentiation/ad/sacado_product_types.h index 9b7c1bbf1e..0fd0768a7d 100644 --- a/include/deal.II/differentiation/ad/sacado_product_types.h +++ b/include/deal.II/differentiation/ad/sacado_product_types.h @@ -253,6 +253,14 @@ struct EnableIfScalar> DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_SACADO #endif diff --git a/include/deal.II/differentiation/sd.h b/include/deal.II/differentiation/sd.h index 0a3caafaaf..68b85a2fe6 100644 --- a/include/deal.II/differentiation/sd.h +++ b/include/deal.II/differentiation/sd.h @@ -53,6 +53,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_h diff --git a/include/deal.II/differentiation/sd/symengine_math.h b/include/deal.II/differentiation/sd/symengine_math.h index c5f91cd487..2cde6f4e38 100644 --- a/include/deal.II/differentiation/sd/symengine_math.h +++ b/include/deal.II/differentiation/sd/symengine_math.h @@ -776,6 +776,14 @@ namespace std # endif // DOXYGEN +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif diff --git a/include/deal.II/differentiation/sd/symengine_number_traits.h b/include/deal.II/differentiation/sd/symengine_number_traits.h index 0d297be97d..389aea6b0c 100644 --- a/include/deal.II/differentiation/sd/symengine_number_traits.h +++ b/include/deal.II/differentiation/sd/symengine_number_traits.h @@ -81,6 +81,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_symengine_number_traits_h diff --git a/include/deal.II/differentiation/sd/symengine_number_types.h b/include/deal.II/differentiation/sd/symengine_number_types.h index a6c279786d..48933c4711 100644 --- a/include/deal.II/differentiation/sd/symengine_number_types.h +++ b/include/deal.II/differentiation/sd/symengine_number_types.h @@ -1448,6 +1448,14 @@ namespace numbers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_symengine_number_types_h diff --git a/include/deal.II/differentiation/sd/symengine_number_visitor_internal.h b/include/deal.II/differentiation/sd/symengine_number_visitor_internal.h index 57aaaf5831..108c4d56ce 100644 --- a/include/deal.II/differentiation/sd/symengine_number_visitor_internal.h +++ b/include/deal.II/differentiation/sd/symengine_number_visitor_internal.h @@ -1003,6 +1003,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_symengine_number_visitor_internal_h diff --git a/include/deal.II/differentiation/sd/symengine_optimizer.h b/include/deal.II/differentiation/sd/symengine_optimizer.h index 59dfdbe6ae..8b967a50dc 100644 --- a/include/deal.II/differentiation/sd/symengine_optimizer.h +++ b/include/deal.II/differentiation/sd/symengine_optimizer.h @@ -2572,6 +2572,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif diff --git a/include/deal.II/differentiation/sd/symengine_product_types.h b/include/deal.II/differentiation/sd/symengine_product_types.h index b4d0e109db..8eee93b683 100644 --- a/include/deal.II/differentiation/sd/symengine_product_types.h +++ b/include/deal.II/differentiation/sd/symengine_product_types.h @@ -129,6 +129,14 @@ namespace internal DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif diff --git a/include/deal.II/differentiation/sd/symengine_scalar_operations.h b/include/deal.II/differentiation/sd/symengine_scalar_operations.h index 392bce7e59..d79ce54685 100644 --- a/include/deal.II/differentiation/sd/symengine_scalar_operations.h +++ b/include/deal.II/differentiation/sd/symengine_scalar_operations.h @@ -1928,6 +1928,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif diff --git a/include/deal.II/differentiation/sd/symengine_tensor_operations.h b/include/deal.II/differentiation/sd/symengine_tensor_operations.h index 2c8d7e9a8e..f39392633e 100644 --- a/include/deal.II/differentiation/sd/symengine_tensor_operations.h +++ b/include/deal.II/differentiation/sd/symengine_tensor_operations.h @@ -1570,6 +1570,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif diff --git a/include/deal.II/differentiation/sd/symengine_types.h b/include/deal.II/differentiation/sd/symengine_types.h index f634453bf4..c657752d57 100644 --- a/include/deal.II/differentiation/sd/symengine_types.h +++ b/include/deal.II/differentiation/sd/symengine_types.h @@ -100,6 +100,14 @@ namespace boost # endif // DOXYGEN +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_symengine_types_h diff --git a/include/deal.II/differentiation/sd/symengine_utilities.h b/include/deal.II/differentiation/sd/symengine_utilities.h index 029c3e49fe..03f0cb5f4f 100644 --- a/include/deal.II/differentiation/sd/symengine_utilities.h +++ b/include/deal.II/differentiation/sd/symengine_utilities.h @@ -162,6 +162,14 @@ namespace Differentiation DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SYMENGINE #endif // dealii_differentiation_sd_symengine_utilities_h diff --git a/include/deal.II/distributed/cell_data_transfer.templates.h b/include/deal.II/distributed/cell_data_transfer.templates.h index ebbb1a856b..0aadb15715 100644 --- a/include/deal.II/distributed/cell_data_transfer.templates.h +++ b/include/deal.II/distributed/cell_data_transfer.templates.h @@ -366,6 +366,14 @@ namespace parallel DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif /* DEAL_II_WITH_P4EST */ #endif /* dealii_distributed_cell_data_transfer_templates_h */ diff --git a/include/deal.II/distributed/p4est_wrappers.h b/include/deal.II/distributed/p4est_wrappers.h index 44e9b95665..9f16e59e1c 100644 --- a/include/deal.II/distributed/p4est_wrappers.h +++ b/include/deal.II/distributed/p4est_wrappers.h @@ -643,6 +643,14 @@ namespace internal DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_P4EST #endif // dealii_p4est_wrappers_h diff --git a/include/deal.II/gmsh/utilities.h b/include/deal.II/gmsh/utilities.h index 4f4e43ed07..f5e6770e46 100644 --- a/include/deal.II/gmsh/utilities.h +++ b/include/deal.II/gmsh/utilities.h @@ -98,5 +98,13 @@ namespace Gmsh DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/arpack_solver.h b/include/deal.II/lac/arpack_solver.h index 0a23be77bf..5ac9faad30 100644 --- a/include/deal.II/lac/arpack_solver.h +++ b/include/deal.II/lac/arpack_solver.h @@ -899,5 +899,13 @@ ArpackSolver::control() const DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/ginkgo_solver.h b/include/deal.II/lac/ginkgo_solver.h index 835e2a7e0a..c6899749bb 100644 --- a/include/deal.II/lac/ginkgo_solver.h +++ b/include/deal.II/lac/ginkgo_solver.h @@ -557,6 +557,14 @@ namespace GinkgoWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_GINKGO #endif diff --git a/include/deal.II/lac/parpack_solver.h b/include/deal.II/lac/parpack_solver.h index bf37e51a3f..f4a984c272 100644 --- a/include/deal.II/lac/parpack_solver.h +++ b/include/deal.II/lac/parpack_solver.h @@ -1164,5 +1164,13 @@ PArpackSolver::control() const DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/petsc_block_sparse_matrix.h b/include/deal.II/lac/petsc_block_sparse_matrix.h index 9c301b43bb..6e6696f160 100644 --- a/include/deal.II/lac/petsc_block_sparse_matrix.h +++ b/include/deal.II/lac/petsc_block_sparse_matrix.h @@ -473,6 +473,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif // dealii_petsc_block_sparse_matrix_h diff --git a/include/deal.II/lac/petsc_block_vector.h b/include/deal.II/lac/petsc_block_vector.h index 067cb79a80..e036c895a1 100644 --- a/include/deal.II/lac/petsc_block_vector.h +++ b/include/deal.II/lac/petsc_block_vector.h @@ -723,6 +723,14 @@ struct is_serial_vector : std::false_type DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_communication_pattern.h b/include/deal.II/lac/petsc_communication_pattern.h index 6c718f26e7..f4e02a8708 100644 --- a/include/deal.II/lac/petsc_communication_pattern.h +++ b/include/deal.II/lac/petsc_communication_pattern.h @@ -369,6 +369,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/petsc_compatibility.h b/include/deal.II/lac/petsc_compatibility.h index c9e345ba99..77095332e0 100644 --- a/include/deal.II/lac/petsc_compatibility.h +++ b/include/deal.II/lac/petsc_compatibility.h @@ -216,5 +216,13 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif // dealii_petsc_compatibility_h diff --git a/include/deal.II/lac/petsc_full_matrix.h b/include/deal.II/lac/petsc_full_matrix.h index 01e6eca1d8..ab7e5fc73f 100644 --- a/include/deal.II/lac/petsc_full_matrix.h +++ b/include/deal.II/lac/petsc_full_matrix.h @@ -91,6 +91,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_matrix_base.h b/include/deal.II/lac/petsc_matrix_base.h index c4b116978e..ad2d7143e1 100644 --- a/include/deal.II/lac/petsc_matrix_base.h +++ b/include/deal.II/lac/petsc_matrix_base.h @@ -1668,6 +1668,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_matrix_free.h b/include/deal.II/lac/petsc_matrix_free.h index 200bfdfd49..1b26d76228 100644 --- a/include/deal.II/lac/petsc_matrix_free.h +++ b/include/deal.II/lac/petsc_matrix_free.h @@ -278,6 +278,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_precondition.h b/include/deal.II/lac/petsc_precondition.h index 9d5e117be8..d9d0be1034 100644 --- a/include/deal.II/lac/petsc_precondition.h +++ b/include/deal.II/lac/petsc_precondition.h @@ -1164,6 +1164,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_snes.h b/include/deal.II/lac/petsc_snes.h index 324de0ba51..55d14583a4 100644 --- a/include/deal.II/lac/petsc_snes.h +++ b/include/deal.II/lac/petsc_snes.h @@ -492,6 +492,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_snes.templates.h b/include/deal.II/lac/petsc_snes.templates.h index 3d343d9cb5..73d88d828f 100644 --- a/include/deal.II/lac/petsc_snes.templates.h +++ b/include/deal.II/lac/petsc_snes.templates.h @@ -707,6 +707,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_solver.h b/include/deal.II/lac/petsc_solver.h index 350d8005e9..eb9c78b0c0 100644 --- a/include/deal.II/lac/petsc_solver.h +++ b/include/deal.II/lac/petsc_solver.h @@ -977,6 +977,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_sparse_matrix.h b/include/deal.II/lac/petsc_sparse_matrix.h index 7b4ddf05ea..064ef82f4a 100644 --- a/include/deal.II/lac/petsc_sparse_matrix.h +++ b/include/deal.II/lac/petsc_sparse_matrix.h @@ -664,6 +664,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_ts.h b/include/deal.II/lac/petsc_ts.h index d7bce504d1..d7c801fdb5 100644 --- a/include/deal.II/lac/petsc_ts.h +++ b/include/deal.II/lac/petsc_ts.h @@ -777,6 +777,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_ts.templates.h b/include/deal.II/lac/petsc_ts.templates.h index a292f46678..eab98b3b02 100644 --- a/include/deal.II/lac/petsc_ts.templates.h +++ b/include/deal.II/lac/petsc_ts.templates.h @@ -1326,6 +1326,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_vector.h b/include/deal.II/lac/petsc_vector.h index c304592548..d98a8f48bb 100644 --- a/include/deal.II/lac/petsc_vector.h +++ b/include/deal.II/lac/petsc_vector.h @@ -574,6 +574,14 @@ struct is_serial_vector : std::false_type DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/petsc_vector_base.h b/include/deal.II/lac/petsc_vector_base.h index 8e0b777873..54946d375e 100644 --- a/include/deal.II/lac/petsc_vector_base.h +++ b/include/deal.II/lac/petsc_vector_base.h @@ -1379,6 +1379,14 @@ namespace PETScWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_PETSC #endif diff --git a/include/deal.II/lac/scalapack.h b/include/deal.II/lac/scalapack.h index 0ad740d815..7420b880b6 100644 --- a/include/deal.II/lac/scalapack.h +++ b/include/deal.II/lac/scalapack.h @@ -1047,6 +1047,14 @@ ScaLAPACKMatrix::local_n() const DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SCALAPACK #endif diff --git a/include/deal.II/lac/slepc_solver.h b/include/deal.II/lac/slepc_solver.h index a4c85b825a..c51c98ace2 100644 --- a/include/deal.II/lac/slepc_solver.h +++ b/include/deal.II/lac/slepc_solver.h @@ -855,6 +855,14 @@ namespace SLEPcWrappers DEAL_II_NAMESPACE_CLOSE +# else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + # endif // DEAL_II_WITH_SLEPC /*---------------------------- slepc_solver.h ---------------------------*/ diff --git a/include/deal.II/lac/slepc_spectral_transformation.h b/include/deal.II/lac/slepc_spectral_transformation.h index d1ed243b8a..1f94f95fdf 100644 --- a/include/deal.II/lac/slepc_spectral_transformation.h +++ b/include/deal.II/lac/slepc_spectral_transformation.h @@ -247,6 +247,14 @@ namespace SLEPcWrappers DEAL_II_NAMESPACE_CLOSE +# else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + # endif // DEAL_II_WITH_SLEPC /*-------------------- slepc_spectral_transformation.h ------------------*/ diff --git a/include/deal.II/lac/trilinos_block_sparse_matrix.h b/include/deal.II/lac/trilinos_block_sparse_matrix.h index ff888c6a5e..240596e565 100644 --- a/include/deal.II/lac/trilinos_block_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_block_sparse_matrix.h @@ -616,6 +616,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif // dealii_trilinos_block_sparse_matrix_h diff --git a/include/deal.II/lac/trilinos_epetra_communication_pattern.h b/include/deal.II/lac/trilinos_epetra_communication_pattern.h index 4b98a5e68d..0755dc109d 100644 --- a/include/deal.II/lac/trilinos_epetra_communication_pattern.h +++ b/include/deal.II/lac/trilinos_epetra_communication_pattern.h @@ -103,6 +103,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_epetra_vector.h b/include/deal.II/lac/trilinos_epetra_vector.h index 4f06d7808e..56d79202b0 100644 --- a/include/deal.II/lac/trilinos_epetra_vector.h +++ b/include/deal.II/lac/trilinos_epetra_vector.h @@ -823,6 +823,14 @@ struct is_serial_vector : std::false_type DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_index_access.h b/include/deal.II/lac/trilinos_index_access.h index ca6e05c988..829cd8bd1f 100644 --- a/include/deal.II/lac/trilinos_index_access.h +++ b/include/deal.II/lac/trilinos_index_access.h @@ -197,5 +197,14 @@ namespace TrilinosWrappers } // namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE + +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif // dealii_trilinos_index_access_h diff --git a/include/deal.II/lac/trilinos_linear_operator.h b/include/deal.II/lac/trilinos_linear_operator.h index 54e66a9090..9c6d6444e8 100644 --- a/include/deal.II/lac/trilinos_linear_operator.h +++ b/include/deal.II/lac/trilinos_linear_operator.h @@ -307,5 +307,13 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif diff --git a/include/deal.II/lac/trilinos_parallel_block_vector.h b/include/deal.II/lac/trilinos_parallel_block_vector.h index 03344d0378..a6135df50c 100644 --- a/include/deal.II/lac/trilinos_parallel_block_vector.h +++ b/include/deal.II/lac/trilinos_parallel_block_vector.h @@ -507,6 +507,14 @@ struct is_serial_vector : std::false_type DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif diff --git a/include/deal.II/lac/trilinos_precondition.h b/include/deal.II/lac/trilinos_precondition.h index 9e55ce8830..a405f1f5d8 100644 --- a/include/deal.II/lac/trilinos_precondition.h +++ b/include/deal.II/lac/trilinos_precondition.h @@ -2179,6 +2179,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif diff --git a/include/deal.II/lac/trilinos_solver.h b/include/deal.II/lac/trilinos_solver.h index ce27cac78a..34148600f9 100644 --- a/include/deal.II/lac/trilinos_solver.h +++ b/include/deal.II/lac/trilinos_solver.h @@ -1393,6 +1393,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index b4dbf23213..2105ad8fb2 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -3335,6 +3335,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +# else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + # endif // DEAL_II_WITH_TRILINOS diff --git a/include/deal.II/lac/trilinos_sparsity_pattern.h b/include/deal.II/lac/trilinos_sparsity_pattern.h index 96225f98e7..648dd8a274 100644 --- a/include/deal.II/lac/trilinos_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_sparsity_pattern.h @@ -1326,6 +1326,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_TRILINOS #endif diff --git a/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.h b/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.h index c1b9683ec3..72f2745550 100644 --- a/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.h @@ -457,6 +457,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_tpetra_trilinos_block_sparse_matrix_h diff --git a/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.templates.h b/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.templates.h index c1a32f66b5..77808bc4cd 100644 --- a/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_block_sparse_matrix.templates.h @@ -337,6 +337,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_tpetra_trilinos_block_sparse_matrix_templates_h diff --git a/include/deal.II/lac/trilinos_tpetra_block_vector.h b/include/deal.II/lac/trilinos_tpetra_block_vector.h index cc09a41de9..e8f9f76fdd 100644 --- a/include/deal.II/lac/trilinos_tpetra_block_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_block_vector.h @@ -250,6 +250,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_trilinos_tpetra_block_vector_h diff --git a/include/deal.II/lac/trilinos_tpetra_block_vector.templates.h b/include/deal.II/lac/trilinos_tpetra_block_vector.templates.h index 55448d33e8..a9115f3f5b 100644 --- a/include/deal.II/lac/trilinos_tpetra_block_vector.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_block_vector.templates.h @@ -231,6 +231,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_trilinos_tpetra_block_vector_templates_h diff --git a/include/deal.II/lac/trilinos_tpetra_communication_pattern.h b/include/deal.II/lac/trilinos_tpetra_communication_pattern.h index 4c0e3512d4..0e3565ad69 100644 --- a/include/deal.II/lac/trilinos_tpetra_communication_pattern.h +++ b/include/deal.II/lac/trilinos_tpetra_communication_pattern.h @@ -134,6 +134,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_tpetra_precondition.h b/include/deal.II/lac/trilinos_tpetra_precondition.h index 76b3aa5f3a..3f9db5a297 100644 --- a/include/deal.II/lac/trilinos_tpetra_precondition.h +++ b/include/deal.II/lac/trilinos_tpetra_precondition.h @@ -1324,6 +1324,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif diff --git a/include/deal.II/lac/trilinos_tpetra_precondition.templates.h b/include/deal.II/lac/trilinos_tpetra_precondition.templates.h index 0900f95f9f..7ca067da76 100644 --- a/include/deal.II/lac/trilinos_tpetra_precondition.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_precondition.templates.h @@ -812,6 +812,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE # endif // DEAL_II_TRILINOS_WITH_IFPACK2 -#endif // DEAL_II_TRILINOS_WITH_TPETRA +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + +#endif // DEAL_II_TRILINOS_WITH_TPETRA #endif diff --git a/include/deal.II/lac/trilinos_tpetra_solver_direct.h b/include/deal.II/lac/trilinos_tpetra_solver_direct.h index 0b96bb7f9b..eba22b6c2c 100644 --- a/include/deal.II/lac/trilinos_tpetra_solver_direct.h +++ b/include/deal.II/lac/trilinos_tpetra_solver_direct.h @@ -312,6 +312,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE # endif // DEAL_II_TRILINOS_WITH_AMESOS2 -#endif // DEAL_II_TRILINOS_WITH_TPETRA +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + +#endif // DEAL_II_TRILINOS_WITH_TPETRA #endif diff --git a/include/deal.II/lac/trilinos_tpetra_solver_direct.templates.h b/include/deal.II/lac/trilinos_tpetra_solver_direct.templates.h index ddca9270ae..acd1085969 100644 --- a/include/deal.II/lac/trilinos_tpetra_solver_direct.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_solver_direct.templates.h @@ -213,6 +213,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE # endif // DEAL_II_TRILINOS_WITH_AMESOS2 -#endif // DEAL_II_TRILINOS_WITH_TPETRA +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + +#endif // DEAL_II_TRILINOS_WITH_TPETRA #endif diff --git a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.h b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.h index a8587ec021..29efe7a55e 100644 --- a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.h @@ -2340,6 +2340,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_trilinos_tpetra_sparse_matrix_h diff --git a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h index 23cae8d196..8e0993f5d1 100644 --- a/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h @@ -1618,6 +1618,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif // dealii_trilinos_tpetra_sparse_matrix_templates_h diff --git a/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h b/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h index 8de6def214..b661d7e95b 100644 --- a/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h @@ -1376,6 +1376,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_TPETRA #endif diff --git a/include/deal.II/lac/trilinos_tpetra_types.h b/include/deal.II/lac/trilinos_tpetra_types.h index 56de340066..81b1e5eba5 100644 --- a/include/deal.II/lac/trilinos_tpetra_types.h +++ b/include/deal.II/lac/trilinos_tpetra_types.h @@ -177,6 +177,15 @@ namespace LinearAlgebra } // namespace TpetraWrappers } // namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE + +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_tpetra_vector.h b/include/deal.II/lac/trilinos_tpetra_vector.h index 96e9676114..354935afee 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.h @@ -1551,6 +1551,14 @@ struct is_serial_vector< DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_tpetra_vector.templates.h b/include/deal.II/lac/trilinos_tpetra_vector.templates.h index 1d30fd4265..24069edcaf 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.templates.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.templates.h @@ -1281,6 +1281,14 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/lac/trilinos_vector.h b/include/deal.II/lac/trilinos_vector.h index 39e7983a50..88242a8bbe 100644 --- a/include/deal.II/lac/trilinos_vector.h +++ b/include/deal.II/lac/trilinos_vector.h @@ -2327,6 +2327,14 @@ struct is_serial_vector : std::false_type DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/opencascade/manifold_lib.h b/include/deal.II/opencascade/manifold_lib.h index 6c1d1cd990..7b420bee15 100644 --- a/include/deal.II/opencascade/manifold_lib.h +++ b/include/deal.II/opencascade/manifold_lib.h @@ -422,5 +422,13 @@ namespace OpenCASCADE DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_OPENCASCADE #endif // dealii_occ_manifold_lib_h diff --git a/include/deal.II/opencascade/utilities.h b/include/deal.II/opencascade/utilities.h index 9d0a8e00ef..e1a0779d10 100644 --- a/include/deal.II/opencascade/utilities.h +++ b/include/deal.II/opencascade/utilities.h @@ -466,6 +466,14 @@ namespace OpenCASCADE DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_OPENCASCADE #endif diff --git a/include/deal.II/optimization/rol/vector_adaptor.h b/include/deal.II/optimization/rol/vector_adaptor.h index 2d50a3fbe1..e29aa069c9 100644 --- a/include/deal.II/optimization/rol/vector_adaptor.h +++ b/include/deal.II/optimization/rol/vector_adaptor.h @@ -506,6 +506,14 @@ namespace Rol DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_TRILINOS_WITH_ROL #endif // dealii_optimization_rol_vector_adaptor_h diff --git a/include/deal.II/sundials/arkode.h b/include/deal.II/sundials/arkode.h index 194a252f51..ecab67311f 100644 --- a/include/deal.II/sundials/arkode.h +++ b/include/deal.II/sundials/arkode.h @@ -1185,6 +1185,15 @@ namespace SUNDIALS } // namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE + +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif diff --git a/include/deal.II/sundials/ida.h b/include/deal.II/sundials/ida.h index a313acdcad..2deb5d6e97 100644 --- a/include/deal.II/sundials/ida.h +++ b/include/deal.II/sundials/ida.h @@ -1143,6 +1143,14 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SUNDIALS #endif diff --git a/include/deal.II/sundials/kinsol.h b/include/deal.II/sundials/kinsol.h index 2b2a0e6d90..062801ca43 100644 --- a/include/deal.II/sundials/kinsol.h +++ b/include/deal.II/sundials/kinsol.h @@ -772,6 +772,14 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/sundials/n_vector.h b/include/deal.II/sundials/n_vector.h index 1e221feb17..80704e9d8d 100644 --- a/include/deal.II/sundials/n_vector.h +++ b/include/deal.II/sundials/n_vector.h @@ -232,6 +232,15 @@ namespace SUNDIALS } // namespace internal } // namespace SUNDIALS + +DEAL_II_NAMESPACE_CLOSE + +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN DEAL_II_NAMESPACE_CLOSE #endif diff --git a/include/deal.II/sundials/n_vector.templates.h b/include/deal.II/sundials/n_vector.templates.h index 8fe20deecc..ace23415f7 100644 --- a/include/deal.II/sundials/n_vector.templates.h +++ b/include/deal.II/sundials/n_vector.templates.h @@ -1385,5 +1385,13 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/sundials/sundials_types.h b/include/deal.II/sundials/sundials_types.h index e53eef8354..32333694e6 100644 --- a/include/deal.II/sundials/sundials_types.h +++ b/include/deal.II/sundials/sundials_types.h @@ -38,5 +38,13 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SUNDIALS #endif // dealii_sundials_types_h diff --git a/include/deal.II/sundials/sunlinsol_wrapper.h b/include/deal.II/sundials/sunlinsol_wrapper.h index 2e23dc9f69..64596c8b56 100644 --- a/include/deal.II/sundials/sunlinsol_wrapper.h +++ b/include/deal.II/sundials/sunlinsol_wrapper.h @@ -255,5 +255,13 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/sundials/utilities.h b/include/deal.II/sundials/utilities.h index 1b7f42c96a..fbdda15316 100644 --- a/include/deal.II/sundials/utilities.h +++ b/include/deal.II/sundials/utilities.h @@ -100,6 +100,14 @@ namespace SUNDIALS DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif // DEAL_II_WITH_SUNDIALS #endif diff --git a/include/deal.II/trilinos/nox.h b/include/deal.II/trilinos/nox.h index 4d48824cc7..ca6b1ba99a 100644 --- a/include/deal.II/trilinos/nox.h +++ b/include/deal.II/trilinos/nox.h @@ -410,6 +410,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/trilinos/nox.templates.h b/include/deal.II/trilinos/nox.templates.h index 8a8e076106..7ccd912677 100644 --- a/include/deal.II/trilinos/nox.templates.h +++ b/include/deal.II/trilinos/nox.templates.h @@ -1265,6 +1265,14 @@ namespace TrilinosWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif diff --git a/include/deal.II/vtk/utilities.h b/include/deal.II/vtk/utilities.h index d1307e4bb0..8f25331fb4 100644 --- a/include/deal.II/vtk/utilities.h +++ b/include/deal.II/vtk/utilities.h @@ -76,5 +76,13 @@ namespace VTKWrappers DEAL_II_NAMESPACE_CLOSE +#else + +// Make sure the scripts that create the C++20 module input files have +// something to latch on if the preprocessor #ifdef above would +// otherwise lead to an empty content of the file. +DEAL_II_NAMESPACE_OPEN +DEAL_II_NAMESPACE_CLOSE + #endif #endif