1 #ifndef DUNE_FEM_DOFBLOCK_HH 2 #define DUNE_FEM_DOFBLOCK_HH 36 template<
class DiscreteFunction,
class Dof,
unsigned int Size >
51 static const unsigned int
size = Size;
55 typedef std::pair< DiscreteFunctionType *, size_type >
KeyType;
60 first_( size * key.second )
77 (*
this)[ i ] = other[ i ];
84 (*
this)[ i ] = other[ i ];
112 #endif // #ifndef DUNE_FEM_DOFBLOCK_HH size_type dim() const
Definition: dofblock.hh:98
unsigned int size_type
Definition: dofblock.hh:53
Definition: envelope.hh:10
Dof DofType
Definition: dofblock.hh:49
DoF block proxy for discrete functions with random access to DoFs.
Definition: dofblock.hh:37
DofBlockProxy(const ConstDofBlockProxy &other)
Definition: dofblock.hh:63
DofBlockProxy(const NonConstDofBlockProxy &other)
Definition: dofblock.hh:68
std::pair< DiscreteFunctionType *, size_type > KeyType
Definition: dofblock.hh:55
DiscreteFunction DiscreteFunctionType
Definition: dofblock.hh:47
Definition: coordinate.hh:4
const ThisType & operator=(const ConstDofBlockProxy &other)
Definition: dofblock.hh:74
const DofType & operator[](size_type index) const
Definition: dofblock.hh:88
const size_type first_
Definition: dofblock.hh:105
DiscreteFunctionType & discreteFunction_
Definition: dofblock.hh:104
static const unsigned int size
Definition: dofblock.hh:51