5#ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
6#define DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
25 template<
unsigned int d >
30 for( std::size_t i = 0; i < 2*d; ++i )
31 localKeys_[ i ] =
LocalKey( i, 1, 0 );
41 std::copy( other.localKeys_.begin(), other.localKeys_.end(), localKeys_.begin() );
55 return localKeys_[ i ];
59 std::array< LocalKey, 2*d > localKeys_;
Definition bdfmcube.hh:18
Describe position of one degree of freedom.
Definition localkey.hh:24
layout for Rannacher-Turek elements
Definition rannachertureklocalcoefficients.hh:27
RannacherTurekLocalCoefficients()
Definition rannachertureklocalcoefficients.hh:28
RannacherTurekLocalCoefficients(const RannacherTurekLocalCoefficients &other)
Definition rannachertureklocalcoefficients.hh:34
RannacherTurekLocalCoefficients & operator=(const RannacherTurekLocalCoefficients &other)
Definition rannachertureklocalcoefficients.hh:39
const LocalKey & localKey(std::size_t i) const
map index i to local key
Definition rannachertureklocalcoefficients.hh:52
std::size_t size() const
number of coefficients
Definition rannachertureklocalcoefficients.hh:46