3#ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
4#define DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
11#include <dune/localfunctions/common/localkey.hh>
22 template<
unsigned int d >
27 for( std::size_t i = 0; i < 2*d; ++i )
28 localKeys_[ i ] =
LocalKey( i, 1, 0 );
38 std::copy( other.localKeys_.begin(), other.localKeys_.end(), localKeys_.begin() );
51 assert( 0 <= i && i < 2*d );
52 return localKeys_[ i ];
56 std::array< LocalKey, 2*d > localKeys_;
Describe position of one degree of freedom.
Definition: localkey.hh:21
Dune namespace.
Definition: alignedallocator.hh:10
layout for Rannacher-Turek elements
Definition: rannachertureklocalcoefficients.hh:24
const LocalKey & localKey(std::size_t i) const
map index i to local key
Definition: rannachertureklocalcoefficients.hh:49
std::size_t size() const
number of coefficients
Definition: rannachertureklocalcoefficients.hh:43