|
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\}}\)
Go to the documentation of this file.
17 #ifndef dealii_polynomials_rannacher_turek_h
18 #define dealii_polynomials_rannacher_turek_h
92 std::vector<double> & values,
102 name()
const override;
107 virtual std::unique_ptr<ScalarPolynomialsBase<dim>>
108 clone()
const override;
114 namespace PolynomialsRannacherTurekImplementation
116 template <
int order,
int dim>
129 const unsigned int dim = 2;
140 grad[0] = -2.5 + 3 * p(0);
141 grad[1] = 1.5 - 3 * p(1);
145 grad[0] = -0.5 + 3.0 * p(0);
146 grad[1] = 1.5 - 3.0 * p(1);
150 grad[0] = 1.5 - 3.0 * p(0);
151 grad[1] = -2.5 + 3.0 * p(1);
155 grad[0] = 1.5 - 3.0 * p(0);
156 grad[1] = -0.5 + 3.0 * p(1);
173 grad_grad[1][1] = -3;
180 grad_grad[1][1] = -3;
184 grad_grad[0][0] = -3;
191 grad_grad[0][0] = -3;
227 return "RannacherTurek";
double compute_value(const unsigned int i, const Point< dim > &p) const
static ::ExceptionBase & ExcNotImplemented()
Tensor< order, dim > compute_derivative(const unsigned int i, const Point< dim > &p) const
Tensor< 1, dim > compute_grad(const unsigned int i, const Point< dim > &p) const
PolynomialsRannacherTurek()
Tensor< 2, dim > compute_grad_grad(const unsigned int i, const Point< dim > &p) const
#define DEAL_II_NAMESPACE_OPEN
Tensor< order, dim > compute_derivative(const unsigned int, const Point< dim > &)
virtual std::unique_ptr< ScalarPolynomialsBase< dim > > clone() const override
std::string name() const override
#define Assert(cond, exc)
static const unsigned int dimension
#define DEAL_II_NAMESPACE_CLOSE
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