Reference documentation for deal.II version Git 180c135554 2021-06-23 17:42:41 -0400
\(\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\}}\)
vector_tools_point_value.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1998 - 2020 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_vector_tools_point_value_h
17 #define dealii_vector_tools_point_value_h
18 
19 
20 #include <deal.II/base/config.h>
21 
23 
24 template <int dim, int spacedim>
25 class DoFHandler;
26 template <int dim, typename Number>
27 class Function;
28 template <int dim, int spacedim>
29 class Mapping;
30 template <int dim, typename Number>
31 class Point;
32 template <typename Number>
33 class Vector;
34 namespace hp
35 {
36  template <int dim, int spacedim>
37  class MappingCollection;
38 } // namespace hp
39 
40 namespace VectorTools
41 {
46 
131  template <int dim, int spacedim>
132  void
134  const DoFHandler<dim, spacedim> &dof_handler,
135  const Point<spacedim, double> & p,
136  Vector<double> & rhs_vector);
137 
141  template <int dim, int spacedim>
142  void
145  const DoFHandler<dim, spacedim> & dof_handler,
146  const Point<spacedim, double> & p,
147  Vector<double> & rhs_vector);
148 
157  template <int dim, int spacedim>
158  void
160  const Point<spacedim, double> & p,
161  Vector<double> & rhs_vector);
162 
181  template <int dim, int spacedim>
182  void
184  const DoFHandler<dim, spacedim> &dof_handler,
185  const Point<spacedim, double> & p,
186  const Point<dim, double> & direction,
187  Vector<double> & rhs_vector);
188 
192  template <int dim, int spacedim>
193  void
196  const DoFHandler<dim, spacedim> & dof_handler,
197  const Point<spacedim, double> & p,
198  const Point<dim, double> & direction,
199  Vector<double> & rhs_vector);
200 
209  template <int dim, int spacedim>
210  void
212  const Point<spacedim, double> & p,
213  const Point<dim, double> & direction,
214  Vector<double> & rhs_vector);
215  // @}
216 
221 
234  template <int dim, typename VectorType, int spacedim>
235  void
237  const DoFHandler<dim, spacedim> & dof,
238  const VectorType & fe_function,
242 
255  template <int dim, typename VectorType, int spacedim>
256  void
258  const Mapping<dim, spacedim> & mapping,
259  const DoFHandler<dim, spacedim> & dof,
260  const VectorType & fe_function,
264 
301  template <int dim, typename VectorType, int spacedim>
302  void
304  const VectorType & fe_function,
307 
325  template <int dim, typename VectorType, int spacedim>
326  void
328  const VectorType & fe_function,
331 
371  template <int dim, typename VectorType, int spacedim>
372  typename VectorType::value_type
374  const VectorType & fe_function,
376 
394  template <int dim, typename VectorType, int spacedim>
395  typename VectorType::value_type
397  const VectorType & fe_function,
399 
434  template <int dim, typename VectorType, int spacedim>
435  void
436  point_value(const Mapping<dim, spacedim> & mapping,
437  const DoFHandler<dim, spacedim> & dof,
438  const VectorType & fe_function,
441 
459  template <int dim, typename VectorType, int spacedim>
460  void
462  const DoFHandler<dim, spacedim> & dof,
463  const VectorType & fe_function,
466 
500  template <int dim, typename VectorType, int spacedim>
501  typename VectorType::value_type
502  point_value(const Mapping<dim, spacedim> & mapping,
503  const DoFHandler<dim, spacedim> &dof,
504  const VectorType & fe_function,
506 
524  template <int dim, typename VectorType, int spacedim>
525  typename VectorType::value_type
527  const DoFHandler<dim, spacedim> & dof,
528  const VectorType & fe_function,
531 } // namespace VectorTools
532 
534 
535 #endif // dealii_vector_tools_point_value_h
void point_difference(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Function< spacedim, typename VectorType::value_type > &exact_solution, Vector< typename VectorType::value_type > &difference, const Point< spacedim, double > &point)
Definition: point.h:110
Abstract base class for mapping classes.
Definition: mapping.h:303
void create_point_source_vector(const DoFHandler< dim, spacedim > &dof_handler, const Point< spacedim, double > &p, const Point< dim, double > &direction, Vector< double > &rhs_vector)
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:399
Point< spacedim > point(const gp_Pnt &p, const double tolerance=1e-10)
Definition: utilities.cc:188
Definition: hp.h:117
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:398
VectorType::value_type point_value(const hp::MappingCollection< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Point< spacedim, double > &point)