deal.II version 9.8.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\}}\)
Loading...
Searching...
No Matches
fe_rannacher_turek.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2015 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13
14#ifndef dealii_fe_rannacher_turek_h
15#define dealii_fe_rannacher_turek_h
16
17#include <deal.II/base/config.h>
18
20
21#include <deal.II/fe/fe_data.h>
22#include <deal.II/fe/fe_poly.h>
23
24#include <string>
25#include <vector>
26
28
29
78template <int dim>
79class FE_RannacherTurek : public FE_Poly<dim>
80{
81public:
89 FE_RannacherTurek(const unsigned int order = 0,
90 const unsigned int n_face_support_points = 2);
91
92 virtual std::string
93 get_name() const override;
94
95 virtual std::unique_ptr<FiniteElement<dim, dim>>
96 clone() const override;
97
98 // documentation inherited from the base class
99 virtual void
101 const std::vector<Vector<double>> &support_point_values,
102 std::vector<double> &nodal_values) const override;
103
104private:
108 const unsigned int order;
109
114 const unsigned int n_face_support_points;
115
119 std::vector<double> weights;
120
124 void
130 std::vector<unsigned int>
132};
133
134
136
137#endif
FE_Poly(const ScalarPolynomialsBase< dim > &poly_space, const FiniteElementData< dim > &fe_data, const std::vector< bool > &restriction_is_additive_flags, const std::vector< ComponentMask > &nonzero_components)
virtual std::unique_ptr< FiniteElement< dim, dim > > clone() const override
std::vector< double > weights
const unsigned int n_face_support_points
const unsigned int order
FE_RannacherTurek(const unsigned int order=0, const unsigned int n_face_support_points=2)
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
std::vector< unsigned int > get_dpo_vector()
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39