dune-pdelab  2.4.1
noconstraints.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_CONSTRAINTS_NOCONSTRAINTS_HH
4 #define DUNE_PDELAB_CONSTRAINTS_NOCONSTRAINTS_HH
5 
7 
8 namespace Dune {
9  namespace PDELab {
10 
14 
15  // Empty constraints assembler class
17  {
18  public:
19  enum { doBoundary = false };
20  enum { doProcessor = false }; // added ParallelStuff
21  enum { doSkeleton = false };
22  enum { doVolume = false }; // might be necessary for cell-centered in parallel
23 
24  // methods are here just to show interfaces; they are never called because doX are false above
25  template<typename F, typename I, typename LFS, typename T>
26  void boundary (const F& f, const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
27  {
28  }
29 
30  template<typename I, typename LFS, typename T>
31  void processor (const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
32  {
33  }
34 
35  template<typename I, typename LFS, typename T>
36  void skeleton (const IntersectionGeometry<I>& ig, const LFS& lfs, T& trafo) const
37  {
38  }
39 
40  template<typename E, typename LFS, typename T>
41  void volume (const ElementGeometry<E>& eg, const LFS& lfs, T& trafo) const
42  {
43  }
44 
45  };
46 
47  } // namespace PDELab
48 } // namespace Dune
49 
50 #endif // DUNE_PDELAB_CONSTRAINTS_NOCONSTRAINTS_HH
Definition: noconstraints.hh:16
const IG & ig
Definition: constraints.hh:148
Definition: noconstraints.hh:20
void volume(const ElementGeometry< E > &eg, const LFS &lfs, T &trafo) const
Definition: noconstraints.hh:41
Definition: adaptivity.hh:27
Definition: noconstraints.hh:21
Definition: noconstraints.hh:19
void skeleton(const IntersectionGeometry< I > &ig, const LFS &lfs, T &trafo) const
Definition: noconstraints.hh:36
Wrap element.
Definition: geometrywrapper.hh:15
Wrap intersection.
Definition: geometrywrapper.hh:56
void processor(const IntersectionGeometry< I > &ig, const LFS &lfs, T &trafo) const
Definition: noconstraints.hh:31
Definition: noconstraints.hh:22
void boundary(const F &f, const IntersectionGeometry< I > &ig, const LFS &lfs, T &trafo) const
Definition: noconstraints.hh:26