80 std::ostringstream namebuf;
81 namebuf <<
"FE_BR<" << dim <<
">(" << 1 <<
")";
101std::unique_ptr<FiniteElement<dim, dim>>
104 return std::make_unique<FE_BernardiRaugel<dim>>(*this);
113 std::vector<double> &nodal_values)
const
115 Assert(support_point_values.size() == this->generalized_support_points.size(),
117 this->generalized_support_points.size()));
119 Assert(nodal_values.size() == this->n_dofs_per_cell(),
122 std::vector<Tensor<1, dim>> normals;
127 normals.push_back(normal);
130 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
131 nodal_values[i] = support_point_values[i][i % dim];
135 i < dim * GeometryInfo<dim>::vertices_per_cell +
140 for (
unsigned int j = 0; j < dim; ++j)
142 support_point_values[i][j] *
150std::vector<unsigned int>
157 std::vector<unsigned int> dpo(dim + 1, 0u);
172 this->generalized_support_points.resize(this->n_dofs_per_cell());
176 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
177 this->generalized_support_points[i] =
181 for (
unsigned int i = 0; i < dim; ++i)
183 for (
unsigned int j = 0; j < 2; ++j)
192 const unsigned int k =
194 this->generalized_support_points[k] = p;
static std::vector< unsigned int > get_dpo_vector()
virtual void convert_generalized_support_point_values_to_dof_values(const std::vector< Vector< double > > &support_point_values, std::vector< double > &nodal_values) const override
void initialize_support_points()
void initialize_quad_dof_index_permutation_and_sign_change()
FE_BernardiRaugel(const unsigned int p=1)
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
virtual std::string get_name() const override
std::vector< MappingKind > mapping_kind
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define AssertDimension(dim1, dim2)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
static ::ExceptionBase & ExcMessage(std::string arg1)
static std_cxx20::ranges::iota_view< unsigned int, unsigned int > face_indices()