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 #ifndef DOXYGEN // These forward declarations are of no concern to Doxygen
7 
8 #include <dune/common/version.hh>
9 
10 namespace Dune {
11 
12  // ********************************************************************************
13  // forward declarations of tagged types to avoid including their headers
14  // ********************************************************************************
15 
16  template<typename F, int n>
17  class FieldVector;
18 
19  template<typename F, int n, int m>
20  class FieldMatrix;
21 
22  // DynamicVector grew allocator support some time after the 2.3 release,
23  // so we have to adjust the forward declaration accordingly
24 
25 #if DUNE_VERSION_NEWER(DUNE_COMMON,2,4)
26 
27  template<typename F, typename Allocator>
28  class DynamicVector;
29 
30 #else
31 
32  template<typename F>
33  class DynamicVector;
34 
35 #endif
36 
37  template<typename F>
38  class DynamicMatrix;
39 
40  template<typename Block, typename Alloc>
41  class BlockVector;
42 
43  template<typename Block, typename Alloc>
44  class BCRSMatrix;
45 
46  namespace PDELab {
47 
48  namespace ISTL {
49 
50  template<typename GFS, typename C>
51  class BlockVector;
52 
53  template<typename GFSV, typename GFSU, typename C, typename Stats>
54  class BCRSMatrix;
55 
56  template<typename E, typename VV, typename VU>
57  struct build_matrix_type;
58 
59  } // namespace ISTL
60  } // namespace PDELab
61 } // namespace Dune
62 
63 #endif // DOXYGEN
64 
65 #endif // DUNE_PDELAB_BACKEND_ISTL_FORWARDDECLARATIONS_HH
Dune
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28