dune-pdelab  2.5-dev
forwarddeclarations.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_PDELAB_BACKEND_ISTL_FORWARDDECLARATIONS_HH
4 #define DUNE_PDELAB_BACKEND_ISTL_FORWARDDECLARATIONS_HH
5 
6 // this is here for backwards compatibility and deprecation warnings, remove after 2.5.0
7 #include "ensureistlinclude.hh"
8 
9 #ifndef DOXYGEN // These forward declarations are of no concern to Doxygen
10 
11 #include <dune/common/version.hh>
12 
13 namespace Dune {
14 
15  // ********************************************************************************
16  // forward declarations of tagged types to avoid including their headers
17  // ********************************************************************************
18 
19  template<typename F, int n>
20  class FieldVector;
21 
22  template<typename F, int n, int m>
23  class FieldMatrix;
24 
25  // DynamicVector grew allocator support some time after the 2.3 release,
26  // so we have to adjust the forward declaration accordingly
27 
28 #if DUNE_VERSION_NEWER(DUNE_COMMON,2,4)
29 
30  template<typename F, typename Allocator>
31  class DynamicVector;
32 
33 #else
34 
35  template<typename F>
36  class DynamicVector;
37 
38 #endif
39 
40  template<typename F>
41  class DynamicMatrix;
42 
43  template<typename Block, typename Alloc>
44  class BlockVector;
45 
46  template<typename Block, typename Alloc>
47  class BCRSMatrix;
48 
49  namespace PDELab {
50 
51  namespace ISTL {
52 
53  template<typename GFS, typename C>
54  class BlockVector;
55 
56  template<typename GFSV, typename GFSU, typename C, typename Stats>
57  class BCRSMatrix;
58 
59  template<typename E, typename VV, typename VU>
60  struct build_matrix_type;
61 
62  } // namespace ISTL
63  } // namespace PDELab
64 } // namespace Dune
65 
66 #endif // DOXYGEN
67 
68 #endif // DUNE_PDELAB_BACKEND_ISTL_FORWARDDECLARATIONS_HH
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27