From: Martin Kronbichler Date: Wed, 21 May 2025 14:43:35 +0000 (+0200) Subject: Merge pull request #17932 from bangerth/no-empty X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=033c53728ba65ea117e67cf1e8f2927550d4cd70;p=dealii.git Merge pull request #17932 from bangerth/no-empty [C++20 modules] Ensure that no file is truly empty. --- 033c53728ba65ea117e67cf1e8f2927550d4cd70 diff --cc include/deal.II/lac/trilinos_tpetra_block_vector.h index b5daf8ba7a,e8f9f76fdd..96979e2e6c --- a/include/deal.II/lac/trilinos_tpetra_block_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_block_vector.h @@@ -228,18 -248,16 +228,26 @@@ namespace LinearAlgebr } // namespace LinearAlgebra +/** + * Declare dealii::LinearAlgebra::TpetraWrappers::BlockVector as distributed + * vector. + */ +template +struct is_serial_vector< + LinearAlgebra::TpetraWrappers::BlockVector> + : 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_TRILINOS_WITH_TPETRA #endif // dealii_trilinos_tpetra_block_vector_h