3 #ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
4 #define DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
10 #include <dune/common/array.hh>
23 template<
unsigned int d >
28 for( std::size_t i = 0; i < 2*d; ++i )
29 localKeys_[ i ] =
LocalKey( i, 1, 0 );
39 std::copy( other.localKeys_.begin(), other.localKeys_.end(), localKeys_.begin() );
52 assert( 0 <= i && i < 2*d );
53 return localKeys_[ i ];
57 array< LocalKey, 2*d > localKeys_;
62 #endif // #ifndef DUNE_RANNACHER_TUREK_LOCALCOEFFICIENTS_HH
std::size_t size() const
number of coefficients
Definition: rannachertureklocalcoefficients.hh:44
RannacherTurekLocalCoefficients()
Definition: rannachertureklocalcoefficients.hh:26
layout for Rannacher-Turek elements
Definition: rannachertureklocalcoefficients.hh:24
Describe position of one degree of freedom.
Definition: localkey.hh:20
const LocalKey & localKey(std::size_t i) const
map index i to local key
Definition: rannachertureklocalcoefficients.hh:50
RannacherTurekLocalCoefficients & operator=(const RannacherTurekLocalCoefficients &other)
Definition: rannachertureklocalcoefficients.hh:37
RannacherTurekLocalCoefficients(const RannacherTurekLocalCoefficients &other)
Definition: rannachertureklocalcoefficients.hh:32