Reference documentation for deal.II version 9.5.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\}}\)
Loading...
Searching...
No Matches
vector_tools_point_value.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 1998 - 2023 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
24template <int dim, int spacedim>
26class DoFHandler;
27
28template <int dim, typename Number>
29class Function;
30template <int dim, int spacedim>
31class Mapping;
32
33template <int dim, typename Number>
35class Point;
36
37template <typename Number>
38class Vector;
39namespace hp
40{
41 template <int dim, int spacedim>
42 class MappingCollection;
43} // namespace hp
44
45namespace VectorTools
46{
136 template <int dim, int spacedim>
137 void
139 const DoFHandler<dim, spacedim> &dof_handler,
140 const Point<spacedim, double> & p,
141 Vector<double> & rhs_vector);
142
146 template <int dim, int spacedim>
147 void
150 const DoFHandler<dim, spacedim> & dof_handler,
151 const Point<spacedim, double> & p,
152 Vector<double> & rhs_vector);
153
162 template <int dim, int spacedim>
163 void
165 const Point<spacedim, double> & p,
166 Vector<double> & rhs_vector);
167
186 template <int dim, int spacedim>
187 void
189 const DoFHandler<dim, spacedim> &dof_handler,
190 const Point<spacedim, double> & p,
191 const Point<dim, double> & direction,
192 Vector<double> & rhs_vector);
193
197 template <int dim, int spacedim>
198 void
201 const DoFHandler<dim, spacedim> & dof_handler,
202 const Point<spacedim, double> & p,
203 const Point<dim, double> & direction,
204 Vector<double> & rhs_vector);
205
214 template <int dim, int spacedim>
215 void
217 const Point<spacedim, double> & p,
218 const Point<dim, double> & direction,
219 Vector<double> & rhs_vector);
241 template <int dim, typename VectorType, int spacedim>
244 const DoFHandler<dim, spacedim> & dof,
245 const VectorType & fe_function,
246 const Function<spacedim, typename VectorType::value_type> &exact_solution,
247 Vector<typename VectorType::value_type> & difference,
248 const Point<spacedim, double> & point);
249
264 template <int dim, typename VectorType, int spacedim>
265 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
267 const Mapping<dim, spacedim> & mapping,
268 const DoFHandler<dim, spacedim> & dof,
269 const VectorType & fe_function,
270 const Function<spacedim, typename VectorType::value_type> &exact_solution,
271 Vector<typename VectorType::value_type> & difference,
272 const Point<spacedim, double> & point);
273
312 template <int dim, typename VectorType, int spacedim>
313 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
314 void point_value(const DoFHandler<dim, spacedim> & dof,
315 const VectorType & fe_function,
316 const Point<spacedim, double> & point,
317 Vector<typename VectorType::value_type> &value);
318
338 template <int dim, typename VectorType, int spacedim>
339 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
340 void point_value(const DoFHandler<dim, spacedim> & dof,
341 const VectorType & fe_function,
342 const Point<spacedim, double> & point,
343 Vector<typename VectorType::value_type> &value);
344
386 template <int dim, typename VectorType, int spacedim>
387 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
388 typename VectorType::value_type
389 point_value(const DoFHandler<dim, spacedim> &dof,
390 const VectorType & fe_function,
391 const Point<spacedim, double> & point);
392
412 template <int dim, typename VectorType, int spacedim>
413 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
414 typename VectorType::value_type
415 point_value(const DoFHandler<dim, spacedim> &dof,
416 const VectorType & fe_function,
417 const Point<spacedim, double> & point);
418
455 template <int dim, typename VectorType, int spacedim>
456 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
457 void point_value(const Mapping<dim, spacedim> & mapping,
458 const DoFHandler<dim, spacedim> & dof,
459 const VectorType & fe_function,
460 const Point<spacedim, double> & point,
461 Vector<typename VectorType::value_type> &value);
462
482 template <int dim, typename VectorType, int spacedim>
483 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
484 void point_value(const hp::MappingCollection<dim, spacedim> &mapping,
485 const DoFHandler<dim, spacedim> & dof,
486 const VectorType & fe_function,
487 const Point<spacedim, double> & point,
488 Vector<typename VectorType::value_type> & value);
489
525 template <int dim, typename VectorType, int spacedim>
526 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
527 typename VectorType::value_type
528 point_value(const Mapping<dim, spacedim> & mapping,
529 const DoFHandler<dim, spacedim> &dof,
530 const VectorType & fe_function,
531 const Point<spacedim, double> & point);
532
552 template <int dim, typename VectorType, int spacedim>
553 DEAL_II_CXX20_REQUIRES(concepts::is_dealii_vector_type<VectorType>)
554 typename VectorType::value_type
555 point_value(const hp::MappingCollection<dim, spacedim> &mapping,
556 const DoFHandler<dim, spacedim> & dof,
557 const VectorType & fe_function,
558 const Point<spacedim, double> & point);
560} // namespace VectorTools
561
563
564#endif // dealii_vector_tools_point_value_h
Abstract base class for mapping classes.
Definition mapping.h:317
Definition point.h:112
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:472
#define DEAL_II_CXX20_REQUIRES(condition)
Definition config.h:160
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:473
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)
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)
void point_value(const DoFHandler< dim, spacedim > &dof, const VectorType &fe_function, const Point< spacedim, double > &point, Vector< typename VectorType::value_type > &value)
Definition hp.h:118