DUNE-FEM (unstable)

adaptmanager.hh
1#ifndef DUNE_FEM_SPACE_PADAPTIVE_ADAPTMANAGER_HH
2#define DUNE_FEM_SPACE_PADAPTIVE_ADAPTMANAGER_HH
3
5
6#include <dune/fem/function/adaptivefunction.hh>
7#include <dune/fem/space/common/interpolate.hh>
8#include <dune/fem/space/common/localrestrictprolong.hh>
9#include <dune/fem/space/discontinuousgalerkin/localrestrictprolong.hh>
10
11#include "declaration.hh"
12#include "restrictprolong.hh"
13
14
15namespace Dune
16{
17
18 namespace Fem
19 {
20
21 // DefaultLocalRestrictProlong
22 // ---------------------------
23
24 template< class FS, class GP, int ord, class S >
25 class DefaultLocalRestrictProlong< Fem::PAdaptiveLagrangeSpace< FS, GP, ord, S > >
26 : public PLagrangeLocalRestrictProlong< typename GP::GridType, Fem::PAdaptiveLagrangeSpace< FS, GP, ord, S > >
27 {
28 public:
29 DefaultLocalRestrictProlong ( const Fem::PAdaptiveLagrangeSpace< FS, GP, ord, S > &space )
30 : PLagrangeLocalRestrictProlong< typename GP::GridType, Fem::PAdaptiveLagrangeSpace< FS, GP, ord, S > >( space )
31 {}
32 };
33
34
35 template< class FunctionSpaceImp, class GridPartImp, int polOrd, class StorageImp >
36 class DefaultLocalRestrictProlong< Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, polOrd, StorageImp > >
37 : public DiscontinuousGalerkinLocalRestrictProlong< Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, polOrd, StorageImp >, false > // invert mass matrix or not
38 {
39 public:
40 typedef DiscontinuousGalerkinLocalRestrictProlong< Fem::PAdaptiveDGSpace<
41 FunctionSpaceImp,
42 GridPartImp,
43 polOrd, StorageImp >, false > BaseType ;
44 DefaultLocalRestrictProlong ( const Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, polOrd, StorageImp > & space )
45 : BaseType( space )
46 {}
47 };
48
49 template< class FunctionSpaceImp, class GridPartImp, class StorageImp >
50 class DefaultLocalRestrictProlong< Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, 0, StorageImp > >
51 : public ConstantLocalRestrictProlong< Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, 0, StorageImp > >
52 {
53 public:
54 DefaultLocalRestrictProlong ( const Fem::PAdaptiveDGSpace< FunctionSpaceImp, GridPartImp, 0, StorageImp > & )
55 {}
56 };
57
58 } // namespace Fem
59
60} // namespace Dune
61
62#endif // #ifndef DUNE_FEM_SPACE_PADAPTIVE_ADAPTMANAGER_HH
A set of traits classes to store static information about grid implementation.
Dune namespace.
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)