3 #ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
4 #define DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_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_;
61 #endif // #ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
const LocalKey & localKey(std::size_t i) const
map index i to local key
Definition: rannachertureklocalcoefficients.hh:49
Definition: brezzidouglasmarini1cube2dlocalbasis.hh:14
RannacherTurekLocalCoefficients(const RannacherTurekLocalCoefficients &other)
Definition: rannachertureklocalcoefficients.hh:31
std::size_t size() const
number of coefficients
Definition: rannachertureklocalcoefficients.hh:43
RannacherTurekLocalCoefficients & operator=(const RannacherTurekLocalCoefficients &other)
Definition: rannachertureklocalcoefficients.hh:36
layout for Rannacher-Turek elements
Definition: rannachertureklocalcoefficients.hh:23
Describe position of one degree of freedom.
Definition: localkey.hh:21
RannacherTurekLocalCoefficients()
Definition: rannachertureklocalcoefficients.hh:25