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_constraints.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 
17 #ifndef dealii_vector_tools_constraints_h
18 #define dealii_vector_tools_constraints_h
19 
20 #include <deal.II/base/config.h>
21 
22 #include <map>
23 #include <set>
24 
26 
27 template <typename number>
28 class AffineConstraints;
29 template <int dim, int spacedim>
30 struct StaticMappingQ1;
31 template <int dim, typename Number>
32 class Function;
33 template <int dim, int spacedim>
34 class Mapping;
35 
36 
37 namespace VectorTools
38 {
43 
271  template <int dim, int spacedim, template <int, int> class DoFHandlerType>
272  void
274  const DoFHandlerType<dim, spacedim> &dof_handler,
275  const unsigned int first_vector_component,
276  const std::set<types::boundary_id> & boundary_ids,
277  const std::map<types::boundary_id, const Function<spacedim, double> *>
278  & function_map,
279  AffineConstraints<double> & constraints,
280  const Mapping<dim, spacedim> &mapping =
282 
295  template <int dim, int spacedim, template <int, int> class DoFHandlerType>
296  void
298  const DoFHandlerType<dim, spacedim> &dof_handler,
299  const unsigned int first_vector_component,
300  const std::set<types::boundary_id> & boundary_ids,
301  AffineConstraints<double> & constraints,
302  const Mapping<dim, spacedim> & mapping =
304 
321  template <int dim, int spacedim, template <int, int> class DoFHandlerType>
322  void
324  const DoFHandlerType<dim, spacedim> &dof_handler,
325  const unsigned int first_vector_component,
326  const std::set<types::boundary_id> & boundary_ids,
327  const std::map<types::boundary_id, const Function<spacedim, double> *>
328  & function_map,
329  AffineConstraints<double> & constraints,
330  const Mapping<dim, spacedim> &mapping =
332 
341  template <int dim, int spacedim, template <int, int> class DoFHandlerType>
342  void
344  const DoFHandlerType<dim, spacedim> &dof_handler,
345  const unsigned int first_vector_component,
346  const std::set<types::boundary_id> & boundary_ids,
347  AffineConstraints<double> & constraints,
348  const Mapping<dim, spacedim> & mapping =
350 
352 } // namespace VectorTools
353 
355 
356 #endif // dealii_vector_tools_constraints_h
VectorTools::compute_normal_flux_constraints
void compute_normal_flux_constraints(const DoFHandlerType< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
StaticMappingQ1
Definition: mapping_q1.h:88
VectorTools::compute_no_normal_flux_constraints
void compute_no_normal_flux_constraints(const DoFHandlerType< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
VectorTools::compute_nonzero_tangential_flux_constraints
void compute_nonzero_tangential_flux_constraints(const DoFHandlerType< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, const std::map< types::boundary_id, const Function< spacedim, double > * > &function_map, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)
VectorTools
Definition: vector_tools.h:303
Mapping
Abstract base class for mapping classes.
Definition: mapping.h:302
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
unsigned int
AffineConstraints
Definition: affine_constraints.h:180
config.h
Function
Definition: function.h:151
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
VectorTools::compute_nonzero_normal_flux_constraints
void compute_nonzero_normal_flux_constraints(const DoFHandlerType< dim, spacedim > &dof_handler, const unsigned int first_vector_component, const std::set< types::boundary_id > &boundary_ids, const std::map< types::boundary_id, const Function< spacedim, double > * > &function_map, AffineConstraints< double > &constraints, const Mapping< dim, spacedim > &mapping=StaticMappingQ1< dim, spacedim >::mapping)