From: Wolfgang Bangerth Date: Fri, 11 Apr 2025 14:45:26 +0000 (-0600) Subject: Prefer names with std::. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07612ed39deaf6291c9d36f725a51e250a2d494;p=dealii.git Prefer names with std::. --- diff --git a/include/deal.II/lac/petsc_block_sparse_matrix.h b/include/deal.II/lac/petsc_block_sparse_matrix.h index 9c301b43bb..0ffe956c19 100644 --- a/include/deal.II/lac/petsc_block_sparse_matrix.h +++ b/include/deal.II/lac/petsc_block_sparse_matrix.h @@ -27,6 +27,7 @@ # include # include +# include DEAL_II_NAMESPACE_OPEN @@ -113,7 +114,7 @@ namespace PETScWrappers /** * Create a BlockSparseMatrix with an array of PETSc matrices. */ - template + template explicit BlockSparseMatrix( const std::array, block_rows> &); @@ -370,7 +371,7 @@ namespace PETScWrappers - template + template inline BlockSparseMatrix::BlockSparseMatrix( const std::array, block_rows> &arrayA) : BlockSparseMatrix() diff --git a/include/deal.II/lac/petsc_block_vector.h b/include/deal.II/lac/petsc_block_vector.h index 7cb9a01e81..68b26de13f 100644 --- a/include/deal.II/lac/petsc_block_vector.h +++ b/include/deal.II/lac/petsc_block_vector.h @@ -26,6 +26,8 @@ # include # include +# include + DEAL_II_NAMESPACE_OPEN @@ -140,7 +142,7 @@ namespace PETScWrappers /** * Create a BlockVector with an array of PETSc vectors. */ - template + template explicit BlockVector(const std::array &); /** @@ -452,7 +454,7 @@ namespace PETScWrappers - template + template inline BlockVector::BlockVector(const std::array &arrayV) : BlockVector() { diff --git a/include/deal.II/lac/petsc_sparse_matrix.h b/include/deal.II/lac/petsc_sparse_matrix.h index 7b4ddf05ea..dbc2d2c50e 100644 --- a/include/deal.II/lac/petsc_sparse_matrix.h +++ b/include/deal.II/lac/petsc_sparse_matrix.h @@ -27,6 +27,7 @@ # include # include +# include # include DEAL_II_NAMESPACE_OPEN @@ -221,13 +222,13 @@ namespace PETScWrappers /** * Return the number of rows of this matrix. */ - size_t + std::size_t m() const; /** * Return the number of columns of this matrix. */ - size_t + std::size_t n() const; /**