Reference documentation for deal.II version 9.4.1
\(\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// Copyright (C) 2001 - 2021 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#ifndef dealii_mapping_c1_h
17#define dealii_mapping_c1_h
18
19
20#include <deal.II/base/config.h>
21
23
25
28
37template <int dim, int spacedim = dim>
38class MappingC1 : public MappingQ<dim, spacedim>
39{
40public:
45 MappingC1();
46
51 virtual std::unique_ptr<Mapping<dim, spacedim>>
52 clone() const override;
53
63 virtual void
65 const typename Triangulation<dim>::cell_iterator &cell,
66 std::vector<Point<dim>> & a) const override;
67
77 virtual void
79 const typename Triangulation<dim>::cell_iterator &cell,
80 std::vector<Point<dim>> & a) const override;
81};
82
85/* -------------- declaration of explicit specializations ------------- */
86
87#ifndef DOXYGEN
88
89template <>
90void
92 std::vector<Point<1>> &) const;
93template <>
94void
97 std::vector<Point<2>> & a) const;
98
99template <>
100void
102 std::vector<Point<1>> &) const;
103template <>
104void
106 std::vector<Point<2>> &) const;
107
108
109#endif // DOXYGEN
110
112
113#endif
virtual void add_line_support_points(const typename Triangulation< dim >::cell_iterator &cell, std::vector< Point< dim > > &a) const override
Definition: mapping_c1.cc:159
virtual std::unique_ptr< Mapping< dim, spacedim > > clone() const override
Definition: mapping_c1.cc:205
virtual void add_quad_support_points(const typename Triangulation< dim >::cell_iterator &cell, std::vector< Point< dim > > &a) const override
Definition: mapping_c1.cc:194
Definition: point.h:111
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443