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\}}\)
polynomials_adini.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2009 - 2020 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_adini_h
18 #define dealii_polynomials_adini_h
19 
20 #include <deal.II/base/config.h>
21 
22 #include <deal.II/base/point.h>
24 #include <deal.II/base/table.h>
25 #include <deal.II/base/tensor.h>
26 
28 
45 template <int dim>
47 {
48 public:
53 
67  void
68  evaluate(const Point<dim> & unit_point,
69  std::vector<double> & values,
70  std::vector<Tensor<1, dim>> &grads,
71  std::vector<Tensor<2, dim>> &grad_grads,
72  std::vector<Tensor<3, dim>> &third_derivatives,
73  std::vector<Tensor<4, dim>> &fourth_derivatives) const override;
74 
80  double
81  compute_value(const unsigned int i, const Point<dim> &p) const;
82 
90  compute_grad(const unsigned int i, const Point<dim> &p) const;
91 
99  compute_grad_grad(const unsigned int i, const Point<dim> &p) const;
100 
104  std::string
105  name() const override;
106 
110  virtual std::unique_ptr<ScalarPolynomialsBase<dim>>
111  clone() const override;
112 
113 private:
119 
125 
131 
137 
143 
149 };
150 
151 
152 
153 template <int dim>
154 inline std::string
156 {
157  return "PolynomialsAdini";
158 }
159 
160 
161 
163 
164 #endif
PolynomialsAdini::dy
Table< 2, double > dy
Definition: polynomials_adini.h:130
PolynomialsAdini::compute_value
double compute_value(const unsigned int i, const Point< dim > &p) const
Definition: polynomials_adini.cc:192
PolynomialsAdini::dxx
Table< 2, double > dxx
Definition: polynomials_adini.h:136
PolynomialsAdini
Definition: polynomials_adini.h:46
PolynomialsAdini::dxy
Table< 2, double > dxy
Definition: polynomials_adini.h:148
PolynomialsAdini::evaluate
void evaluate(const Point< dim > &unit_point, std::vector< double > &values, std::vector< Tensor< 1, dim >> &grads, std::vector< Tensor< 2, dim >> &grad_grads, std::vector< Tensor< 3, dim >> &third_derivatives, std::vector< Tensor< 4, dim >> &fourth_derivatives) const override
Definition: polynomials_adini.cc:137
Table< 2, double >
PolynomialsAdini::dyy
Table< 2, double > dyy
Definition: polynomials_adini.h:142
scalar_polynomials_base.h
tensor.h
Tensor< 1, dim >
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
PolynomialsAdini::name
std::string name() const override
Definition: polynomials_adini.h:155
PolynomialsAdini::compute_grad_grad
Tensor< 2, dim > compute_grad_grad(const unsigned int i, const Point< dim > &p) const
Definition: polynomials_adini.cc:232
PolynomialsAdini::compute_grad
Tensor< 1, dim > compute_grad(const unsigned int i, const Point< dim > &p) const
Definition: polynomials_adini.cc:208
PolynomialsAdini::PolynomialsAdini
PolynomialsAdini()
Definition: polynomials_adini.cc:41
PolynomialsAdini::coef
Table< 2, double > coef
Definition: polynomials_adini.h:118
Point< dim >
PolynomialsAdini::clone
virtual std::unique_ptr< ScalarPolynomialsBase< dim > > clone() const override
Definition: polynomials_adini.cc:261
config.h
PolynomialsAdini::dx
Table< 2, double > dx
Definition: polynomials_adini.h:124
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
ScalarPolynomialsBase
Definition: scalar_polynomials_base.h:63
table.h
point.h