32template <
int dim,
int spacedim>
36 Polynomials::generate_complete_Lagrange_basis_on_subdivisions(
46 ExcMessage(
"This element can only be used with a positive number of "
57template <
int dim,
int spacedim>
59 const std::vector<
Point<1>> &support_points)
62 Polynomials::generate_complete_linear_basis_on_subdivisions(
66 support_points.size() - 1,
70 Assert(support_points.size() > 1,
71 ExcMessage(
"This element can only be used with a positive number of "
79template <
int dim,
int spacedim>
87 std::ostringstream namebuf;
89 << this->degree <<
")";
95template <
int dim,
int spacedim>
100 std::vector<double> &nodal_values)
const
103 this->get_unit_support_points().size());
107 for (
unsigned int i = 0; i < this->n_dofs_per_cell(); ++i)
111 nodal_values[i] = support_point_values[i](0);
117template <
int dim,
int spacedim>
118std::unique_ptr<FiniteElement<dim, spacedim>>
121 return std::make_unique<FE_Q_iso_Q1<dim, spacedim>>(*this);
126template <
int dim,
int spacedim>
130 const unsigned int codim)
const
153 if (this->degree < fe_q_iso_q1_other->degree &&
154 fe_q_iso_q1_other->degree % this->degree == 0)
156 else if (this->degree == fe_q_iso_q1_other->degree)
158 else if (this->degree > fe_q_iso_q1_other->degree &&
159 this->degree % fe_q_iso_q1_other->degree == 0)
167 if (fe_nothing->is_dominating())
182#include "fe_q_iso_q1.inst"
void initialize(const std::vector< Point< 1 > > &support_points_1d)
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
virtual std::string get_name() const override
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
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
FE_Q_iso_Q1(const unsigned int n_subdivisions)
#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 & ExcMessage(std::string arg1)
#define DEAL_II_NOT_IMPLEMENTED()
@ either_element_can_dominate
@ other_element_dominates
@ neither_element_dominates
std::string dim_string(const int dim, const int spacedim)