From: Reza Rastak Date: Fri, 16 Aug 2019 03:01:38 +0000 (-0700) Subject: added #ifndef DOXYGEN to some forward declarations X-Git-Tag: v9.2.0-rc1~1228^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f74f8e6eb38a9e324784e3d5985733bae405887;p=dealii.git added #ifndef DOXYGEN to some forward declarations --- diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index d5aa725229..dac995371a 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -87,6 +87,7 @@ DEAL_II_NAMESPACE_OPEN // Forward type declarations to allow MPI sums over tensorial types +#ifndef DOXYGEN template class Tensor; template @@ -94,6 +95,7 @@ class SymmetricTensor; template class SparseMatrix; class IndexSet; +#endif namespace Utilities { diff --git a/include/deal.II/base/symmetric_tensor.h b/include/deal.II/base/symmetric_tensor.h index bf65aec239..63a5b7ef0d 100644 --- a/include/deal.II/base/symmetric_tensor.h +++ b/include/deal.II/base/symmetric_tensor.h @@ -28,8 +28,11 @@ DEAL_II_NAMESPACE_OPEN +// Forward declaration +#ifndef DOXYGEN template class SymmetricTensor; +#endif template DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE SymmetricTensor<2, dim, Number> diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index e4416f4ab8..8bee1a536e 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -38,13 +38,14 @@ DEAL_II_NAMESPACE_OPEN // Forward declarations: - +#ifndef DOXYGEN template class Point; template class Tensor; template class Vector; +#endif #ifndef DOXYGEN // Overload invalid tensor types of negative rank that come up during