Loading [MathJax]/extensions/TeX/AMSsymbols.js
 Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
polynomials_nedelec.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2010 - 2019 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 
17 #ifndef dealii_polynomials_nedelec_h
18 #define dealii_polynomials_nedelec_h
19 
20 
21 #include <deal.II/base/config.h>
22 
24 #include <deal.II/base/point.h>
27 #include <deal.II/base/tensor.h>
30 
31 #include <vector>
32 
34 
52 template <int dim>
54 {
55 public:
63  PolynomialsNedelec(const unsigned int k);
64 
77  void
78  evaluate(const Point<dim> & unit_point,
79  std::vector<Tensor<1, dim>> &values,
80  std::vector<Tensor<2, dim>> &grads,
81  std::vector<Tensor<3, dim>> &grad_grads,
82  std::vector<Tensor<4, dim>> &third_derivatives,
83  std::vector<Tensor<5, dim>> &fourth_derivatives) const override;
84 
88  std::string
89  name() const override;
90 
96  static unsigned int
97  n_polynomials(const unsigned int degree);
98 
102  virtual std::unique_ptr<TensorPolynomialsBase<dim>>
103  clone() const override;
104 
105 private:
111 
116  static std::vector<std::vector<Polynomials::Polynomial<double>>>
117  create_polynomials(const unsigned int k);
118 };
119 
120 
121 template <int dim>
122 inline std::string
124 {
125  return "Nedelec";
126 }
127 
128 
130 
131 #endif
PolynomialsNedelec::evaluate
void evaluate(const Point< dim > &unit_point, std::vector< Tensor< 1, dim >> &values, std::vector< Tensor< 2, dim >> &grads, std::vector< Tensor< 3, dim >> &grad_grads, std::vector< Tensor< 4, dim >> &third_derivatives, std::vector< Tensor< 5, dim >> &fourth_derivatives) const override
Definition: polynomials_nedelec.cc:54
PolynomialsNedelec::create_polynomials
static std::vector< std::vector< Polynomials::Polynomial< double > > > create_polynomials(const unsigned int k)
Definition: polynomials_nedelec.cc:36
tensor_product_polynomials.h
polynomial.h
TensorPolynomialsBase::degree
unsigned int degree() const
Definition: tensor_polynomials_base.h:166
PolynomialsNedelec::name
std::string name() const override
Definition: polynomials_nedelec.h:123
PolynomialsNedelec::polynomial_space
const AnisotropicPolynomials< dim > polynomial_space
Definition: polynomials_nedelec.h:110
tensor_polynomials_base.h
AnisotropicPolynomials
Definition: tensor_product_polynomials.h:287
tensor.h
PolynomialsNedelec::clone
virtual std::unique_ptr< TensorPolynomialsBase< dim > > clone() const override
Definition: polynomials_nedelec.cc:1513
Tensor< 1, dim >
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
polynomial_space.h
exceptions.h
TensorPolynomialsBase
Definition: tensor_polynomials_base.h:62
PolynomialsNedelec::PolynomialsNedelec
PolynomialsNedelec(const unsigned int k)
Definition: polynomials_nedelec.cc:29
Point< dim >
config.h
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
PolynomialsNedelec
Definition: polynomials_nedelec.h:53
PolynomialsNedelec::n_polynomials
static unsigned int n_polynomials(const unsigned int degree)
Definition: polynomials_nedelec.cc:1489
point.h