81 std::ostringstream namebuf;
82 namebuf <<
"FE_BR<" << dim <<
">(" << 1 <<
")";
102std::unique_ptr<FiniteElement<dim, dim>>
105 return std::make_unique<FE_BernardiRaugel<dim>>(*this);
114 std::vector<double> & nodal_values)
const
116 Assert(support_point_values.size() == this->generalized_support_points.size(),
118 this->generalized_support_points.size()));
120 Assert(nodal_values.size() == this->n_dofs_per_cell(),
123 std::vector<Tensor<1, dim>> normals;
128 normals.push_back(normal);
131 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
132 nodal_values[i] = support_point_values[i][i % dim];
136 i < dim * GeometryInfo<dim>::vertices_per_cell +
141 for (
unsigned int j = 0; j < dim; ++j)
143 support_point_values[i][j] *
151std::vector<unsigned int>
158 std::vector<unsigned int> dpo(dim + 1, 0u);
173 this->generalized_support_points.resize(this->n_dofs_per_cell());
177 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
178 this->generalized_support_points[i] =
182 for (
unsigned int i = 0; i < dim; ++i)
184 for (
unsigned int j = 0; j < 2; ++j)
193 const unsigned int k =
195 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()