50 std::vector<
bool>(dim, true)))
73 std::ostringstream namebuf;
74 namebuf <<
"FE_BR<" << dim <<
">(" << 1 <<
")";
82 std::unique_ptr<FiniteElement<dim, dim>>
85 return std_cxx14::make_unique<FE_BernardiRaugel<dim>>(*this);
94 std::vector<double> & nodal_values)
const
96 Assert(support_point_values.size() == this->generalized_support_points.size(),
98 this->generalized_support_points.size()));
100 Assert(nodal_values.size() == this->dofs_per_cell,
103 std::vector<Tensor<1, dim>> normals;
108 normals.push_back(normal);
111 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
112 nodal_values[i] = support_point_values[i][i % dim];
116 i < dim * GeometryInfo<dim>::vertices_per_cell +
121 for (
unsigned int j = 0; j < dim; ++j)
123 support_point_values[i][j] *
131 std::vector<unsigned int>
138 std::vector<unsigned int> dpo(dim + 1, 0u);
153 this->generalized_support_points.resize(this->dofs_per_cell);
157 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
158 this->generalized_support_points[i] =
162 for (
unsigned int i = 0; i < dim; ++i)
164 for (
unsigned int j = 0; j < 2; ++j)
173 const unsigned int k =
175 this->generalized_support_points[k] = p;