]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added #ifndef DOXYGEN to some forward declarations
authorReza Rastak <rastak@stanford.edu>
Fri, 16 Aug 2019 03:01:38 +0000 (20:01 -0700)
committerReza Rastak <rastak@stanford.edu>
Fri, 16 Aug 2019 03:01:38 +0000 (20:01 -0700)
include/deal.II/base/mpi.h
include/deal.II/base/symmetric_tensor.h
include/deal.II/base/tensor.h

index d5aa7252295e53882b7f6f4ad516677e0b7700fc..dac995371a3baa58d0300c9f7d1d77d6ddd64648 100644 (file)
@@ -87,6 +87,7 @@ DEAL_II_NAMESPACE_OPEN
 
 
 // Forward type declarations to allow MPI sums over tensorial types
+#ifndef DOXYGEN
 template <int rank, int dim, typename Number>
 class Tensor;
 template <int rank, int dim, typename Number>
@@ -94,6 +95,7 @@ class SymmetricTensor;
 template <typename Number>
 class SparseMatrix;
 class IndexSet;
+#endif
 
 namespace Utilities
 {
index bf65aec239dbb0ef35624f1067cabbb012b1c405..63a5b7ef0d98fc674affc88c9d24078fdaf10e62 100644 (file)
 
 DEAL_II_NAMESPACE_OPEN
 
+// Forward declaration
+#ifndef DOXYGEN
 template <int rank, int dim, typename Number = double>
 class SymmetricTensor;
+#endif
 
 template <int dim, typename Number>
 DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE SymmetricTensor<2, dim, Number>
index e4416f4ab8f85a0e25cb63c80720bdcf181be2ab..8bee1a536e89da87710f731b183170a75b1ef46b 100644 (file)
 DEAL_II_NAMESPACE_OPEN
 
 // Forward declarations:
-
+#ifndef DOXYGEN
 template <int dim, typename Number>
 class Point;
 template <int rank_, int dim, typename Number = double>
 class Tensor;
 template <typename Number>
 class Vector;
+#endif
 
 #ifndef DOXYGEN
 // Overload invalid tensor types of negative rank that come up during

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.