5 #ifndef LINE_1_GAUSS_SHAPE_SET_HPP_INCLUDED
6 #define LINE_1_GAUSS_SHAPE_SET_HPP_INCLUDED
8 #include "../core/shapeset.hpp"
16 class line_1_gauss_shape_set;
18 namespace shape_set_traits
82 static corner_iterator_t corner_begin_impl(
void)
84 return m_corners.cbegin();
88 static const corners_t m_corners;
95 typedef shape_set_traits::shape_value_type<line_1_gauss_shape_set, 0>::type shape_t;
98 static shape_t eval(xi_t
const &_xi)
101 return ( line_1_gauss_shape_set::shape_t() <<
102 (1.0 - std::sqrt(3.0)*xi),
103 (1.0 + std::sqrt(3.0)*xi)
113 typedef shape_set_traits::shape_value_type<line_1_gauss_shape_set, 1>::type shape_t;
116 static shape_t eval(xi_t
const &)
118 return ( line_1_gauss_shape_set::dshape_t() <<
130 typedef shape_set_traits::shape_value_type<line_1_gauss_shape_set, 2>::type shape_t;
133 static shape_t eval(xi_t
const &)
135 return shape_t::Zero();
141 #endif // LINE_1_GAUSS_SHAPE_SET_HPP_INCLUDED