deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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: 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// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15
16#ifndef dealii_fe_rannacher_turek_h
17#define dealii_fe_rannacher_turek_h
18
19#include <deal.II/base/config.h>
20
22
23#include <deal.II/fe/fe_data.h>
24#include <deal.II/fe/fe_poly.h>
25
26#include <string>
27#include <vector>
28
30
31
80template <int dim>
81class FE_RannacherTurek : public FE_Poly<dim>
82{
83public:
91 FE_RannacherTurek(const unsigned int order = 0,
92 const unsigned int n_face_support_points = 2);
93
94 virtual std::string
95 get_name() const override;
96
97 virtual std::unique_ptr<FiniteElement<dim, dim>>
98 clone() const override;
99
100 // documentation inherited from the base class
101 virtual void
103 const std::vector<Vector<double>> &support_point_values,
104 std::vector<double> &nodal_values) const override;
105
106private:
110 const unsigned int order;
111
116 const unsigned int n_face_support_points;
117
121 std::vector<double> weights;
122
126 void
132 std::vector<unsigned int>
134};
135
136
138
139#endif
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
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:498
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:499