deal.II version GIT relicensing-6834-g5b78e6bcdf 2026-10-01 11:20:01+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
mapping_c1.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) 2001 - 2026 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#ifndef dealii_mapping_c1_h
14#define dealii_mapping_c1_h
15
16
17#include <deal.II/base/config.h>
18
20
21#include <deal.II/fe/mapping.h>
23
24#include <deal.II/grid/tria.h>
25
26#include <memory>
27#include <vector>
28
30
44template <int dim, int spacedim = dim>
45class MappingC1 : public MappingQ<dim, spacedim>
46{
47public:
52 MappingC1();
53
58 virtual std::unique_ptr<Mapping<dim, spacedim>>
59 clone() const override;
60
61protected:
71 virtual void
74 boost::container::small_vector<Point<spacedim>, 200> &points)
75 const override;
76
86 virtual void
89 boost::container::small_vector<Point<spacedim>, 200> &points)
90 const override;
91};
92
95/* -------------- declaration of explicit specializations ------------- */
96
97#ifndef DOXYGEN
98
99template <>
100void
103 boost::container::small_vector<Point<1>, 200> &) const;
104template <>
105void
108 boost::container::small_vector<Point<2>, 200> &) const;
109
110template <>
111void
114 boost::container::small_vector<Point<1>, 200> &) const;
115template <>
116void
119 boost::container::small_vector<Point<2>, 200> &) const;
120
121
122#endif // DOXYGEN
123
125
126#endif
virtual void add_line_support_points(const typename Triangulation< dim, spacedim >::cell_iterator &cell, boost::container::small_vector< Point< spacedim >, 200 > &points) const override
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
virtual void add_quad_support_points(const typename Triangulation< dim, spacedim >::cell_iterator &cell, boost::container::small_vector< Point< spacedim >, 200 > &points) const override
Definition point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39