Reference documentation for deal.II version GIT c14369f203 2023-10-01 07:40:02+00:00
\(\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 - 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 
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 } // namespace VectorTools
55 
56 // ---------------------------- explicit instantiations --------------------
57 #include "vector_tools_rhs.inst"
58 
Abstract base class for mapping classes.
Definition: mapping.h:317
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:477
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:478
#define Assert(cond, exc)
Definition: exceptions.h:1616
static ::ExceptionBase & ExcImpossibleInDim(int arg1)
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 >())