39 get_QGaussLobatto_points(
const unsigned int degree)
48 return std::vector<Point<1>>();
56 template <
int dim,
int spacedim>
68 this->
initialize(internal::FE_Q::get_QGaussLobatto_points(degree));
73 template <
int dim,
int spacedim>
89 template <
int dim,
int spacedim>
97 std::ostringstream namebuf;
98 bool equidistant =
true;
99 std::vector<double> points(this->
degree + 1);
102 std::vector<unsigned int> lexicographic =
104 for (
unsigned int j = 0; j <= this->
degree; j++)
108 for (
unsigned int j = 0; j <= this->
degree; j++)
115 if (equidistant ==
true)
119 <<
">(QIterated(QTrapez()," << this->
degree <<
"))";
122 << this->degree <<
")";
128 bool gauss_lobatto =
true;
129 for (
unsigned int j = 0; j <= this->
degree; j++)
130 if (points[j] != points_gl.
point(j)(0))
132 gauss_lobatto =
false;
135 if (gauss_lobatto ==
true)
140 <<
">(QUnknownNodes(" << this->degree <<
"))";
142 return namebuf.str();
147 template <
int dim,
int spacedim>
151 std::vector<double> & nodal_values)
const 162 nodal_values[i] = support_point_values[i](0);
168 template <
int dim,
int spacedim>
169 std::unique_ptr<FiniteElement<dim, spacedim>>
172 return std_cxx14::make_unique<FE_Q<dim, spacedim>>(*this);
177 template <
int dim,
int spacedim>
181 const unsigned int codim)
const 200 if (this->degree < fe_q_other->
degree)
202 else if (this->degree == fe_q_other->degree)
210 if (fe_nothing->is_dominating())
virtual std::string get_name() const override
#define AssertDimension(dim1, dim2)
virtual std::unique_ptr< FiniteElement< dim, spacedim > > clone() const override
static std::vector< unsigned int > get_dpo_vector(const unsigned int degree)
FE_Q(const unsigned int p)
const std::vector< Point< dim > > & get_points() const
SymmetricTensor< 2, dim, Number > e(const Tensor< 2, dim, Number > &F)
const unsigned int degree
const Point< dim > & point(const unsigned int i) const
#define AssertThrow(cond, exc)
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
std::vector< Point< dim > > unit_support_points
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
#define Assert(cond, exc)
#define DEAL_II_NAMESPACE_CLOSE
Expression fabs(const Expression &x)
std::string dim_string(const int dim, const int spacedim)
const unsigned int dofs_per_cell
void initialize(const std::vector< Point< 1 >> &support_points_1d)
const std::vector< Point< dim > > & get_unit_support_points() const
#define DEAL_II_NAMESPACE_OPEN
virtual FiniteElementDomination::Domination compare_for_domination(const FiniteElement< dim, spacedim > &fe_other, const unsigned int codim=0) const override final
const std::vector< unsigned int > & get_numbering_inverse() const
static ::ExceptionBase & ExcNotImplemented()
TensorProductPolynomials< dim > poly_space
std::vector< Polynomial< double > > generate_complete_Lagrange_basis(const std::vector< Point< 1 >> &points)