Reference documentation for deal.II version 8.5.1
mapping_c1.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2001 - 2016 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 at
12 // the top level of the deal.II distribution.
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 #include <deal.II/fe/mapping_q.h>
22 
23 DEAL_II_NAMESPACE_OPEN
24 
27 
41 template<int dim, int spacedim=dim>
42 class MappingC1 : public MappingQ<dim,spacedim>
43 {
44 public:
49  MappingC1 ();
50 
55  virtual
56  Mapping<dim,spacedim> *clone () const;
57 
58 protected:
59 
65  class MappingC1Generic : public MappingQGeneric<dim,spacedim>
66  {
67  public:
68 
73 
86  virtual void
88  std::vector<Point<dim> > &a) const;
89 
102  virtual void
104  std::vector<Point<dim> > &a) const;
105  };
106 };
107 
110 /* -------------- declaration of explicit specializations ------------- */
111 
112 #ifndef DOXYGEN
113 
116  std::vector<Point<1> > &) const;
119  std::vector<Point<2> > &a) const;
120 
123  std::vector<Point<1> > &) const;
126  std::vector<Point<2> > &) const;
127 
128 
129 #endif // DOXYGEN
130 
131 DEAL_II_NAMESPACE_CLOSE
132 
133 #endif
virtual Mapping< dim, spacedim > * clone() const
Definition: mapping_c1.cc:209
virtual void add_quad_support_points(const typename Triangulation< dim >::cell_iterator &cell, std::vector< Point< dim > > &a) const
Definition: mapping_c1.cc:199
Abstract base class for mapping classes.
Definition: dof_tools.h:46
virtual void add_line_support_points(const typename Triangulation< dim >::cell_iterator &cell, std::vector< Point< dim > > &a) const
Definition: mapping_c1.cc:165