Reference documentation for deal.II version 9.2.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 
144  template <int dim, int spacedim>
145  void
147  const Point<spacedim, double> & p,
148  Vector<double> & rhs_vector);
149 
153  template <int dim, int spacedim>
154  void
157  const hp::DoFHandler<dim, spacedim> & dof_handler,
158  const Point<spacedim, double> & p,
159  Vector<double> & rhs_vector);
160 
167  template <int dim, int spacedim>
168  void
170  const Point<spacedim, double> & p,
171  Vector<double> & rhs_vector);
172 
191  template <int dim, int spacedim>
192  void
194  const DoFHandler<dim, spacedim> &dof_handler,
195  const Point<spacedim, double> & p,
196  const Point<dim, double> & direction,
197  Vector<double> & rhs_vector);
198 
203  template <int dim, int spacedim>
204  void
206  const Point<spacedim, double> & p,
207  const Point<dim, double> & direction,
208  Vector<double> & rhs_vector);
209 
213  template <int dim, int spacedim>
214  void
217  const hp::DoFHandler<dim, spacedim> & dof_handler,
218  const Point<spacedim, double> & p,
219  const Point<dim, double> & direction,
220  Vector<double> & rhs_vector);
221 
228  template <int dim, int spacedim>
229  void
231  const Point<spacedim, double> & p,
232  const Point<dim, double> & direction,
233  Vector<double> & rhs_vector);
234 
235  // @}
236 
241 
254  template <int dim, typename VectorType, int spacedim>
255  void
257  const DoFHandler<dim, spacedim> & dof,
258  const VectorType & fe_function,
262 
275  template <int dim, typename VectorType, int spacedim>
276  void
278  const Mapping<dim, spacedim> & mapping,
279  const DoFHandler<dim, spacedim> & dof,
280  const VectorType & fe_function,
284 
321  template <int dim, typename VectorType, int spacedim>
322  void
324  const VectorType & fe_function,
327 
345  template <int dim, typename VectorType, int spacedim>
346  void
348  const VectorType & fe_function,
351 
391  template <int dim, typename VectorType, int spacedim>
392  typename VectorType::value_type
394  const VectorType & fe_function,
396 
414  template <int dim, typename VectorType, int spacedim>
415  typename VectorType::value_type
417  const VectorType & fe_function,
419 
454  template <int dim, typename VectorType, int spacedim>
455  void
456  point_value(const Mapping<dim, spacedim> & mapping,
457  const DoFHandler<dim, spacedim> & dof,
458  const VectorType & fe_function,
461 
479  template <int dim, typename VectorType, int spacedim>
480  void
482  const hp::DoFHandler<dim, spacedim> & dof,
483  const VectorType & fe_function,
486 
520  template <int dim, typename VectorType, int spacedim>
521  typename VectorType::value_type
522  point_value(const Mapping<dim, spacedim> & mapping,
523  const DoFHandler<dim, spacedim> &dof,
524  const VectorType & fe_function,
526 
544  template <int dim, typename VectorType, int spacedim>
545  typename VectorType::value_type
547  const hp::DoFHandler<dim, spacedim> & dof,
548  const VectorType & fe_function,
551 } // namespace VectorTools
552 
554 
555 #endif // dealii_vector_tools_point_value_h
LinearAlgebraDealII::Vector
Vector< double > Vector
Definition: generic_linear_algebra.h:43
VectorType
VectorTools::point_value
void point_value(const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Point< spacedim, double > &point, Vector< typename VectorType::value_type > &value)
hp::DoFHandler
Definition: dof_handler.h:203
DoFHandler
Definition: dof_handler.h:205
OpenCASCADE::point
Point< spacedim > point(const gp_Pnt &p, const double tolerance=1e-10)
Definition: utilities.cc:188
VectorTools
Definition: vector_tools.h:303
Mapping
Abstract base class for mapping classes.
Definition: mapping.h:302
VectorTools::create_point_source_vector
void create_point_source_vector(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof_handler, const Point< spacedim, double > &p, Vector< double > &rhs_vector)
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
hp::MappingCollection
Definition: mapping_collection.h:56
value
static const bool value
Definition: dof_tools_constraints.cc:433
VectorTools::point_difference
void point_difference(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)
hp
Definition: hp.h:117
Point
Definition: point.h:111
config.h
Function
Definition: function.h:151
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Vector< double >