2 #ifndef DUNE_PYRAMID_P1_LOCALINTERPOLATION_HH
3 #define DUNE_PYRAMID_P1_LOCALINTERPOLATION_HH
17 x[0][0] = 0.0; x[0][1] = 0.0; x[0][2] = 0.0;
18 x[1][0] = 1.0; x[1][1] = 0.0; x[1][2] = 0.0;
19 x[2][0] = 0.0; x[2][1] = 1.0; x[2][2] = 0.0;
20 x[3][0] = 1.0; x[3][1] = 1.0; x[3][2] = 0.0;
21 x[4][0] = 0.0; x[4][1] = 0.0; x[4][2] = 1.0;
25 template<
typename F,
typename C>
28 typename LB::Traits::RangeType y;
31 f.evaluate(x[0],y); out[0] = y;
32 f.evaluate(x[1],y); out[1] = y;
33 f.evaluate(x[2],y); out[2] = y;
34 f.evaluate(x[3],y); out[3] = y;
35 f.evaluate(x[4],y); out[4] = y;
38 typename LB::Traits::DomainType x[5];