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 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);
157 for (
unsigned int i = 0; i < dim * GeometryInfo<dim>::vertices_per_cell; ++i)
162 for (
unsigned int i = 0; i < dim; ++i)
164 for (
unsigned int j = 0; j < 2; ++j)
173 const unsigned int k =
#define AssertDimension(dim1, dim2)
FE_BernardiRaugel(const unsigned int p=1)
std::vector< Point< dim > > generalized_support_points
void initialize_support_points()
virtual std::string get_name() const override
static ::ExceptionBase & ExcMessage(std::string arg1)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define Assert(cond, exc)
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
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
#define DEAL_II_NAMESPACE_CLOSE
static std::vector< unsigned int > get_dpo_vector()
const unsigned int dofs_per_cell
#define DEAL_II_NAMESPACE_OPEN
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
std::vector< MappingKind > mapping_kind