Reference documentation for deal.II version 9.3.0
\(\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 DoFHandler;
38  template <int dim, int spacedim>
39  class MappingCollection;
40 } // namespace hp
41 
42 namespace VectorTools
43 {
48 
133  template <int dim, int spacedim>
134  void
136  const DoFHandler<dim, spacedim> &dof_handler,
137  const Point<spacedim, double> & p,
138  Vector<double> & rhs_vector);
139 
143  template <int dim, int spacedim>
144  void
147  const DoFHandler<dim, spacedim> & dof_handler,
148  const Point<spacedim, double> & p,
149  Vector<double> & rhs_vector);
150 
159  template <int dim, int spacedim>
160  void
162  const Point<spacedim, double> & p,
163  Vector<double> & rhs_vector);
164 
183  template <int dim, int spacedim>
184  void
186  const DoFHandler<dim, spacedim> &dof_handler,
187  const Point<spacedim, double> & p,
188  const Point<dim, double> & direction,
189  Vector<double> & rhs_vector);
190 
194  template <int dim, int spacedim>
195  void
198  const DoFHandler<dim, spacedim> & dof_handler,
199  const Point<spacedim, double> & p,
200  const Point<dim, double> & direction,
201  Vector<double> & rhs_vector);
202 
211  template <int dim, int spacedim>
212  void
214  const Point<spacedim, double> & p,
215  const Point<dim, double> & direction,
216  Vector<double> & rhs_vector);
217  // @}
218 
223 
236  template <int dim, typename VectorType, int spacedim>
237  void
239  const DoFHandler<dim, spacedim> & dof,
240  const VectorType & fe_function,
244 
257  template <int dim, typename VectorType, int spacedim>
258  void
260  const Mapping<dim, spacedim> & mapping,
261  const DoFHandler<dim, spacedim> & dof,
262  const VectorType & fe_function,
266 
303  template <int dim, typename VectorType, int spacedim>
304  void
306  const VectorType & fe_function,
309 
327  template <int dim, typename VectorType, int spacedim>
328  void
330  const VectorType & fe_function,
333 
373  template <int dim, typename VectorType, int spacedim>
374  typename VectorType::value_type
376  const VectorType & fe_function,
378 
396  template <int dim, typename VectorType, int spacedim>
397  typename VectorType::value_type
399  const VectorType & fe_function,
401 
436  template <int dim, typename VectorType, int spacedim>
437  void
438  point_value(const Mapping<dim, spacedim> & mapping,
439  const DoFHandler<dim, spacedim> & dof,
440  const VectorType & fe_function,
443 
461  template <int dim, typename VectorType, int spacedim>
462  void
464  const DoFHandler<dim, spacedim> & dof,
465  const VectorType & fe_function,
468 
502  template <int dim, typename VectorType, int spacedim>
503  typename VectorType::value_type
504  point_value(const Mapping<dim, spacedim> & mapping,
505  const DoFHandler<dim, spacedim> &dof,
506  const VectorType & fe_function,
508 
526  template <int dim, typename VectorType, int spacedim>
527  typename VectorType::value_type
529  const DoFHandler<dim, spacedim> & dof,
530  const VectorType & fe_function,
533 } // namespace VectorTools
534 
536 
537 #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:395
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:394
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)