33template <
int dim,
int spacedim>
37 Polynomials::generate_complete_Lagrange_basis_on_subdivisions(
47 ExcMessage(
"This element can only be used with a positive number of "
58template <
int dim,
int spacedim>
60 const std::vector<
Point<1>> &support_points)
63 Polynomials::generate_complete_linear_basis_on_subdivisions(
67 support_points.size() - 1,
71 Assert(support_points.size() > 1,
72 ExcMessage(
"This element can only be used with a positive number of "
80template <
int dim,
int spacedim>
88 std::ostringstream namebuf;
90 << this->degree <<
")";
96template <
int dim,
int spacedim>
101 std::vector<double> & nodal_values)
const
104 this->get_unit_support_points().size());
108 for (
unsigned int i = 0; i < this->n_dofs_per_cell(); ++i)
112 nodal_values[i] = support_point_values[i](0);
118template <
int dim,
int spacedim>
119std::unique_ptr<FiniteElement<dim, spacedim>>
122 return std::make_unique<FE_Q_iso_Q1<dim, spacedim>>(*this);
127template <
int dim,
int spacedim>
131 const unsigned int codim)
const
154 if (this->degree < fe_q_iso_q1_other->degree &&
155 fe_q_iso_q1_other->degree % this->degree == 0)
157 else if (this->degree == fe_q_iso_q1_other->degree)
159 else if (this->degree > fe_q_iso_q1_other->degree &&
160 this->degree % fe_q_iso_q1_other->degree == 0)
168 if (fe_nothing->is_dominating())
183#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)
const std::vector< Point< dim > > & get_points() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define AssertDimension(dim1, dim2)
static ::ExceptionBase & ExcMessage(std::string arg1)
@ either_element_can_dominate
@ other_element_dominates
@ neither_element_dominates
std::string dim_string(const int dim, const int spacedim)