dune-pdelab  2.5-dev
p0.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil -*-
2 #ifndef DUNE_PDELAB_CONSTRAINTS_P0_HH
3 #define DUNE_PDELAB_CONSTRAINTS_P0_HH
4 
5 #include "../common/geometrywrapper.hh"
6 
7 namespace Dune {
8  namespace PDELab {
9 
13 
16  {
17  public:
18  enum{doBoundary=false};
19  enum{doProcessor=true};
20  enum{doSkeleton=false};
21  enum{doVolume=false};
22 
24 
29  template<typename I, typename LFS, typename T>
31  const LFS& lfs, T& trafo) const
32  {
33  typename T::RowType empty;
34  typedef typename LFS::Traits::SizeType size_type;
35  for (size_type i=0; i<lfs.size(); i++){
36  trafo[lfs.dofIndex(i)] = empty;
37  }
38  }
39  };
41 
42  }
43 }
44 
45 #endif // DUNE_PDELAB_CONSTRAINTS_P0_HH
Wrap intersection.
Definition: geometrywrapper.hh:56
Parallel P0 constraints for overlapping grids.
Definition: p0.hh:15
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28
const IG & ig
Definition: constraints.hh:148
void processor(const Dune::PDELab::IntersectionGeometry< I > &ig, const LFS &lfs, T &trafo) const
processor constraints
Definition: p0.hh:30