33template <
int dim,
int spacedim>
47 ExcMessage(
"This element can only be used with a positive number of "
58template <
int dim,
int spacedim>
66 std::ostringstream namebuf;
68 << this->degree <<
")";
74template <
int dim,
int spacedim>
79 std::vector<double> & nodal_values)
const
82 this->get_unit_support_points().size());
86 for (
unsigned int i = 0; i < this->n_dofs_per_cell(); ++i)
90 nodal_values[i] = support_point_values[i](0);
96template <
int dim,
int spacedim>
97std::unique_ptr<FiniteElement<dim, spacedim>>
100 return std::make_unique<FE_Q_iso_Q1<dim, spacedim>>(*this);
105template <
int dim,
int spacedim>
109 const unsigned int codim)
const
132 if (this->degree < fe_q_iso_q1_other->degree &&
133 fe_q_iso_q1_other->degree % this->degree == 0)
135 else if (this->degree == fe_q_iso_q1_other->degree)
137 else if (this->degree > fe_q_iso_q1_other->degree &&
138 this->degree % fe_q_iso_q1_other->degree == 0)
146 if (fe_nothing->is_dominating())
161#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)
std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
@ either_element_can_dominate
@ other_element_dominates
@ neither_element_dominates
std::vector< PiecewisePolynomial< double > > generate_complete_Lagrange_basis_on_subdivisions(const unsigned int n_subdivisions, const unsigned int base_degree)
std::string dim_string(const int dim, const int spacedim)