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_rhs.cc
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 #include <deal.II/numerics/vector_tools_rhs.templates.h>
18 
20 
21 
22 namespace VectorTools
23 {
24  // separate implementation for 1D because otherwise we get linker errors since
25  // (hp::)FEFaceValues<1> is not compiled
26  template <>
27  void
29  const DoFHandler<1, 1> &,
30  const Quadrature<0> &,
31  const Function<1> &,
33  const std::set<types::boundary_id> &)
34  {
35  Assert(false, ExcImpossibleInDim(1));
36  }
37 
38 
39 
40  template <>
41  void
43  const DoFHandler<1, 2> &,
44  const Quadrature<0> &,
45  const Function<2> &,
47  const std::set<types::boundary_id> &)
48  {
49  Assert(false, ExcImpossibleInDim(1));
50  }
51 
52 
53 
54  template <>
55  void
57  const hp::DoFHandler<1, 1> &,
58  const hp::QCollection<0> &,
59  const Function<1> &,
61  const std::set<types::boundary_id> &)
62  {
63  Assert(false, ExcImpossibleInDim(1));
64  }
65 
66 
67 
68  template <>
69  void
71  const hp::DoFHandler<1, 2> &,
72  const hp::QCollection<0> &,
73  const Function<2> &,
75  const std::set<types::boundary_id> &)
76  {
77  Assert(false, ExcImpossibleInDim(1));
78  }
79 } // namespace VectorTools
80 
81 // ---------------------------- explicit instantiations --------------------
82 #include "vector_tools_rhs.inst"
83 
hp::QCollection
Definition: q_collection.h:48
hp::DoFHandler
Definition: dof_handler.h:203
DoFHandler
Definition: dof_handler.h:205
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
hp::MappingCollection
Definition: mapping_collection.h:56
Assert
#define Assert(cond, exc)
Definition: exceptions.h:1419
StandardExceptions::ExcImpossibleInDim
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
VectorTools::create_boundary_right_hand_side
void create_boundary_right_hand_side(const Mapping< dim, spacedim > &mapping, const DoFHandler< dim, spacedim > &dof, const Quadrature< dim - 1 > &q, const Function< spacedim, typename VectorType::value_type > &rhs, VectorType &rhs_vector, const std::set< types::boundary_id > &boundary_ids=std::set< types::boundary_id >())
Function
Definition: function.h:151
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
Quadrature
Definition: quadrature.h:85
Vector< double >