Fluid structure interaction suite
create_nitsche_rhs_with_exact_intersections.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2022 by Luca Heltai
4 //
5 // This file is part of the FSI-suite platform, based on the deal.II library.
6 //
7 // The FSI-suite platform is free software; you can use it, redistribute it,
8 // and/or modify it under the terms of the GNU Lesser General Public License as
9 // published by the Free Software Foundation; either version 3.0 of the License,
10 // or (at your option) any later version. The full text of the license can be
11 // found in the file LICENSE at the top level of the FSI-suite platform
12 // distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 
17 
18 #ifndef create_exact_rhs_h
19 #define create_exact_rhs_h
20 
21 #include <deal.II/base/config.h>
22 
23 #include <deal.II/base/function.h>
26 
28 
29 #include <deal.II/fe/mapping.h>
30 #include <deal.II/fe/mapping_q1.h>
31 
34 #include <deal.II/grid/tria.h>
35 
36 #include <deal.II/lac/vector.h>
37 
38 #include <set>
39 #include <tuple>
40 #include <vector>
41 
42 #include "compute_intersections.h"
43 
44 using namespace dealii;
45 namespace dealii
46 {
47  namespace NonMatching
48  {
59  template <int dim0, int dim1, int spacedim, typename VectorType>
60  void
63  const std::vector<std::tuple<
64  typename dealii::Triangulation<dim0, spacedim>::cell_iterator,
65  typename dealii::Triangulation<dim1, spacedim>::cell_iterator,
66  dealii::Quadrature<spacedim>>> &,
67  VectorType &vector,
72  const double penalty = 1.);
73  } // namespace NonMatching
74 } // namespace dealii
75 
76 #endif
void create_nitsche_rhs_with_exact_intersections(const DoFHandler< dim0, spacedim > &, const std::vector< std::tuple< typename Triangulation< dim0, spacedim >::cell_iterator, typename Triangulation< dim1, spacedim >::cell_iterator, Quadrature< spacedim >>> &, VectorType &vector, const AffineConstraints< typename VectorType::value_type > &, const Mapping< dim0, spacedim > &, const Function< spacedim, typename VectorType::value_type > &, const Function< spacedim, typename VectorType::value_type > &, const double penalty=1.)
Create the r.h.s.